File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
osrs/interfaces/mainscreen Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Main record to interact with the {ref}`Shop` interface.
4040 end;
4141
4242(*
43- ## Bank .FindItemBoundaries
43+ ## Shop .FindItemBoundaries
4444```pascal
4545function TRSShop.FindItemBoundaries(): TBoxArray;
4646```
@@ -238,15 +238,15 @@ begin
238238end;
239239
240240(*
241- ## Shop.BuyItemValue
241+ ## Shop.BuyAtValue
242242```pascal
243- function TRSShop.BuyItemValue (item: TRSItem; quantity: Integer; price: Integer): Boolean;
243+ function TRSShop.BuyAtValue (item: TRSItem; quantity: Integer; price: Integer): Boolean;
244244```
245245Attempts to buy the specified item from the shop at a specific price using the value option.
246246
247247Example:
248248```pascal
249- WriteLn Shop.BuyItemValue('Coins ', 10, 100);
249+ WriteLn Shop.BuyAtValue('Gold ore ', 10, 100);
250250```
251251*)
252252function TRSShop.BuyAtValue(item: TRSItem; quantity: Integer; price: Integer): Boolean;
@@ -306,7 +306,7 @@ Returns the price of an item in the shop by examining it.
306306
307307Example:
308308```pascal
309- WriteLn Shop.GetPrice('Coins ');
309+ WriteLn Shop.GetPrice('Gold ore ');
310310```
311311*)
312312function TRSShop.GetPrice(item: TRSItem): Integer;
You can’t perform that action at this time.
0 commit comments