I speak for the trees!

by sparr

Sometimes spawns a biter when a tree is destroyed.

Content
2 years ago
0.16 - 1.1
676
Enemies

i Listen for script_raised_destroy, notify on spawn

3 years ago

Please add this so other mods can properly raise biters on destroy :)

script.on_event(defines.events.script_raised_destroy, spawnLorax)

also, you can add this just below the previous create_entity for a nice little notification when someone angers the trees -

event.entity.surface.create_entity{position=event.entity.position,name="flying-text",text="!"}
3 years ago

Thanks for the suggestions. It might be a while before I'm building my mods again, but I'll get at least the first one in as soon as I can.

2 years ago

Both features will be in the next release.

New response