Stendhal Quest Coding: Difference between revisions
Content deleted Content added
imported>Devant m added named constants for ConversationStates |
imported>Devant added headings for easier reading |
||
Line 7:
It would be even better if you try yourself and play a bit with it.
== Implementation of an example quest (part 1) ==
Ok, now lets create a new Java file at ''games/stendhal/server/maps/quest''. It will be named like the quest you are going to do, for example: LookBookforCeryl
Line 135 ⟶ 137:
The client renders the next word in a blue color.
== Creating dialogues ==
{{AddMissing|towhat = guide |toadd = the newer methods}}
Line 256 ⟶ 259:
We use -1 as a wildcard, so it text is bye the transition happens.
== Implementation of an example quest (part 2) ==
Let's continue with our example and I comment anything that is really important beyond this point.
| |||