Here's the route I went. The I tried both .tint and .color, using green as it's easy to tell if it is working. The flames are green, but the cloud of smoke still has the orange glow to it. Mainly I'm shotgunning changes in hopes they work... hence why adding it on both .smoke and .smoke_source_pictures.
Code: Select all
local flame = util.table.deepcopy (data.raw.fire["fire-flame"])
flame.name = test-flame"
flame.pictures = fireutil.create_fire_pictures (picture_opts) -- custom function to set the tint for the flames
for _, smoke in pairs (flame.smoke) do
smoke.color = fireutil.make_color (0, 1, 0, 0.75)
smoke.tint = fireutil.make_color (0, 1, 0, 0.75)
end
for _, smoke in pairs (flame.smoke_source_pictures) do
smoke.color = fireutil.make_color (0, 1, 0, 0.75)
smoke.tint = fireutil.make_color (0, 1, 0, 0.75)
end