Hostile Trees


Makes trees hate you and your factory. They will do bad things to you and your factory.

Tweaks
2 months ago
1.1 - 2.0
426
Enemies Environment

b distant misfires incompatibility

2 months ago
(updated 2 months ago)

(I got a bunch of mods loaded alongside Hostile Trees), When driving next to the forest my game crashed with this message:
“The mod Hostile Trees (0.3.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event hostile-trees::on_tick (ID 0)
hostile-trees/modules/util.lua:220: attempt to index local 'surface' (a nil value)
stack traceback:
hostile-trees/modules/util.lua:220: in function 'skip_planet'
hostile-trees/modules/car.lua:149: in function 'car_tree_events'
hostile-trees/control.lua:143: in function <hostile-trees/control.lua:30>”
After disabling all the mods (except for Space Age), I was able to trigger it multiple times (same crash message), the only mods that were enabled:
Space age DLC (edit: and quality/rails), Hostile trees and Distant Misfires (https://mods.factorio.com/mod/distant-misfires).
So I'm not sure why, but at the moment your mod and distant misfires are not compatible.

2 months ago

I'll take a look.

2 months ago

It's completely unrelated to the mod, I just incorrectly referred to a variable. A crash would happen for any mod interaction with a car. Will release a fix in just a moment.

2 months ago

0.3.8 should fix this. Thank you for the report!

New response