Stendhal Quest Coding: Difference between revisions

Content deleted Content added
imported>Devant
m fixed typo
imported>Devant
m fixed grammar/typo
Line 130:
* addSeller
* addBuyer
* addHealer<br>These three tasks are so common among oursour NPC that we havewhave promoted the code to a method. Just add the items it sellsells or it buybuys or how much does it chargecharges for healing.
 
We use a very simple method to denote special keywords by placing a '''#''' before it.