Uses of Interface
games.stendhal.server.entity.npc.fsm.PreTransitionCondition
Packages that use PreTransitionCondition
Package
Description
This package contains conditions frequently used in quests.
Interactive scripts that high level admins can invoke.
-
Uses of PreTransitionCondition in games.stendhal.server.core.rp.achievement.condition
Classes in games.stendhal.server.core.rp.achievement.condition that implement PreTransitionConditionModifier and TypeClassDescriptionclassChecks if a player has bought a number of items.classDid the player ever kill a rare creature?classDid the player kill all creatures, shared? (excluding rare)classDid the player kill all creatures, solo? (excluding rare)classWere this many quests completed?classAre all the quests in this region completed?classWas a quest with this prefix completed?classChecks if a player has sold a number of items. -
Uses of PreTransitionCondition in games.stendhal.server.entity.npc
Subinterfaces of PreTransitionCondition in games.stendhal.server.entity.npc -
Uses of PreTransitionCondition in games.stendhal.server.entity.npc.condition
Classes in games.stendhal.server.entity.npc.condition that implement PreTransitionConditionModifier and TypeClassDescriptionclassclassIs the player an admin?classIs the player's age greater than the specified age?classIs the player's age less than the specified age?classThis condition returns always false.classThis condition returns always true.classIs constructed from a group of conditions.classChecks if there is room for a player within a restricted area.classChecks whether something is available.classChecks the current day light phase.classIs player emoting to npc?classChecks if an optional subject in the user input matches the NPC name.classCondition to check if a player has earned an amount of money by selling to NPCs.classclassCondition to check if a player has spent an amount of money by buying from NPCs.classclassHas the player killed at least one of each specified creature, with or without the help of any other player.classChecks the records of kills.classChecking sum of quest creatures kills in player's quest and kills slots..classChecking if player's quest slot need update with newer creatures and update it if required Quest string should have in proper quest index string like "creature1,w,x,y,z,creature2,a,b,c,d,creature3,..." Where creature1, creature2 - names of creatures to kill; w,x and a,b - number of creatures to kill, solo and shared; y,z and c,d - number of creatures killed by player before starting this quest, both solo and shared.classIs the player's level greater than the specified one?classIs the player's level smaller than the specified one?classcheck whether a player has killed at least the specified number of creatures of any kindclassIs the player naked? (e.classAn inverse condition.classAn or condition.classCan this outfit be worn with normal clothes ?classclassCan the player equip the specified item? (has enough space in his bag or other slots)classDid the player get at least this number of items from the wishing well?classhas the player completed the specified number of the specified achievements?classChecks to see if the player has a gate key that matches the identifier of the raiser (usually the gate but can be any entity with the "identifier" attribute)classChecks if a player has harvested a minimum number of an itemclassDoes the player carry the specified item with the specified itemdata?classCheck if the Player has equipped an item in a specified slotclassDoes the player carry the specified item?classChecks if a player has killed the specified creature at least the specified number of times This can be with or without the help of other players.classDoes the player have a pet or sheep?classDoes the player carry the specified item?classChecks whether the player has a shield equippedclassIs there a storable entity in the specified list that has name of the current player as identifier?classIs the player in the specified area?classCheck if a player is a good boy, e.classDoes the player wear (at least a part of) the specified outfit?classChecks if a player has looted a minimum number of item(s).classCondition to check if a player's mana is greater than a numberclassChecks if a player has mined a given number of itemsclassChecks if the player is next to an entity.classDoes the player owns a item (including the bank)?classChecks if a player has produced a given number of itemsclassCompares an integer value attribution.classChecks if player has visited a list of certain zonesclassChecks if player has visited certain zones in a regionclassWas this quest started but not completed?classWas this quest completed?classIs this quest in this state?classIs this quest either unknown, completed or rejected?classIs this quest not completed?classIs this quest not in this state?classWas this quest not started yet?classChecks if a quest is registered in the world.classIs this quest state smaller than the value in this condition?classWas this quest at least started? See QuestActiveCondition to check that it was started but not completed.classCondition to check if the value in a quest slot is greater than an expected value.classDoes the quest state start with the specified String?classChecks whether the sentence has an error.classclassIs the specified system property set?classDoes this trigger contain a number?classDid this trigger have additional parameters?classHas 'delay' time passed since the quest was last done? If the quest slot isn't in the expected format, returns trueclassCheck if current system time reached a timestamp stored in a quest slot.classchecks whether a transition may be executed, e.classWas one of these trigger phrases said exactly ignoring case? (Use with a ""-trigger in npc.add)classWas one of theses trigger phrases said? (Use with a ""-trigger in npc.add)classWas the trigger phrase a name of an NPC for an unstarted quest in the region? (Use with a ""-trigger in npc.add)classWas a trigger phrase said, which is a produced item of this class? (Use with a ""-trigger in npc.add)classwas the content of a quest slot said? -
Uses of PreTransitionCondition in games.stendhal.server.entity.npc.fsm
Methods in games.stendhal.server.entity.npc.fsm that return PreTransitionConditionMethods in games.stendhal.server.entity.npc.fsm with parameters of type PreTransitionConditionModifier and TypeMethodDescriptionbooleanTransition.matchesNormalizedWithCondition(ConversationStates state, Expression trigger, PreTransitionCondition condition) Checks for normalized match with the given state/trigger/condition combination.booleanTransition.matchesWithCondition(ConversationStates state, Expression trigger, PreTransitionCondition condition) Checks for match with the given state/trigger/condition combination.Constructors in games.stendhal.server.entity.npc.fsm with parameters of type PreTransitionConditionModifierConstructorDescriptionTransition(ConversationStates currentState, Collection<Expression> triggers, PreTransitionCondition condition, boolean secondary, ConversationStates nextState, String reply, PostTransitionAction action) Creates a new transition.Transition(ConversationStates currentState, Collection<Expression> triggers, PreTransitionCondition condition, boolean secondary, ConversationStates nextState, String reply, PostTransitionAction action, String label) Creates a new transition. -
Uses of PreTransitionCondition in games.stendhal.server.maps.quests
Classes in games.stendhal.server.maps.quests that implement PreTransitionConditionModifier and TypeClassDescriptionclassdoes the sentence look like a possible coded message?static classis scuba diving possible? -
Uses of PreTransitionCondition in games.stendhal.server.maps.quests.captureflag
Classes in games.stendhal.server.maps.quests.captureflag that implement PreTransitionCondition -
Uses of PreTransitionCondition in games.stendhal.server.maps.quests.piedpiper
Classes in games.stendhal.server.maps.quests.piedpiper that implement PreTransitionCondition -
Uses of PreTransitionCondition in games.stendhal.server.maps.semos.jail
Classes in games.stendhal.server.maps.semos.jail that implement PreTransitionConditionModifier and TypeClassDescriptionstatic classIs the player speaking to us in jail?static classIs the player speaking to us not in jail? -
Uses of PreTransitionCondition in games.stendhal.server.maps.semos.tavern.market
Classes in games.stendhal.server.maps.semos.tavern.market that implement PreTransitionConditionModifier and TypeClassDescriptionclassCheck if a player has collectable earnings in the market managed by the manager NPC -
Uses of PreTransitionCondition in games.stendhal.server.script
Classes in games.stendhal.server.script that implement PreTransitionConditionModifier and TypeClassDescriptionprotected classDo we accept bets at the moment?protected classDo we NOT accept bets at the moment?