Package games.stendhal.server.entity.npc

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


  /**
   * initialize the introduction and start of the quest.
   */
  private void step_1() {
    final SpeakerNPC npc = npcs.get(NPC_NAME);
    npc.addOffer("I don't sell anything!");
    npc.addGoodbye();
    npc.addJob("My current job is unimportant, I will be the king of Kalavan!");

    /* player says hi before starting the quest */
    npc.add(ConversationStates.IDLE,
 
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.