Uses of Interface
games.stendhal.server.entity.npc.ChatCondition
Packages that use ChatCondition
Package
Description
Lua scripting interface.
This package contains conditions frequently used in quests.
Interactive scripts that high level admins can invoke.
-
Uses of ChatCondition in games.stendhal.server.core.rp.achievement
Constructors in games.stendhal.server.core.rp.achievement with parameters of type ChatConditionModifierConstructorDescriptionAchievement(String identifier, String title, Category category, String description, int baseScore, boolean active, ChatCondition condition) create a new achievement -
Uses of ChatCondition in games.stendhal.server.core.rp.achievement.condition
Classes in games.stendhal.server.core.rp.achievement.condition that implement ChatConditionModifier 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 ChatCondition in games.stendhal.server.core.rp.achievement.factory
Methods in games.stendhal.server.core.rp.achievement.factory with parameters of type ChatConditionModifier and TypeMethodDescriptionprotected AchievementAbstractAchievementFactory.createAchievement(String identifier, String title, String description, int score, boolean active, ChatCondition condition) Creates a single achievement -
Uses of ChatCondition in games.stendhal.server.core.scripting.lua
Methods in games.stendhal.server.core.scripting.lua that return ChatConditionModifier and TypeMethodDescriptionCreates an instance of a ChatCondition from the class name string.LuaConditionHelper.create(org.luaj.vm2.LuaFunction lf) Creates a custom ChatCondition.Methods in games.stendhal.server.core.scripting.lua with parameters of type ChatConditionModifier and TypeMethodDescriptionLuaConditionHelper.notC(ChatCondition condition) Creates a NotCondition instance.LuaConditionHelper.notCondition(ChatCondition condition) Creates a NotCondition instance. -
Uses of ChatCondition in games.stendhal.server.entity.mapstuff.area
Methods in games.stendhal.server.entity.mapstuff.area that return ChatConditionModifier and TypeMethodDescriptionConditionAndActionArea.getCondition()protected ChatConditionConditionAndActionAreaFactory.getCondition(ConfigurableFactoryContext ctx) Methods in games.stendhal.server.entity.mapstuff.area with parameters of type ChatConditionModifier and TypeMethodDescriptionvoidConditionAndActionArea.setCondition(ChatCondition condition) -
Uses of ChatCondition in games.stendhal.server.entity.mapstuff.block
Methods in games.stendhal.server.entity.mapstuff.block with parameters of type ChatConditionModifier and TypeMethodDescriptionvoidBlockTarget.setCondition(ChatCondition condition) Set the ChatCondition to check -
Uses of ChatCondition in games.stendhal.server.entity.mapstuff.portal
Methods in games.stendhal.server.entity.mapstuff.portal that return ChatConditionModifier and TypeMethodDescriptionprotected ChatConditionConditionAndActionPortalFactory.getCondition(ConfigurableFactoryContext ctx) Extract the quest name from a context.Constructors in games.stendhal.server.entity.mapstuff.portal with parameters of type ChatConditionModifierConstructorDescriptionConditionAndActionPortal(ChatCondition condition, ChatAction action) Creates a ConditionCheckingPortal.ConditionAndActionPortal(ChatCondition condition, String rejectMessage, ChatAction action) Creates a ConditionCheckingPortal with reject message.Gate(String orientation, String image, ChatCondition condition) Create a new gate. -
Uses of ChatCondition in games.stendhal.server.entity.npc
Methods in games.stendhal.server.entity.npc that return ChatConditionModifier and TypeMethodDescriptionConditionBuilder.build()Build the ChatCondition represented by this builder.Methods in games.stendhal.server.entity.npc with parameters of type ChatConditionModifier and TypeMethodDescriptionvoidSpeakerNPC.add(ConversationStates[] states, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates[] states, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new transition to the FSM.voidSpeakerNPC.add(ConversationStates state, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new transition to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new set of transitions to the FSM.voidSpeakerNPC.addInitChatMessage(ChatCondition condition, ChatAction action) voidSpeakerNPC.addMatching(ConversationStates state, String trigger, ExpressionMatcher matcher, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new transition with explicit ExpressionMatcher to the FSM.voidSpeakerNPC.registerPrioritizedGreetingTransition(ChatCondition condition, Object owner) marks a greeting transition as priority over other greeting conditionsConstructors in games.stendhal.server.entity.npc with parameters of type ChatConditionModifierConstructorDescriptionConditionBuilder(ChatCondition condition) Create a new ConditionBuilder. -
Uses of ChatCondition in games.stendhal.server.entity.npc.action
Constructors in games.stendhal.server.entity.npc.action with parameters of type ChatConditionModifierConstructorDescriptionConditionalAction(ChatCondition condition, ChatAction action) Creates a new ConditionalAction. -
Uses of ChatCondition in games.stendhal.server.entity.npc.behaviour.impl
Methods in games.stendhal.server.entity.npc.behaviour.impl that return ChatConditionModifier and TypeMethodDescriptionBehaviour.getTransactionCondition()a chat condition that checks whether transactions are possible at allQuestCompletedBuyerBehaviour.getTransactionCondition()QuestCompletedSellerBehaviour.getTransactionCondition()RepairerBehaviour.getTransactionCondition()Method parameters in games.stendhal.server.entity.npc.behaviour.impl with type arguments of type ChatConditionModifier and TypeMethodDescriptionvoidMerchantBehaviour.addConditions(SpeakerNPC merchant, Map<String, ChatCondition> conditions) Adds a list of items that are dealt only if a condition is met. -
Uses of ChatCondition in games.stendhal.server.entity.npc.condition
Classes in games.stendhal.server.entity.npc.condition that implement ChatConditionModifier 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?Constructors in games.stendhal.server.entity.npc.condition with parameters of type ChatConditionModifierConstructorDescriptionAndCondition(ChatCondition... condition) Creates a new "and"-condition.NotCondition(ChatCondition condition) Creates a new "not"-condition.OrCondition(ChatCondition... condition) Creates a new "or"-condition.Constructor parameters in games.stendhal.server.entity.npc.condition with type arguments of type ChatConditionModifierConstructorDescriptionAndCondition(Iterable<ChatCondition> conditions) Creates a new "and"-condition.AndCondition(List<ChatCondition> conditions) Creates a new "and"-condition.OrCondition(List<ChatCondition> conditions) Creates a new "or"-condition. -
Uses of ChatCondition in games.stendhal.server.entity.npc.fsm
Methods in games.stendhal.server.entity.npc.fsm with parameters of type ChatConditionModifier and TypeMethodDescriptionvoidEngine.add(ConversationStates state, String triggerString, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new transition to FSM.voidEngine.add(ConversationStates state, String triggerString, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new transition to FSM.voidEngine.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidEngine.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new set of transitions to the FSM.voidEngine.add(Collection<Expression> triggerExpressions, ConversationStates state, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidEngine.add(Collection<Expression> triggerExpressions, ConversationStates state, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new set of transitions to the FSM.voidEngine.addMatching(ConversationStates state, String triggerString, ExpressionMatcher matcher, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new transition with explicit ExpressionMatcher to FSM.voidEngine.addMatching(ConversationStates state, Collection<String> triggerStrings, ExpressionMatcher matcher, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM. -
Uses of ChatCondition in games.stendhal.server.entity.npc.quest
Methods in games.stendhal.server.entity.npc.quest with parameters of type ChatConditionModifier and TypeMethodDescriptionvoidDeliverItemQuestOfferBuilder.build(SpeakerNPC npc, String questSlot, QuestTaskBuilder task, ChatCondition questCompletedCondition, int repeatableAfterMinutes) voidQuestOfferBuilder.build(SpeakerNPC npc, String questSlot, QuestTaskBuilder task, ChatCondition questCompletedCondition, int repeatableAfterMinutes) -
Uses of ChatCondition in games.stendhal.server.maps.quests
Classes in games.stendhal.server.maps.quests that implement ChatConditionModifier and TypeClassDescriptionclassdoes the sentence look like a possible coded message?static classis scuba diving possible?Methods in games.stendhal.server.maps.quests that return ChatCondition -
Uses of ChatCondition in games.stendhal.server.maps.quests.captureflag
Classes in games.stendhal.server.maps.quests.captureflag that implement ChatCondition -
Uses of ChatCondition in games.stendhal.server.maps.quests.piedpiper
Classes in games.stendhal.server.maps.quests.piedpiper that implement ChatCondition -
Uses of ChatCondition in games.stendhal.server.maps.semos.jail
Classes in games.stendhal.server.maps.semos.jail that implement ChatConditionModifier and TypeClassDescriptionstatic classIs the player speaking to us in jail?static classIs the player speaking to us not in jail? -
Uses of ChatCondition in games.stendhal.server.maps.semos.tavern.market
Classes in games.stendhal.server.maps.semos.tavern.market that implement ChatConditionModifier and TypeClassDescriptionclassCheck if a player has collectable earnings in the market managed by the manager NPC -
Uses of ChatCondition in games.stendhal.server.script
Classes in games.stendhal.server.script that implement ChatConditionModifier and TypeClassDescriptionprotected classDo we accept bets at the moment?protected classDo we NOT accept bets at the moment?