Equipped amount
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 && have_effect($effect[Wanged]) == 0)
// Sword doesn't fire if you have this particular effect.
abort("You aren't safe to chat!");