giusdp / bevy_talks

A Bevy plugin to write dialogues for your characters, together with player choices.
https://giusdp.github.io/bevy_talks/
Apache License 2.0
56 stars 6 forks source link

Conditional choices #42

Open its-danny opened 11 months ago

its-danny commented 11 months ago

Library looks snazzy, was wanting to give it a shot but had a feature request. It'd be nice to be able to conditionally include choices. A use case being new dialogue option existing if the player is currently on a quest.

Potentially related to #41, though it'd be nice if it could also be done within the asset files.

giusdp commented 11 months ago

Thank you for the suggestion! It sounds pretty useful indeed. We could have some sort of flags on dialogue nodes to decide when to include them or not. I'll put some thought into it and try some designs. I'll mark this for the 0.4 release, hoping I can put some dev time into the plugin next days 😁