Mod request - please change flamethrower ammo recipe.

This is the place to request new mods or give ideas about what could be done.
Post Reply
Sean
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Feb 04, 2016 6:58 am
Contact:

Mod request - please change flamethrower ammo recipe.

Post 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.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Mod request - please change flamethrower ammo recipe.

Post 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},
}
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Sean
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Feb 04, 2016 6:58 am
Contact:

Re: Mod request - please change flamethrower ammo recipe.

Post 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.

Post Reply

Return to “Ideas and Requests For Mods”