TriggerReactor

TriggerReactor

24.6k Downloads

Better file support

MidnightSugar opened this issue ยท 2 comments

commented

I posted this in the discord earlier, but thought I'd put it here too.

Right now, if you want to store persistent data you must store everything into the var.json folder. Which is fine, but it also causes quite a bit of clutter. It would be better to have more flexibility of where to store data.

One thing that could help with this is the ability to change the default path for global variables.

The current syntax is {config path}. {"My.path"}

I suggest adding a way to change the default path, for example {"My.directory:My.path"} or

Dir = "My.Directory"
{Dir + ":My.path"}

This could help with organization.

commented

I second this. It might be relate with #353 and #360.
This function allows to developers to share their TriggerReactor package as addon

commented

The use cases can be different, and creating a namespace just for one config could be even more messy. For example, you would sometimes want to split player data files into multiple since storing them in one file is just a waste of memory and computing power.