Page 1 of 1

Modifying recipes at runtime

Posted: Sat May 16, 2015 6:26 pm
by Incinirate
So, I need to modify a recipe while the game is running, so I am wondering if this is even possible atm?

Re: Modifying recipes at runtime

Posted: Sat May 16, 2015 7:01 pm
by FishSandwich
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

Posted: Sat May 16, 2015 8:56 pm
by Incinirate
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.
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.

Re: Modifying recipes at runtime

Posted: Wed May 20, 2015 6:07 pm
by Rseding91
Incinirate wrote:
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.
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.
It's not currently possible to modify recipes mid-game through scripts but that is a desired feature at some point.