Fire to burn Loot

Place to get help with not working mods / modding interface.
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Fire to burn Loot

Post by TheSAguy »

Hi,

How would I make it that the loot that drops from dead units get's burnt / destroyed by fire. (From Flame Throwers or Flame attack)
As you can see from my screenshot below, I have a lot of loot and would like it if it got burnt by the flames to remove it.

Thought?

Image

Thanks!
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Fire to burn Loot

Post by darkfrei »

Just use control.lua for it
may be same way as https://mods.factorio.com/mod/Flammable_Oils
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: Fire to burn Loot

Post by TheSAguy »

That mod does a check on entity destroyed.
For a sec I thought all I had to do was add a fuel value to the Artifacts, but nope.

So anyone know how I can have Alien Artifacts on the ground catch fire, burn, destroy if there is a fire?
Or any item on the ground with a fuel value burn, destroy?

Thanks.
Post Reply

Return to “Modding help”