fire_penalty

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

fire_penalty

Post by Deadlock989 »

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

What does it do?
Image

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

Re: fire_penalty

Post by Bilka »

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: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: fire_penalty

Post by Deadlock989 »

Cheers mate.
Image

Post Reply

Return to “Modding help”