Class AddItemToCollectionAction

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

public class AddItemToCollectionAction extends Object implements ChatAction
Adds an item to a player's quest slot string
Author:
AntumDeluge
  • Constructor Details

    • AddItemToCollectionAction

      public AddItemToCollectionAction(String quest, String item, int quantity)
      Creates a new AddItemToCollectionAction
      Parameters:
      quest - Quest slot name
      item - Item name
      quantity - Item quantity
    • AddItemToCollectionAction

      public AddItemToCollectionAction(String quest, int index, String item, int quantity)
      Creates a new StartItemsCollectionWithLimitsAction
      Parameters:
      quest - Quest slot name
      index - index of sub state
      item - Item name
      quantity - Item quantity
  • Method Details