Page 1 of 1

Mod request - please change flamethrower ammo recipe.

Posted: Thu Feb 04, 2016 7:02 am
by Sean
Hi everyone!

I want to make flamethrower ammo more expensive. Could you please help me? Please create a mod that will change requirements to craft flamethrower ammo from 5 iron plates, 2.5 light oil and 2.5 heavy oil to 5 iron plates, 5 light oil and 5 heavy oil.

Thank you in advance.

Re: Mod request - please change flamethrower ammo recipe.

Posted: Thu Feb 04, 2016 9:01 am
by prg
You can change those things around in data-updates.lua like this:

Code: Select all

data.raw.recipe["flame-thrower-ammo"].ingredients = {
        {type="item", name="iron-plate", amount=5},
        {type="fluid", name="light-oil", amount=5},
        {type="fluid", name="heavy-oil", amount=5},
}

Re: Mod request - please change flamethrower ammo recipe.

Posted: Thu Feb 04, 2016 5:36 pm
by Sean
prg wrote:You can change those things around in data-updates.lua like this:
Oh, thank you, I've never realized that it can be this simple! I will try this on Saturday.