Stendhal Quest Coding: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann skeletton |
imported>Hendrik Brummermann added sections |
||
Line 8:
</div>
== Before you start ==
This page describes how to code a quest. You don't need to know a lot about Java. You should, however, already have [[Configure a development environment (IDE)|setup an IDE]] and be able to compile and start a local Stendhal server.
Line 61 ⟶ 62:
loadQuest(new BeerForHayunn());
</source>
== Teaching the NPC to talk ==
* addReplay
== Teaching the NPC to ask the player whether he will do the quest ==
* add with states
* very basic introduction to FSM
== Teaching the NPC to remember the player ==
* ChatAction
* ChatCondition
== Rewarding the player ==
* MultiAction
== Further Reading
[[Category:Stendhal]]
| |||