Carpet

Carpet

2M Downloads

load_app_data()/store_app_data() should allow for reading other scripts data files

SnaveSutit opened this issue ยท 0 comments

commented

I think the best way to do this would be to make the file param overwrite the default file name.
Eg store_app_data(data, 'some_data') => some_data.nbt. You could still namespace things if you wanted to by putting it in the file name, it just wouldn't be forced.
You could load in the same way load_app_data('some_data') would load some_data.nbt