Your code, and any bots/blocks that you place or edit should be saved 
automatically. If they don't that's a serious bug and I'd really like to hear 
more about it. If it truly isn't saving, please ping me on 
[Discord](https://discord.gg/BWHUs4Wc) or report it on 
[Github](https://github.com/dsrw/enu) so we can sort things out.

Blocks produced by a script aren't saved however, the idea being that they'll 
be regenerated the next time you run the script or launch the world. However, 
because scripts use a random seed value by default, if your script contains 
random elements it won't generate the same way twice unless you specify a seed 
(`seed = 1234`). I think I'm going to change this, so everything starts with a 
static seed, with some way to explicitly randomize it if that's what you need.

Another related issue is that large structures can take a while to regenerate. 
In those cases it would be nice for Enu to snapshot the generated blocks so it 
doesn't have to run the script every time. This is tricky though, since scripts 
can depend on each other, so there are cases where we have to run a script just 
to make sure it introduces any variables or functions that other scripts need. 
I'm not sure how to best handle this, but I'll have to come up with something.

Thanks for trying Enu!

Reply via email to