-
-
Notifications
You must be signed in to change notification settings - Fork 225
Description
Is your feature request related to a problem? Please describe.
When writing dialogues that reuse the same value in various places (for instance, an id of something), having to copy it everywhere creates bad maintenance issues. Having to create a global for each case of this is also not a good option regarding maintenance.
Describe the solution you'd like
A syntax like const MY_CONST = "my_something"
for instance that would create a reusable declaration accross the file.
Describe alternatives you've considered
For now I'm just doing copy and paste of the said ID when needed.
Additional context
My use case is that we have a dialogue that can trigger a given quest in many ways, using its uuid, which is copied in way too many places for this dialogue