Class DropRecordedItemAction

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

@Dev(category=ITEMS_OWNED, label="Item-") public class DropRecordedItemAction extends Object implements ChatAction
Drops the specified item.
See Also:
StartRecordingRandomItemCollectionAction, SayRequiredItemAction, PlayerHasRecordedItemWithHimCondition
  • Constructor Details

    • DropRecordedItemAction

      public DropRecordedItemAction(String questname)
      Creates a new DropRecordedItemAction.
      Parameters:
      questname - name of quest to get the item and quantity from
    • DropRecordedItemAction

      @Dev public DropRecordedItemAction(String questname, int index)
      Creates a new DropRecordedItemAction.
      Parameters:
      questname - name of quest to get the item and quantity from
      index - index of sub state
  • Method Details