Class SayRequiredItemsFromCollectionAction

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

@Dev(category=ITEMS_OWNED, label="\"...\"") public class SayRequiredItemsFromCollectionAction extends Object implements ChatAction
States the name of the items missing from a quest slot with items like item=amount;item2=amount2;item3=amount3
See Also:
CollectRequestedItemsAction
  • Constructor Details

    • SayRequiredItemsFromCollectionAction

      public SayRequiredItemsFromCollectionAction(String questname, String message)
      Creates a new SayRequiredItemssFromCollectionAction.
      Parameters:
      questname - name of quest-slot to check
      message - message with substitution [items] for the list of items
    • SayRequiredItemsFromCollectionAction

      public SayRequiredItemsFromCollectionAction(String questname, int index, String message)
      Creates a new SayRequiredItemssFromCollectionAction.
      Parameters:
      questname - name of quest-slot to check
      index - index of sub state
      message - message with substitution [items] for the list of items
    • SayRequiredItemsFromCollectionAction

      public SayRequiredItemsFromCollectionAction(String questname, String message, boolean commaString)
    • SayRequiredItemsFromCollectionAction

      public SayRequiredItemsFromCollectionAction(String questname, int index, String message, boolean commaString)
  • Method Details