MagicDuel

Improvements to npctalk functions

Announcement 5503 · · posted by Mur · Stage 16
Seeing the amazing garden Fyrd made, i thought to add some things to extend what is possible with the npctalk feature used for the garden.

- takeitem can now take a specific quantity not the entire stack
- npctalk nested choices can jump to an entire branch entirely
- added stop_if_success# and continue_if_success# actions
- variable inside npctalk dialogues can be controlled from outside (clickables), numerically altered, checked and compared, so logic can be derived from this

As a reminder, all the complex checks available on clickables to activate them, are usable on npctalk entries, for example you could reveal a menu option if someone writes a specific thing in chat, or unlocks a clickable elsewhere.

Fyrd's garden inspired me to make npctalk more powerful, in general, if i see one of the feature i build put to good use, i continue to develop nice things for it. Eventually maybe we will get nice art for the garden, but the way it is now, is a reminded that anyone can do amazing things, if the ideea is good, the rest are just details that can be improved later.

CODENAME: AUTUMN2050