Modifying recipes at runtime
-
- Burner Inserter
- Posts: 18
- Joined: Sun May 03, 2015 9:50 pm
- Contact:
Modifying recipes at runtime
So, I need to modify a recipe while the game is running, so I am wondering if this is even possible atm?
-
- Smart Inserter
- Posts: 1847
- Joined: Sun Feb 23, 2014 3:37 pm
- Contact:
Re: Modifying recipes at runtime
You want to change a recipe midgame? I'm not sure that's possible.
You could however have two(or more) recipes, and just switch between them whenever whatever you have happening, happens.
You could however have two(or more) recipes, and just switch between them whenever whatever you have happening, happens.
-
- Burner Inserter
- Posts: 18
- Joined: Sun May 03, 2015 9:50 pm
- Contact:
Re: Modifying recipes at runtime
Yeah, I thought that might be the case, I saw that you can get the recipes from game.player.force.recipes, but they are read only, thanks anyway.FishSandwich wrote:You want to change a recipe midgame? I'm not sure that's possible.
You could however have two(or more) recipes, and just switch between them whenever whatever you have happening, happens.
Re: Modifying recipes at runtime
It's not currently possible to modify recipes mid-game through scripts but that is a desired feature at some point.Incinirate wrote:Yeah, I thought that might be the case, I saw that you can get the recipes from game.player.force.recipes, but they are read only, thanks anyway.FishSandwich wrote:You want to change a recipe midgame? I'm not sure that's possible.
You could however have two(or more) recipes, and just switch between them whenever whatever you have happening, happens.
If you want to get ahold of me I'm almost always on Discord.