Page 1 of 1

Flamethrower turret ammo

Posted: Tue Jun 20, 2017 8:56 pm
by Frontrider
I would like to add a new fluid to the flamethrower turret as ammo.
How can I do this whitout copying everything out of original entity? If I only include a few field than it will tell me that the rest is missing.

I also have a research related to it, if I can do it from there thats good enough.

Re: Flamethrower turret ammo

Posted: Tue Jun 20, 2017 9:36 pm
by prg

Code: Select all

table.insert(data.raw["fluid-turret"]["flamethrower-turret"].attack_parameters.fluids, {type="water", damage_modifier=20})