2. The example we will build
Elias has an archive key. Professor Ivo needs the key to find a missing brass wheel. This is enough of a story to exercise a real conversation without making you manage twenty characters at once.
| Player asks | Elias / the game responds |
|---|---|
| What is wrong with the clock? | Elias describes the missing wheel, then returns to the topic menu. |
| May I borrow the archive key? | The game gives the key, records that it was given and plays Elias’s reply. |
| What should I look for in the archive? | This question appears after the key has been given. |
| I will get back to work. | The conversation ends. |
The screenshots use Professor Ivo and Elias from the bundled Clockmaker content in a simple workshop room. You may use your own characters. The dialogue structure is the same in 2D, 2.5D and 3D; your character art and presentation are separate choices.
Prepare these records#
| Record | Example ID | Purpose |
|---|---|---|
| Starting player | ada | Professor Ivo; the special speaker player resolves to the active player. |
| NPC | elias | The person being questioned. |
| Inventory item | archive_key | The item Elias can give. |
| Boolean variable | archive_key_given | Starts false; becomes true after the reward. |
| Dialogue | archive_chat | The complete conversation. |
Names can change without changing IDs. The sample uses readable node IDs such as greeting and topics. Your editor may generate line_1 or choice_1 instead. Record your actual IDs, or use the complete dialogue record in Appendix A when you want the exact sample names.
