Smokeless


Removes UPS-hogging smoke from the game.

6 years ago
0.15
9

g Compatibility

6 years ago

Can you make this work with units from other mods? would be much appreciated

6 years ago

i did some adjustments for bobs. They are by no means complete.
If someone cares to take them up:
-- info.json

"dependencies": ["base >= 0.15.0","? bobpower >= 0.15.4","? boblogistics>= 0.15.4"],

-- data.lua

if data.raw.boiler["boiler-2"] then
data.raw.boiler["boiler-2"].energy_source.smoke = {}
data.raw.boiler["boiler-3"].energy_source.smoke = {}
data.raw.boiler["boiler-4"].energy_source.smoke = {}
data.raw.generator["steam-turbine-2"].smoke = {}
data.raw.generator["steam-turbine-3"].smoke = {}
data.raw.generator["steam-engine-2"].smoke = {}
data.raw.generator["steam-engine-3"].smoke = {}
end

if data.raw.locomotive["bob-locomotive-2"] then
data.raw.locomotive["bob-locomotive-2"].burner.smoke = {}
data.raw.locomotive["bob-locomotive-2"].stop_trigger = data.raw.locomotive["locomotive"].stop_trigger[3]
data.raw.locomotive["bob-locomotive-3"].burner.smoke = {}
data.raw.locomotive["bob-locomotive-3"].stop_trigger = data.raw.locomotive["locomotive"].stop_trigger[3]
end

New response