I speak for the trees!

by sparr

Sometimes spawns a biter when a tree is destroyed.

Content
1 year, 5 months ago
0.16 - 1.1
670
Enemies

i Listen for script_raised_destroy, notify on spawn

2 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="!"}
2 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.

1 year, 5 months ago

Both features will be in the next release.

New response