Examples of transactAgreedDeal()


Examples of games.stendhal.server.entity.npc.behaviour.impl.ProducerBehaviour.transactAgreedDeal()

    npc.add(ConversationStates.PRODUCTION_OFFERED,
        ConversationPhrases.YES_MESSAGES, null,
        ConversationStates.ATTENDING, null,
        new ChatAction() {
          public void fire(final Player player, final Sentence sentence, final EventRaiser npc) {
            behaviour.transactAgreedDeal(currentBehavRes, npc, player);

            currentBehavRes = null;
          }
        });
View Full Code Here

Examples of games.stendhal.server.entity.npc.behaviour.impl.ProducerBehaviour.transactAgreedDeal()

            ConversationPhrases.YES_MESSAGES, null,
            ConversationStates.ATTENDING, null,
            new ChatAction() {
          public void fire(final Player player, final Sentence sentence,
              final EventRaiser npc) {
            behaviour.transactAgreedDeal(currentBehavRes, npc, player);

            currentBehavRes = null;
          }
        });
View Full Code Here

Examples of games.stendhal.server.entity.npc.behaviour.impl.ProducerBehaviour.transactAgreedDeal()

        add(ConversationStates.PRODUCTION_OFFERED,
            ConversationPhrases.YES_MESSAGES, null,
            ConversationStates.ATTENDING, null,
            new ChatAction() {
          public void fire(final Player player, final Sentence sentence, final EventRaiser npc) {
            behaviour.transactAgreedDeal(currentBehavRes, npc, player);

            currentBehavRes = null;
          }
        });
View Full Code Here

Examples of games.stendhal.server.entity.npc.behaviour.impl.RepairerBehaviour.transactAgreedDeal()

        ConversationPhrases.OFFER_MESSAGES, null,
        false, ConversationStates.ATTENDING, "I can #repair items for you.", null);

    ChatAction behaviourAcceptedAction =new ChatAction() {
      public void fire(final Player player, final Sentence sentence, final EventRaiser raiser) {
        repairerBehaviour.transactAgreedDeal(repairerBehaviour.parse(sentence), raiser, player);
      }
    };
   
    engine.add(ConversationStates.REPAIR_OFFERED,
        ConversationPhrases.YES_MESSAGES, null,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.