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

Examples of games.stendhal.server.entity.npc.behaviour.adder.ProducerAdder


      requiredResources.put("cheese", Integer.valueOf(1));

      final ProducerBehaviour behaviour = new ProducerBehaviour("blacksheepjoe_make_cheese_sausage", "make", "cheese sausage",
              requiredResources, 2 * 60);

      new ProducerAdder().addProducer(this, behaviour,
              "Hi there. Welcome to Blacksheep Meat Market. Can I #make you some cheese sausages?");
    }
  };

  blacksheepjoe.setEntityClass("blacksheepnpc");
View Full Code Here


      requiredResources.put("marbles", Integer.valueOf(2));

      final ProducerBehaviour behaviour = new ProducerBehaviour("blacksheepharry_make_tuna", "make", "canned tuna",
              requiredResources, 2 * 60);

      new ProducerAdder().addProducer(this, behaviour,
              "Welcome to Blacksheep Meat Market. Can I #make you some canned tuna?");
    }
  };

  blacksheepharry.setEntityClass("blacksheepnpc");
View Full Code Here

        requiredResources.put("button mushroom", Integer.valueOf(2));

        final ProducerBehaviour behaviour = new ProducerBehaviour("arlindo_make_pie", "make", "pie",
                requiredResources, 7 * 60);

        new ProducerAdder().addProducer(this, behaviour,
                "Hi! I bet you've heard about my famous pie and want me to #make one for you, am I right?");
      }
    };

    baker.setEntityClass("bakernpc");
View Full Code Here

        requiredResources.put("minor potion", 1);

        final ProducerBehaviour mixerBehaviour = new ProducerBehaviour("david_mix_cream",
            "mix", "suntan cream", requiredResources, 10 * 60);

        new ProducerAdder().addProducer(this, mixerBehaviour, "Hallo!");

        addReply(
            Arrays.asList("suntan", "cream", "suntan cream"),
        "Pam's and mine suntan cream is famous all over the island. But the way to the labyrinth entrance is blocked, so we can't get all the ingredients we need. If you bring me the things we need, I can #mix our special suntan cream for you.");

View Full Code Here

        requiredResources.put("iron ore", 1);

        final ProducerBehaviour behaviour = new ProducerBehaviour("xoderos_cast_iron",
            "cast", "iron", requiredResources, 5 * 60);

        new ProducerAdder().addProducer(this, behaviour,
        "Greetings. I am sorry to tell you that, because of the war, I am not allowed to sell you any weapons. However, I can #cast iron for you. I can also #offer you tools.");


      }};
      npc.setPosition(23, 12);
View Full Code Here

        requiredResources.put("sugar cane", 5);
        requiredResources.put("wood", 1);

        final ProducerBehaviour behaviour = new ProducerBehaviour("uncle_dag_brew_fierywater",
            "brew", "fierywater", requiredResources, 20 * 60);
        new ProducerAdder().addProducer(npc, behaviour,
            "Yo! I'm Uncle Dag, the distillery man! If you bring me #sugar #canes, I could #brew #fierywater for you.");

        npc.setDescription("You see Uncle Dag. He runs the distillery stand in Ados market.");
        npc.setEntityClass("fierywaterdistillernpc");
        npc.setPosition(35, 30);
View Full Code Here

        final Map<String, Integer> requiredResources = new TreeMap<String, Integer>();
        requiredResources.put("coconut", 1);
        requiredResources.put("pineapple", 1);
        final ProducerBehaviour mixerBehaviour = new ProducerBehaviour("barman_mix_pina",
            "mix", "pina colada", requiredResources, 2 * 60);
        new ProducerAdder().addProducer(this, mixerBehaviour, "Aloha!");
      }
    };

    barman.setEntityClass("barmannpc");
    barman.setPosition(8, 5);
View Full Code Here

        requiredResources.put("fierywater", 1);

        final ProducerBehaviour behaviour = new ProducerBehaviour("gaston_bake_crepesuzette", "bake", "crepes suzette",
                requiredResources, 5 * 60);

        new ProducerAdder().addProducer(this, behaviour,
                "Hi there. I bet you've come to taste my #crepes suzette au chocolate! I can #bake some for you if you like.");
      }
    };

    npc.setEntityClass("ratchefnpc");
View Full Code Here

        requiredResources.put("leek", 1);

        final ProducerBehaviour behaviour = new ProducerBehaviour("linzo_make_fish_pie", "make", "fish pie",
                requiredResources, 5 * 60);

        new ProducerAdder().addProducer(this, behaviour,
                "Hi there. Have you come to try my fish pies? I can #make one for you.");
      }
    };

    baker.setEntityClass("bakernpc");
View Full Code Here

        requiredResources.put("apple", Integer.valueOf(1));

        final ProducerBehaviour behaviour = new ProducerBehaviour("martha_bake_applepie", "bake", "apple pie",
                requiredResources, 15 * 60);

        new ProducerAdder().addProducer(this, behaviour,
                "Hello! Did you come to taste one my delicious apple pies? I could #bake one for you right away!");
      }
    };

    npc.setEntityClass("confectionerapplepienpc");
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.behaviour.adder.ProducerAdder

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.