fire_penalty

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 1275
Joined: Fri Nov 06, 2015 7:41 pm
Contact:

fire_penalty

Post by Deadlock989 » Sun Apr 28, 2019 4:15 pm

This is a parameter in the attack_parameters prototype. In vanilla, only the flamethrower turret uses it.

What does it do?

Bilka
Factorio Staff
Factorio Staff
Posts: 2133
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: fire_penalty

Post by Bilka » Sun Apr 28, 2019 4:23 pm

copy paste from source
/** Used when searching for the nearest enemy to penalize units that are burning. */
So I'd say it makes the flamethrower turret prefer non-burning enemies over burning enemies. Burning in this case: has sticker that has a "spread_fire_entity" attached to it.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 1275
Joined: Fri Nov 06, 2015 7:41 pm
Contact:

Re: fire_penalty

Post by Deadlock989 » Sun Apr 28, 2019 4:28 pm

Cheers mate.

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users