Difference between revisions of "Equipped amount"
Jump to navigation
Jump to search
imported>StDoodle m |
imported>StDoodle m |
||
Line 1: | Line 1: | ||
− | {{#vardefine:name|equipped_amount}} | + | {{ |
− | {{#vardefine:return_type|int}} | + | #vardefine:name|equipped_amount}}{{ |
+ | #vardefine:return_type|int}}{{ | ||
− | + | FunctionPage| | |
name={{#var:name}}| | name={{#var:name}}| | ||
function_category=Item Management| | function_category=Item Management| |
Revision as of 20:34, 8 March 2010
Function Syntax
- it is the item that will be checked for among your worn gear.
Returns the amount of a given item currently equipped on your character.
Code Sample
Checks if you're safe to chat.
if (equipped_amount($item[sword behind inappropriate prepositions]) == 1)
abort("You aren't safe to chat!");
See Also
closet_amount() | display_amount() | item_amount() | shop_amount() | stash_amount() | storage_amount()