Class QuestRegisteredCondition

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

public class QuestRegisteredCondition extends Object implements ChatCondition
Checks if a quest is registered in the world.
  • Constructor Details

    • QuestRegisteredCondition

      public QuestRegisteredCondition(String questSlot)
      Creates a new QuestRegisteredCondition using a quest slot.
      Parameters:
      questSlot - Slot string.
    • QuestRegisteredCondition

      public QuestRegisteredCondition(String questSlot, boolean isSlotName)
      Creates a new QuestRegisteredCondition using either a quest slot or name.
      Parameters:
      questSlot - Slot or name string.
      isSlotName - If true, checks against registered quests' slot strings, otherwise checks against their name string.
  • Method Details