smoke for electric energy source

Place to get help with not working mods / modding interface.
Jan5366x
Burner Inserter
Burner Inserter
Posts: 18
Joined: Tue Mar 07, 2017 9:12 pm
Contact:

smoke for electric energy source

Post by Jan5366x »

Hello,

I try to add smoke to an modded electric furnace entity but without success.
It would be very helpful if some can give me a tip or excample how to solve this because i'm very new in factorio modding and have no idea how to start. :D

Ty very much :D

Normal energy source:

Code: Select all

energy_source =
{
    type = "electric",
    usage_priority = "secondary-input",
    emissions = 0.05,
},
i was trying stuff like this to get smoke:
(but it looks like it is not implemented for this engery source type :( )

Code: Select all

  energy_source =
            {
                type = "electric",
                usage_priority = "secondary-input",
                emissions = 0.05,
                smoke =
                {
                    {
                        name = "smoke",
                        deviation = {0.1, 0.1},
                        frequency = 5,
                        position = {0.0, -0.8},
                        starting_vertical_speed = 0.08,
                        starting_frame_deviation = 60
                    }
                }
            },
Edit:
Mod on GitHub
https://github.com/Jan5366x/Factorio-SimpleKiln

The entity I'm talking about:
https://github.com/Jan5366x/Factorio-Si ... tities.lua

Post Reply

Return to “Modding help”