Uses of Interface
games.stendhal.server.entity.npc.fsm.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
Modifier and TypeClassDescriptionclass
Checks if a player has bought a number of items.class
Did the player ever kill a rare creature?class
Did the player kill all creatures, shared? (excluding rare)class
Did the player kill all creatures, solo? (excluding rare)class
Were this many quests completed?class
Are all the quests in this region completed?class
Was a quest with this prefix completed?class
Checks if a player has sold a number of items. -
Uses of PreTransitionCondition in games.stendhal.server.entity.npc
-
Uses of PreTransitionCondition in games.stendhal.server.entity.npc.condition
Modifier and TypeClassDescriptionclass
Is the player an admin?class
Is the player's age greater than the specified age?class
Is the player's age less than the specified age?class
This condition returns always false.class
This condition returns always true.class
Is constructed from a group of conditions.class
Checks if there is room for a player within a restricted area.class
Checks whether something is available.class
Checks the current day light phase.class
Is player emoting to npc?class
Checks if an optional subject in the user input matches the NPC name.class
Has the player killed at least one of each specified creature, with or without the help of any other player.class
Checks the records of kills.class
Checking sum of quest creatures kills in player's quest and kills slots..class
Checking 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.class
Is the player's level greater than the specified one?class
Is the player's level smaller than the specified one?class
check whether a player has killed at least the specified number of creatures of any kindclass
Is the player naked? (e.class
An inverse condition.class
An or condition.class
Can this outfit be worn with normal clothes ?class
Can the player equip the specified item? (has enough space in his bag or other slots)class
Did the player get at least this number of items from the wishing well?class
has the player completed the specified number of the specified achievements?class
Checks 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)class
Checks if a player has harvested a minimum number of an itemclass
Does the player carry the specified item with the specified infostring?class
Check if the Player has equipped an item in a specified slotclass
Does the player carry the specified item?class
Checks 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.class
Does the player have a pet or sheep?class
Does the player carry the specified item?class
Checks whether the player has a shield equippedclass
Is there a storable entity in the specified list that has name of the current player as identifier?class
Is the player in the specified area?class
Check if a player is a good boy, e.class
Does the player wear (at least a part of) the specified outfit?class
Checks if a player has looted a minimum number of item(s).class
Condition to check if a player's mana is greater than a numberclass
Checks if a player has mined a given number of itemsclass
Checks if the player is next to an entity.class
Does the player owns a item (including the bank)?class
Checks if a player has produced a given number of itemsclass
Compares an integer value attribution.class
Checks if player has visited a list of certain zonesclass
Checks if player has visited certain zones in a regionclass
Was this quest started but not completed?class
Was this quest completed?class
Is this quest in this state?class
Is this quest either unknown, completed or rejected?class
Is this quest not completed?class
Is this quest not in this state?class
Was this quest not started yet?class
Checks if a quest is registered in the world.class
Is this quest state smaller than the value in this condition?class
Was this quest at least started? See QuestActiveCondition to check that it was started but not completed.class
Condition to check if the value in a quest slot is greater than an expected value.class
Does the quest state start with the specified String?class
Checks whether the sentence has an error.class
class
Is the specified system property set?class
Does this trigger contain a number?class
Did this trigger have additional parameters?class
Has 'delay' time passed since the quest was last done? If the quest slot isn't in the expected format, returns trueclass
Check if current system time reached a timestamp stored in a quest slot.class
Was one of these trigger phrases said exactly ignoring case? (Use with a ""-trigger in npc.add)class
Was one of theses trigger phrases said? (Use with a ""-trigger in npc.add)class
Was the trigger phrase a name of an NPC for an unstarted quest in the region? (Use with a ""-trigger in npc.add)class
Was a trigger phrase said, which is a produced item of this class? (Use with a ""-trigger in npc.add)class
was the content of a quest slot said? -
Uses of PreTransitionCondition in games.stendhal.server.entity.npc.fsm
Modifier and TypeMethodDescriptionboolean
Transition.matchesNormalizedWithCondition(ConversationStates state, Expression trigger, PreTransitionCondition condition)
Checks for normalized match with the given state/trigger/condition combination.boolean
Transition.matchesWithCondition(ConversationStates state, Expression trigger, PreTransitionCondition condition)
Checks for match with the given state/trigger/condition combination.ModifierConstructorDescriptionTransition(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
Modifier and TypeClassDescriptionclass
does the sentence look like a possible coded message?static class
is scuba diving possible? -
Uses of PreTransitionCondition in games.stendhal.server.maps.quests.captureflag
-
Uses of PreTransitionCondition in games.stendhal.server.maps.quests.piedpiper
-
Uses of PreTransitionCondition in games.stendhal.server.maps.semos.jail
Modifier and TypeClassDescriptionstatic class
Is the player speaking to us in jail?static class
Is the player speaking to us not in jail? -
Uses of PreTransitionCondition in games.stendhal.server.maps.semos.tavern.market
Modifier and TypeClassDescriptionclass
Check if a player has collectable earnings in the market managed by the manager NPC -
Uses of PreTransitionCondition in games.stendhal.server.script
Modifier and TypeClassDescriptionprotected class
Do we accept bets at the moment?protected class
Do we NOT accept bets at the moment?