Car Optimizer

by mulark

Sets cars to inactive if they aren't on a belt or being driven by a player

Tweaks
3 years ago
1.0 - 1.1
1.43K

b disabled by Script

3 years ago

Dude, I deactivated this mod and now both of my vehicles(tank and car) are stuck in the disabled by script mode. When I reload my saved game I get the notice to sync mods and whatnot, I do that and this happens. Even when I enter the vehicle and try to drive I can't do anything, its still disabled! So I had to go thru each mod i thought might be doing this and eventually figured out it was this one. Only way to make my vehicles work again was to reiactivate this mod. Honestly the only reason I deactivated it was because the new update (1.1.19) made all of my mods incompatible. Now that you updated I can use it again but I want to know if I don't want to use this mod anymore is there a way to keep my vehicles from being permanently disabled on this save or am I screwed? Tried creating new ones(tanks) too, and the same thing, so that doesn't work.

3 years ago

To reenable all cars you can run /c for _, ent in pairs(game.player.surface.find_entities_filtered({type="car"})) do ent.active = true end

New response