Page 1 of 1

[Event] on_surface_created

Posted: Sun Jul 19, 2015 8:18 pm
by yeganer
I think an event that triggers every time a surface gets created would be really handy for mods that mess with map gen and several worlds.

Re: [Event] on_surface_created

Posted: Mon Jul 20, 2015 1:08 am
by Rseding91
An event would be useful.

However, on_chunk_generated is what you're looking for if you want to modify terrain during generation. It will pass the bounding box of the chunk generated and the surface it was created on.

Re: [Event] on_surface_created

Posted: Tue Jul 21, 2015 3:36 pm
by yeganer
For terrain generation manipulation on_chunk_generated works as a workaround.

But for mods that interact heavily with surfaces, like some interdimensional transportation, it seems like a hacky solution to use on_chunk_generated to check for new surfaces to set stuff up.

For my application i would just be happy to have it, but it's not neccessary.