Class QuestSmallerThanCondition

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

@Dev(category=IGNORE, label="State?") public class QuestSmallerThanCondition extends Object implements ChatCondition
Is this quest state smaller than the value in this condition?
  • Constructor Details

    • QuestSmallerThanCondition

      public QuestSmallerThanCondition(String questname, int state)
      Creates a new QuestSmallerThanCondition.
      Parameters:
      questname - name of quest-slot
      state - constant value to compare to
    • QuestSmallerThanCondition

      public QuestSmallerThanCondition(String questname, int index, int state)
      Creates a new QuestSmallerThanCondition.
      Parameters:
      questname - name of quest-slot
      index - index of sub state
      state - constant value to compare to
    • QuestSmallerThanCondition

      public QuestSmallerThanCondition(String questname, int index, int state, boolean acceptEmpty)
      Creates a new QuestSmallerThanCondition.
      Parameters:
      questname - name of quest-slot
      index - index of sub state
      state - constant value to compare to
      acceptEmpty - accept an empty quest state
  • Method Details