Package games.stendhal.server.entity.npc.action

Examples of games.stendhal.server.entity.npc.action.PlaySoundAction$SoundTurnListener


        addReply("trading", "To start a trade with another player, right-click on them and select 'Trade'. If they also want to trade with you, you'll see a window pop up where you can drag items to offer, and see what is being offered to you. Both click Offer, and then you both need to Accept the offer to complete the trade.");
        addJob("I'm the Customer Advisor here at Semos Bank.");
        addOffer("If you wish to access your personal chest in solitude, I can give you access to a private #vault. A guidebook inside will explain how it works.");   
        addGoodbye("It was a pleasure to serve you.");
        add(ConversationStates.ANY, "vault", new QuestCompletedCondition("armor_dagobert"), ConversationStates.IDLE, null,
            new MultipleActions(new PlaySoundAction("keys-1", true), new VaultChatAction()));
       
        add(ConversationStates.ANY, "vault", new QuestNotCompletedCondition("armor_dagobert"), ConversationStates.ATTENDING, "Perhaps you could do a #favour for me, and then I will tell you more about the private banking vaults.", null);
       
        // remaining behaviour defined in games.stendhal.server.maps.quests.ArmorForDagobert 
      }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.action.PlaySoundAction$SoundTurnListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.