FutureProg functions
countaccessiblecurrency
Number countaccessiblecurrency(Character character, Currency currency)
Contexts: computer function, computer program, standard futureprog
Counts coins of a currency found on a character, inside an item, or in a room while respecting normal get-access limits such as closed containers. Errors if the target or currency is null.
character: The character whose accessible worn, held, and carried items should be searched.
currency: The currency definition whose coins should be counted.
Number countaccessiblecurrency(Item item, Currency currency)
Contexts: computer function, computer program, standard futureprog
Counts coins of a currency found on a character, inside an item, or in a room while respecting normal get-access limits such as closed containers. Errors if the target or currency is null.
item: The item to search, skipping closed containers that normal get rules would block.
currency: The currency definition whose coins should be counted.
Number countaccessiblecurrency(Location location, Currency currency)
Contexts: computer function, computer program, standard futureprog
Counts coins of a currency found on a character, inside an item, or in a room while respecting normal get-access limits such as closed containers. Errors if the target or currency is null.
location: The room whose accessible loose items should be searched.
currency: The currency definition whose coins should be counted.
Contexts: computer function, computer program, standard futureprog
Counts coins of a currency found on a character, inside an item, or in a room while respecting normal get-access limits such as closed containers. Errors if the target or currency is null.
character: The character whose accessible worn, held, and carried items should be searched.
currency: The currency definition whose coins should be counted.
Number countaccessiblecurrency(Item item, Currency currency)
Contexts: computer function, computer program, standard futureprog
Counts coins of a currency found on a character, inside an item, or in a room while respecting normal get-access limits such as closed containers. Errors if the target or currency is null.
item: The item to search, skipping closed containers that normal get rules would block.
currency: The currency definition whose coins should be counted.
Number countaccessiblecurrency(Location location, Currency currency)
Contexts: computer function, computer program, standard futureprog
Counts coins of a currency found on a character, inside an item, or in a room while respecting normal get-access limits such as closed containers. Errors if the target or currency is null.
location: The room whose accessible loose items should be searched.
currency: The currency definition whose coins should be counted.