Shop
Contains methods for interacting with and inspecting the common shop interface. An example is a general store.
Types
Functions
Link copied to clipboard
Attempts to buy the specified quantity of the first item whose id matches the specified id
Attempts to buy the specified quantity of the first item whose name equals one of the specified names
Attempts to buy the specified quantity of the first item which matches the specified predicate
Link copied to clipboard
Checks if the shop has any item with any of the specified ids
Checks if the shop has any item whose name contains any of the specified names
Checks if the shop has any item that matches the specified filter
Link copied to clipboard
Gets all the items listed in the shop
Gets all the items listed in the shop with the specified ids
Gets all the items listed in the shop that have exactly the specified names
Gets all the items listed in the shop that match the specified predicate
Link copied to clipboard
Gets the total stack sum of all items with the specified ids
Gets the total stack sum of all items whose name contains any of the specified names
Gets the total stack sum of all items matching the specified filter
Link copied to clipboard
Gets the first item listed in the shop that has any of the specified ids
Gets the first item listed in the shop that has exactly any of the specified names
Gets the first item listed in the shop that matches the specified predicate
Link copied to clipboard
Attempts to sell the specified quantity of the first item whose id matches the specified id
Attempts to sell the specified quantity of the first item whose name equals one of the specified names
Attempts to sell the specified quantity of the first item which matches the specified predicate