Skip to content

Commit

Permalink
fix: add priff furnace
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Oct 22, 2023
1 parent 0c110b9 commit 3df725c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions osr/basescript.simba
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,12 @@ end;
BaseBankScript.DepositItems
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. pascal::
function TBaseBankScript.DepositItem(out items: array of TRSBankItem; isBank, isDepositBox: Boolean = False): Boolean;
function TBaseBankScript.DepositItem(out items: TRSBankItemArray; isBank, isDepositBox: Boolean = False): Boolean;
function TBaseBankScript.DepositItems(item: TRSItem; isBank, isDepositBox: Boolean = False): Boolean; overload;

Deposits **item** in the bank through either the bank or deposit box depending on which one is open.
*)
function TBaseBankScript.DepositItems(out items: array of TRSBankItem): Boolean; static;
function TBaseBankScript.DepositItems(out items: TRSBankItemArray): Boolean; static;
var
item: TRSBankItem;
isBank, isDepositBox: Boolean;
Expand Down
11 changes: 10 additions & 1 deletion osr/walker/objects/rsobjects.simba
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{$ENDIF}

type
TRSObjects = record(TSRLBaseRecord)
TRSObjects = record
Banks: PRSObjectArray;
DepositBoxes: PRSObjectArray;

Expand Down Expand Up @@ -119,6 +119,7 @@ type
//Gates
WoodenGate1, SteelGate1,

PrifddinasFurnace,
//Tutorial Island
TutorialRange, TutorialFurnace: TRSObject;
end;
Expand Down Expand Up @@ -283,6 +284,14 @@ begin
Finder.ColorClusters += [CTS2(4019574, 5, 0.14, 0.25), CTS2(7501954, 8, 0.89, 0.54), 30];
end;

with Self.PrifddinasFurnace do
begin
Setup(8, [[4002, 2337]]);
Setup(['Furnace']);
Finder.Colors += CTS2(1776416, 1, 0.01, 0.01);
Finder.Colors += CTS2(3169475, 32, 0.13, 1.26);
end;

with Self.FaladorFurnace do
begin
Setup(3, 7, [[7300, 2970]]);
Expand Down

0 comments on commit 3df725c

Please sign in to comment.