Stendhal Quest Coding: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann decreased indent |
imported>Hendrik Brummermann →Trigger phrases: spelling |
||
Line 101:
==
Good, Hayunn now replies to the trigger "quest". He does not, however, reply to "task". All other NPCs accept both words as synonym. A simple solution would be to add a second ''npc.addReply'' line. But there is a better way which makes it very easy to add additional synonyms later. We predefined lists of commonly used [http://arianne.cvs.sf.net/viewvc/arianne/stendhal/src/games/stendhal/server/entity/npc/ConversationPhrases.java?view=markup ConversationPhrases].
Line 119:
</source>
Please compile and restart your server. Hayunn should
== Blue trigger words ==
{{TODO|
Line 125 ⟶ 127:
* #beer
}}
== Second Part of this Tutorial ==
| |||