Class PlayerHasHarvestedNumberOfItemsCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.PlayerHasHarvestedNumberOfItemsCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

@Dev(category=ITEMS_LOOTED, label="Item?") public class PlayerHasHarvestedNumberOfItemsCondition extends Object implements ChatCondition
Checks if a player has harvested a minimum number of an item
Author:
madmetzger
  • Constructor Details

    • PlayerHasHarvestedNumberOfItemsCondition

      public PlayerHasHarvestedNumberOfItemsCondition(int number, String... items)
      Checks if a player has harvested a minimum number of an item
      Parameters:
      number - required number of each item
      items - list of items required
  • Method Details