Uses of Class
games.stendhal.server.entity.npc.SpeakerNPC
Packages that use SpeakerNPC
Package
Description
the scripting backend.
Lua scripting interface.
(C) Copyright 2023 - Stendhal *
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version.
Events are notifications send from the server to the clients.
logic for Ados library.
logic for Ados seweing room.
Interactive scripts that high level admins can invoke.
-
Uses of SpeakerNPC in games.stendhal.server.core.pathfinder
Constructors in games.stendhal.server.core.pathfinder with parameters of type SpeakerNPCModifierConstructorDescriptionMultiZonesFixedPathsList(SpeakerNPC npc, List<List<RPZonePath>> pathes, Observer middle, Observer end) constructor -
Uses of SpeakerNPC in games.stendhal.server.core.scripting
Subclasses of SpeakerNPC in games.stendhal.server.core.scripting -
Uses of SpeakerNPC in games.stendhal.server.core.scripting.lua
Methods in games.stendhal.server.core.scripting.lua that return SpeakerNPCModifier and TypeMethodDescriptionRetrieves an existing SpeakerNPC.Methods in games.stendhal.server.core.scripting.lua with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidLuaMerchantHelper.add(String merchantType, SpeakerNPC npc, Object prices, Boolean addOffer) Adds merchant behavior to a SpeakerNPC.voidLuaMerchantHelper.addBuyer(SpeakerNPC npc, Object prices, boolean addOffer) Adds merchant buyer behavior to a SpeakerNPC.voidLuaEntityHelper.addKnownChatOptions(SpeakerNPC npc, org.luaj.vm2.LuaTable keywords) Helper function as SpeakerNPC.addKnownChatOptions cannot seem to handle array of LuaString.voidLuaMerchantHelper.addSeller(SpeakerNPC npc, Object prices, boolean addOffer) Adds merchant seller behavior to a SpeakerNPC. -
Uses of SpeakerNPC in games.stendhal.server.entity.mapstuff.chest
Methods in games.stendhal.server.entity.mapstuff.chest that return SpeakerNPCModifier and TypeMethodDescriptionprotected SpeakerNPCNPCOwnedChestFactory.getNPC(ConfigurableFactoryContext ctx) Extract the NPC from a context.Constructors in games.stendhal.server.entity.mapstuff.chest with parameters of type SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.entity.mapstuff.game
Fields in games.stendhal.server.entity.mapstuff.game declared as SpeakerNPCMethods in games.stendhal.server.entity.mapstuff.game with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidGameBoard.setNPC(SpeakerNPC npc) sets the NPC who manages this gamevoidNineSwitchesGameBoard.setNPC(SpeakerNPC npc) sets the SpeakerNPC who manages this game. -
Uses of SpeakerNPC in games.stendhal.server.entity.npc
Subclasses of SpeakerNPC in games.stendhal.server.entity.npcModifier and TypeClassDescriptionclassclassclassBase class for ghost NPCs.classBase class for rat kid NPCs.Methods in games.stendhal.server.entity.npc that return SpeakerNPCModifier and TypeMethodDescriptionCloneManager.clone(SpeakerNPC orig) Creates a new clone.CloneManager.clone(SpeakerNPC orig, String cloneName) Creates a new clone.Creates a new clone.Creates a new clone.Returns the NPC with the given name.CloneManager.getOriginal(SpeakerNPC npc) Retrieves the original SpeakerNPC.CloneManager.getOriginal(String name) Retrieves the original SpeakerNPC.protected SpeakerNPCSpeakerNPCFactory.instantiate(String name) Creates a new SpeakerNPC.Removes an NPC from the NPCList.Methods in games.stendhal.server.entity.npc that return types with arguments of type SpeakerNPCMethods in games.stendhal.server.entity.npc with parameters of type SpeakerNPCModifier and TypeMethodDescriptionstatic ConversationBuilderConversationBuilder.actor(SpeakerNPC npc) Creates a ConversationBuilder for the specified npc.voidNPCList.add(SpeakerNPC npc) Adds an NPC to the NPCList.CloneManager.clone(SpeakerNPC orig) Creates a new clone.CloneManager.clone(SpeakerNPC orig, String cloneName) Creates a new clone.voidSpeakerNPCFactory.createDialog(SpeakerNPC npc) CloneManager.getOriginal(SpeakerNPC npc) Retrieves the original SpeakerNPC.booleanCloneManager.isClone(SpeakerNPC npc) Checks if a SpeakerNPC is registered as a clone.voidCloneManager.registerAsClone(SpeakerNPC orig, SpeakerNPC clone) Registeres an existing SpeakerNPC as a clone of another. -
Uses of SpeakerNPC in games.stendhal.server.entity.npc.behaviour.adder
Methods in games.stendhal.server.entity.npc.behaviour.adder with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidCollectingGroupQuestAdder.add(SpeakerNPC npc, CollectingGroupQuestBehaviour behaviour) voidBuyerAdder.addBuyer(SpeakerNPC npc, BuyerBehaviour buyerBehaviour) Configures an NPC to buy items.voidBuyerAdder.addBuyer(SpeakerNPC npc, BuyerBehaviour buyerBehaviour, boolean offer) Configures an NPC to buy items.voidHealerAdder.addHealer(SpeakerNPC npc, int cost) Makes this NPC a healer, i.e.voidHealerAdder.addHealer(SpeakerNPC npc, ChatAction calculateCostAction, ChatAction healAction) Makes the NPC a healer.voidMultiProducerAdder.addMultiProducer(SpeakerNPC npc, MultiProducerBehaviour behaviour, String welcomeMessage) Adds all the dialogue associated with a Producing NPCvoidOutfitChangerAdder.addOutfitChanger(SpeakerNPC npc, OutfitChangerBehaviour behaviour, String command) Makes this NPC an outfit changer, i.e.voidOutfitChangerAdder.addOutfitChanger(SpeakerNPC npc, OutfitChangerBehaviour outfitBehaviour, String action, boolean offer, boolean canReturn) Makes this NPC an outfit changer, i.e.voidProducerAdder.addProducer(SpeakerNPC npc, ProducerBehaviour behaviour, String welcomeMessage) Adds all the dialogue associated with a Producing NPCvoidRepairerAdder.addRepairer(SpeakerNPC npc) Add the model fragments to the given NPCvoidSellerAdder.addSeller(SpeakerNPC npc, SellerBehaviour behaviour) Configures an NPC to sell items.voidSellerAdder.addSeller(SpeakerNPC npc, SellerBehaviour sellerBehaviour, boolean offer) Configures an NPC to sell items. -
Uses of SpeakerNPC in games.stendhal.server.entity.npc.behaviour.impl
Methods in games.stendhal.server.entity.npc.behaviour.impl with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidMerchantBehaviour.addConditions(SpeakerNPC merchant, Map<String, ChatCondition> conditions) Adds a list of items that are dealt only if a condition is met.Constructors in games.stendhal.server.entity.npc.behaviour.impl with parameters of type SpeakerNPCModifierConstructorDescriptionItemDroppingTeleporterBehaviour(SpeakerNPC speakerNPC, List<String> setZones, String zoneStartsWithLimiter, String repeatedText, boolean useHighProbabilityZones, String itemName) Creates a new ItemDroppingTeleporterBehaviour.ItemDroppingTeleporterBehaviour(SpeakerNPC speakerNPC, List<String> setZones, String zoneStartsWithLimiter, String repeatedText, String itemName) Creates a new ItemDroppingTeleporterBehaviour.MonologueBehaviour(SpeakerNPC speakerNPC, String[] repeatedText, int minutes) Creates a new MonologueBehaviour.TeleporterBehaviour(SpeakerNPC speakerNPC, List<String> setZones, String zoneStartsWithLimiter, String repeatedText) Creates a new TeleporterBehaviour.TeleporterBehaviour(SpeakerNPC speakerNPC, List<String> setZones, String zoneStartsWithLimiter, String repeatedText, boolean useHighProbabilityZones) Creates a new TeleporterBehaviour. -
Uses of SpeakerNPC in games.stendhal.server.entity.npc.behaviour.journal
Methods in games.stendhal.server.entity.npc.behaviour.journal with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidMerchantsRegister.add(SpeakerNPC npc, MerchantBehaviour behaviour) Adds an NPC to the NPCList. -
Uses of SpeakerNPC in games.stendhal.server.entity.npc.fsm
Methods in games.stendhal.server.entity.npc.fsm with parameters of type SpeakerNPCModifier and TypeMethodDescriptionbooleanTransition.isConditionFulfilled(Player player, Sentence sentence, SpeakerNPC npc) Checks whether this transition's condition is fulfilled.Constructors in games.stendhal.server.entity.npc.fsm with parameters of type SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.entity.npc.interaction
Constructors in games.stendhal.server.entity.npc.interaction with parameters of type SpeakerNPCModifierConstructorDescriptionNPCChatting(SpeakerNPC first, SpeakerNPC second, List<String> conversations, String explainations, Observer n) constructorNPCFollowing(SpeakerNPC leader, SpeakerNPC follower, Observer finish) constructor -
Uses of SpeakerNPC in games.stendhal.server.entity.npc.quest
Methods in games.stendhal.server.entity.npc.quest with parameters of type SpeakerNPCModifier 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 SpeakerNPC in games.stendhal.server.entity.npc.shop
Methods in games.stendhal.server.entity.npc.shop with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidOutfitShopsList.configureNPC(SpeakerNPC npc, String id, Float priceFactor, String action, int expiration, String wearOffMessage, List<String> flags) Configures an NPC to use a shop.voidOutfitShopsList.configureNPC(SpeakerNPC npc, String id, String action, boolean offer, boolean canReturn) Deprecated.voidOutfitShopsList.configureNPC(SpeakerNPC npc, String id, String action, boolean offer, boolean canReturn, int expiration) Deprecated.voidOutfitShopsList.configureNPC(SpeakerNPC npc, String id, String action, int expiration, String wearOffMessage, List<String> flags) Configures an NPC to use a shop.voidShopsList.configureNPC(SpeakerNPC npc, String shopname, boolean seller, boolean offer) Deprecated.voidShopsList.configureNPC(SpeakerNPC npc, String shopname, ShopType stype, boolean offer) Configures an NPC for a shop.voidShopsList.configureNPC(SpeakerNPC npc, String shopname, ShopType stype, Float priceFactor, boolean offer) Configures an NPC for a shop. -
Uses of SpeakerNPC in games.stendhal.server.events
Constructors in games.stendhal.server.events with parameters of type SpeakerNPCModifierConstructorDescriptionChatOptionsEvent(SpeakerNPC npc, Player player, ConversationStates currentState) -
Uses of SpeakerNPC in games.stendhal.server.maps.ados.library
Constructors in games.stendhal.server.maps.ados.library with parameters of type SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.maps.ados.sewingroom
Methods in games.stendhal.server.maps.ados.sewingroom that return SpeakerNPCModifier and TypeMethodDescriptionstatic SpeakerNPCSeamstressNPC.getClone()Retrieves the cloned instance. -
Uses of SpeakerNPC in games.stendhal.server.maps.deniran.cityinterior.tannery
Methods in games.stendhal.server.maps.deniran.cityinterior.tannery that return SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.maps.nalwor.forest
Subclasses of SpeakerNPC in games.stendhal.server.maps.nalwor.forestModifier and TypeClassDescriptionclassstatic classNPC class that manages access to training area. -
Uses of SpeakerNPC in games.stendhal.server.maps.quests
Fields in games.stendhal.server.maps.quests declared as SpeakerNPCModifier and TypeFieldDescriptionprotected SpeakerNPCMeetBunny.bunnythe Bunny NPC.protected SpeakerNPCReverseArrow.npcprotected SpeakerNPCMeetSanta.santathe Santa NPC.Methods in games.stendhal.server.maps.quests that return SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.maps.quests.a_grandfathers_wish
Methods in games.stendhal.server.maps.quests.a_grandfathers_wish that return SpeakerNPCModifier and TypeMethodDescriptionMylingSpawner.getActiveNiall()Retrieved the currently active Niall instance. -
Uses of SpeakerNPC in games.stendhal.server.maps.quests.logic
Methods in games.stendhal.server.maps.quests.logic that return SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.maps.quests.piedpiper
Methods in games.stendhal.server.maps.quests.piedpiper that return SpeakerNPCMethods in games.stendhal.server.maps.quests.piedpiper with parameters of type SpeakerNPCModifier and TypeMethodDescriptionstatic voidTPPQuestHelperFunctions.setupPiper(SpeakerNPC piedpiper) -
Uses of SpeakerNPC in games.stendhal.server.maps.quests.tutorial
Methods in games.stendhal.server.maps.quests.tutorial that return SpeakerNPCMethods in games.stendhal.server.maps.quests.tutorial with parameters of type SpeakerNPC -
Uses of SpeakerNPC in games.stendhal.server.maps.semos.city
Subclasses of SpeakerNPC in games.stendhal.server.maps.semos.city -
Uses of SpeakerNPC in games.stendhal.server.maps.semos.tavern.market
Subclasses of SpeakerNPC in games.stendhal.server.maps.semos.tavern.marketMethods in games.stendhal.server.maps.semos.tavern.market with parameters of type SpeakerNPCModifier and TypeMethodDescriptionvoidAcceptOfferHandler.add(SpeakerNPC npc) abstract voidOfferHandler.add(SpeakerNPC npc) voidPrepareOfferHandler.add(SpeakerNPC npc) voidProlongOfferHandler.add(SpeakerNPC npc) voidRemoveOfferHandler.add(SpeakerNPC npc) -
Uses of SpeakerNPC in games.stendhal.server.maps.semos.wizardstower
Methods in games.stendhal.server.maps.semos.wizardstower that return SpeakerNPCModifier and TypeMethodDescriptionWizardsGuardStatueSpireNPC.getZekiel()Retrieves the SpeakerNPC instance for Zekiel. -
Uses of SpeakerNPC in games.stendhal.server.script
Methods in games.stendhal.server.script with parameters of type SpeakerNPCModifier and TypeMethodDescriptionDumpTransitions.getDump(SpeakerNPC npc) Returns the transition diagram as string.DumpTransitionsEx.getDump(SpeakerNPC npc) Returns the transition diagram as string. -
Uses of SpeakerNPC in utilities
Methods in utilities that return SpeakerNPCModifier and TypeMethodDescriptionstatic SpeakerNPCSpeakerNPCTestHelper.createSpeakerNPC()static SpeakerNPCSpeakerNPCTestHelper.createSpeakerNPC(String name) protected SpeakerNPCReturn the SpeakerNPC of the given name.static SpeakerNPCSpeakerNPCTestHelper.getSpeakerNPC(String name) Methods in utilities with parameters of type SpeakerNPCModifier and TypeMethodDescriptionSpeakerNPCTestHelper.getOrderedReplies(SpeakerNPC npc) Query the events for public visible text messages in order of appearance.SpeakerNPCTestHelper.getReplies(SpeakerNPC npc) Query the events for public visible text messages.static StringSpeakerNPCTestHelper.getReply(SpeakerNPC npc) Query the events for public visible text messages.static booleanSpeakerNPCTestHelper.removeSpeakerNPC(SpeakerNPC npc) static voidPlayerTestHelper.resetNPC(SpeakerNPC npc) Reset the conversation state of the NPC.