Class CollectRequestedItemsAction

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

@Dev(category=OTHER, label="Item-") public final class CollectRequestedItemsAction extends Object implements ChatAction
handles item lists a player has to bring for a quest
Author:
madmetzger
See Also:
SayRequiredItemsFromCollectionAction
  • Constructor Details

    • CollectRequestedItemsAction

      public CollectRequestedItemsAction(String itemName, String quest, String questionForMore, String alreadyBrought, ChatAction completionAction, ConversationStates stateAfterCompletion)
      create a new CollectRequestedItemsAction
      Parameters:
      itemName - name of the item to process
      quest - the quest to deal with
      questionForMore - How shall the affected NPC ask for more brought items?
      alreadyBrought - What shall the affected NPC say about an already brought item?
      completionAction - action to execute after the complete list was brought
      stateAfterCompletion - state to change to after completion
  • Method Details