This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
dev:objects [2018/04/02 17:42] karl [SPECIAL NOTE (IMPORTANT!!!)] Make it readable |
dev:objects [2021/12/18 22:09] draugthewhopper |
||
---|---|---|---|
Line 418: | Line 418: | ||
The square braces may be used to construct special matches. For example, a | The square braces may be used to construct special matches. For example, a | ||
key of '[jy]ello' would match 'jello' or even 'yellow'. | key of '[jy]ello' would match 'jello' or even 'yellow'. | ||
+ | |||
+ | ==== Replies ==== | ||
+ | |||
+ | You can use a '@reply' line after an NPC dialog line, and the player will be | ||
+ | given an option, or a hint, for a reply. | ||
+ | <code> | ||
+ | @match * | ||
+ | Hi, welcome to the shop! We offer various products and services. | ||
+ | @reply products Can you tell me more about your products? | ||
+ | @reply services What services do you offer? | ||
+ | </code> | ||
==== Quest support ==== | ==== Quest support ==== |