Stendhal NPC Coding: Difference between revisions

Content deleted Content added
imported>Kymara
m : changed to ; oops
imported>Kymara
Line 78:
 
protected void createDialog() {
// Lets the NPC reply with "Hallo" when a player greets him. But we could have set onea custom greeting inside the ()
addGreeting();
// Lets the NPC reply when a player says "job"