Removing Recipes

Things that already exist in the current mod API
Post Reply
wuppy29
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu May 15, 2014 7:30 am
Contact:

Removing Recipes

Post by wuppy29 »

Please make it possible to remove vanilla recipes so they can be replaced with custom ones.

NSArray
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu May 15, 2014 1:06 am
Contact:

Re: Removing Recipes

Post by NSArray »

If you create a new recipe with the same parameters as the vanilla one but replace the ingredients parameter with your own, the game will choose the one that loads last. If you add 'base' as a dependency, you can override vanilla recipes.

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: Removing Recipes

Post by FreeER »

not only that but you could use data.raw and set the vanilla recipe(s) to nil (effectively deleting them)
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me :)
Or drop into #factorio on irc.esper.net

GotLag
Filter Inserter
Filter Inserter
Posts: 532
Joined: Sat May 03, 2014 3:32 pm
Contact:

Re: Removing Recipes

Post by GotLag »

wuppy29 wrote:Please make it possible to remove vanilla recipes so they can be replaced with custom ones.
I suggest you have a look at DyTech. Specifically, DyTech\prototypes\base-edits\recipe.lua

Post Reply

Return to “Already exists”