I speak for the trees!

by sparr

Sometimes spawns a biter when a tree is destroyed.

Content
10 months ago
0.16 - 1.1
641
Enemies

i Listen for script_raised_destroy, notify on spawn

1 year, 10 months 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="!"}
1 year, 10 months 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, 10 months ago
10 months ago

Both features will be in the next release.

New response