Class TriggerIsNPCNameForUnstartedQuestCondition

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

@Dev(category=IGNORE) public class TriggerIsNPCNameForUnstartedQuestCondition extends Object implements ChatCondition
Was the trigger phrase a name of an NPC for an unstarted quest in the region? (Use with a ""-trigger in npc.add)
  • Constructor Details

    • TriggerIsNPCNameForUnstartedQuestCondition

      public TriggerIsNPCNameForUnstartedQuestCondition(String region)
      Creates a new TriggerIsNPCNameForUnstartedQuestCondition
      Parameters:
      region - region
    • TriggerIsNPCNameForUnstartedQuestCondition

      public TriggerIsNPCNameForUnstartedQuestCondition(List<String> regions)
      Creates a new TriggerIsNPCNameForUnstartedQuestCondition
      Parameters:
      regions - list of regions
  • Method Details