Package games.stendhal.server.entity.npc

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


    };

    npc.setDescription("You see Karl, a friendly elderly farmer.");
    npc.setEntityClass("beardmannpc");
    npc.setPosition(64, 75);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here


    };

    npc.setEntityClass("woman_007_npc");
    npc.setPosition(41, 40);
    //npc.setDirection(Direction.DOWN);
    npc.initHP(100);
    npc.setDescription("You see Katinka. She takes care of the animals around in the sanctuary.");
    zone.add(npc);
  }
}
View Full Code Here

      }
    };

    npc.setEntityClass("beardmannpc");
    npc.setPosition(4, 47);
    npc.initHP(100);
    npc.setDescription("You see Bario. His face is a bit blue and his knees are shaking.");
    zone.add(npc);
  }
}
View Full Code Here

    ghost.setEntityClass("deadmannpc");
    // he is a ghost so he is see through
    ghost.setVisibility(70);
    ghost.setPosition(216, 127);
    // he has low HP
    ghost.initHP(30);
    ghost.setBaseHP(100);
    zone.add(ghost);
  }
}
View Full Code Here

      }
    };

    npc.setEntityClass("investigatornpc");
    npc.setPosition(9, 9);
    npc.initHP(100);
    npc.setDescription("Wikipedian is the Ados librarian. His name predicts: He knows a lot.");
    zone.add(npc);
  }

  protected class WikipediaWaiter implements TurnListener {
View Full Code Here

    };

    pam.setEntityClass("lifeguardfemalenpc");
    pam.setDirection(Direction.LEFT);
    pam.setPosition(12, 11);
    pam.initHP(100);
    pam.setDescription("You see Pam. She waits for models who can wear her newest swimsuit collection.");
    zone.add(pam);
  }
}
View Full Code Here

      }
    };

    zogfangNPC.setEntityClass("orcbuyernpc");
    zogfangNPC.setPosition(10, 107);
    zogfangNPC.initHP(1000);
    zogfangNPC.setDescription("You see the old smelling orc Zogfang. He waits for warriors to help him while fighting against dwarves.");
    zone.add(zogfangNPC);
  }
}
View Full Code Here

      }
    };
    npc.setDescription("You see Huckle Rohn, the court jester.");
    npc.setEntityClass("magic_jesternpc");
    npc.setPosition(8, 57);
    npc.initHP(100);
    zone.add(npc);
  }
}
View Full Code Here

    };

    rat.setDescription("You see a rat child.");
    rat.setEntityClass("ratchild2npc");
    rat.setPosition(45, 19);
    rat.initHP(100);
    zone.add(rat);
  }
}
View Full Code Here

    };

    npc.setEntityClass("doctornpc");
    npc.setPosition(53, 28);
    //npc.setDirection(Direction.DOWN);
    npc.initHP(100);
    npc.setDescription("You see Dr. Feelgood. He is an expert in his job.");
    zone.add(npc);
  }
 
  /**
 
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.