227227 leprechaunPt : TPoint;
228228 lepboxes : TBoxArray;
229229 invyboxes : TBoxArray;
230- compostArray : TStringArray;
231- compostItem : TRSItem;
232230 end;
233231
234232 TIniFConfig = record
@@ -2063,6 +2061,8 @@ end;
20632061
20642062procedure TFarmRun.CompostPatch();
20652063var
2064+ compostArray : TStringArray := ['Compost', 'Supercompost', 'Ultracompost', 'Bottomless compost bucket', ''];
2065+ compostItem : TRSItem := compostArray[Self.CompostMethod];
20662066 slot, attempts : Int32;
20672067 T : TCountdown;
20682068begin
@@ -2172,6 +2172,8 @@ end;
21722172procedure TFarmRun.Plant();
21732173var
21742174 slot, attempts, seedCount : Int32;
2175+ compostArray : TStringArray := ['Compost', 'Supercompost', 'Ultracompost', 'Bottomless compost bucket', ''];
2176+ compostItem : TRSItem := compostArray[Self.CompostMethod];
21752177begin
21762178 if not RSClient.IsLoggedIn then
21772179 Exit;
@@ -3510,9 +3512,6 @@ begin
35103512 [650, 340, 730, 370],
35113513 [ 0, 0, 0, 0]];
35123514
3513- compostArray := ['Compost', 'Supercompost', 'Ultracompost', 'Bottomless compost bucket', ''];
3514- compostItem := compostArray[Self.CompostMethod];
3515-
35163515 Self.InactivityTimer.Init(6*ONE_MINUTE);
35173516
35183517 if Self.StartWithRun then
@@ -3533,6 +3532,8 @@ var
35333532 state : EPatchState;
35343533 failedCount : Int32;
35353534 AntibanMinZ, AntibanMaxZ: Int32;
3535+ compostArray : TStringArray := ['Compost', 'Supercompost', 'Ultracompost', 'Bottomless compost bucket', ''];
3536+ compostItem : TRSItem := compostArray[Self.CompostMethod];
35363537begin
35373538 if not RSClient.IsLoggedIn then
35383539 Login.LoginPlayer;
0 commit comments