Package games.stendhal.server.entity.npc

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addHelp()


   */
  private void prepareSergeant() {
    final SpeakerNPC james = npcs.get("Sergeant James");

    // quest related stuff
    james.addHelp("Think I need a little help myself. My #group got killed and #one of my men ran away. Too bad he had the #map.");
    james.addQuest("Find my fugitive soldier and bring him to me ... or at least the #map he's carrying.");
    james.addReply("group",
      "We were five, three of us died. You probably passed their corpses.");
    james.addReply(Arrays.asList("one", "henry"),
      "Yes, my youngest soldier. He ran away.");
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.