Class PlayerHasRecordedItemWithHimCondition

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

@Dev(category=ITEMS_OWNED, label="Item?") public class PlayerHasRecordedItemWithHimCondition extends Object implements ChatCondition
Does the player carry the specified item?
See Also:
  • Constructor Details

    • PlayerHasRecordedItemWithHimCondition

      public PlayerHasRecordedItemWithHimCondition(String questName)
      Creates a new PlayerHasRecordedItemWithHimCondition.
      Parameters:
      questName - name of quest
    • PlayerHasRecordedItemWithHimCondition

      @Dev public PlayerHasRecordedItemWithHimCondition(String questName, int index)
      Creates a new PlayerHasRecordedItemWithHimCondition.
      Parameters:
      questName - name of quest
      index - index in the quest slot
  • Method Details