Package games.stendhal.server.entity.npc.behaviour.impl

Examples of games.stendhal.server.entity.npc.behaviour.impl.Behaviour


            + "' and at most #'stake " + MAX_STAKE
            + "' pieces of gold. So, how much will you risk?", null);

    ramon.add(ConversationStates.ATTENDING, "stake", null,
        ConversationStates.ATTENDING, null,
        new BehaviourAction(new Behaviour(), "stake", "offer") {
          @Override
          public void fireSentenceError(Player player, Sentence sentence, EventRaiser npc) {
                npc.say(sentence.getErrorString() + " Just tell me how much you want to risk, for example #'stake 50'.");
          }
View Full Code Here


        addHelp("You can't get into the imperial city of Sedah without a key.");
        addQuest("The only favour I need is cold hard cash.");
        addOffer("Only a #bribe could persuade me to hand over the key to that gate.");

        addReply("bribe", null,
          new BehaviourAction(new Behaviour("money"), "bribe", "offer") {
            @Override
            public void fireSentenceError(Player player, Sentence sentence, EventRaiser raiser) {
              raiser.say(sentence.getErrorString() + " Are you trying to trick me? Bribe me some number of coins!");
            }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.behaviour.impl.Behaviour

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.