Class StartItemsCollectionWithLimitAction

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

public class StartItemsCollectionWithLimitAction extends Object implements ChatAction
For quests that use collections with random quantities for each item.
Author:
AntumDeluge
  • Constructor Details

    • StartItemsCollectionWithLimitAction

      public StartItemsCollectionWithLimitAction(String quest, List<String> items, int limit)
      Creates a new StartItemsCollectionWithLimitsAction.
      Parameters:
      quest - Quest slot name
      items - List of items required
      limit - The sum of all items
    • StartItemsCollectionWithLimitAction

      public StartItemsCollectionWithLimitAction(String quest, int index, List<String> items, int limit)
      Creates a new StartItemsCollectionWithLimitsAction.
      Parameters:
      quest - Quest slot name
      index - index of sub state
      items - List of items required
      limit - The sum of all items
  • Method Details