Equipped amount: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 18: | Line 18: | ||
code1={{CodeSample| | code1={{CodeSample| | ||
title=Sample | title=Code Sample| | ||
description=Checks if you're safe to chat.| | description=Checks if you're safe to chat.| | ||
code= | code= |
Revision as of 05:21, 3 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()