Class EquipItemAction

java.lang.Object
games.stendhal.server.entity.npc.action.EquipItemAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=ITEMS_OWNED, label="Item+") public class EquipItemAction extends Object implements ChatAction
Equips the specified item.
  • Constructor Details

    • EquipItemAction

      public EquipItemAction(String itemName)
      Creates a new EquipItemAction.
      Parameters:
      itemName - name of item
    • EquipItemAction

      public EquipItemAction(String itemName, int amount)
      Creates a new EquipItemAction.
      Parameters:
      itemName - name of item
      amount - for StackableItems
    • EquipItemAction

      @Dev public EquipItemAction(String itemName, int amount, boolean bind)
      Creates a new EquipItemAction.
      Parameters:
      itemName - name of item
      amount - for StackableItems
      bind - bind to player
  • Method Details