Handles executing an item action.
boolean equipment(Player player, Item item, int opcode)
boolean drop(Player player, Item item)
boolean itemOnItem(Player player, Item first, Item second)
boolean inventory(Player player, Item item, int opcode)
The execution method of the action.
Handles execution of the item actions.
static boolean itemOnItem(Player player, Item first, Item second)
static void declare()
Declares all the item actions.
static boolean equipment(Player player, Item item, int opcode)
static boolean drop(Player player, Item item)
static boolean inventory(Player player, Item item, int opcode)
static HashMap< Integer, ItemAction > ACTIONS
Map of all the item actions.
static final short CHARGED_RING
static final short UNCHARGED_RING
static final short CRAWS_CHARGED_ID
static final short CRAWS_UNCHARGED_ID
static final short THAMMARONS_SCEPTRE_UNCHARGED_ID
static final short THAMMARONS_SCEPTRE_CHARGED_ID
static final short VIGGORAS_CHAINMACE_UNCHARGED_ID
static final short VIGGORAS_CHAINMACE_CHARGED_ID