Modifying recipes at runtime
Posted: Sat May 16, 2015 6:26 pm
So, I need to modify a recipe while the game is running, so I am wondering if this is even possible atm?
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.
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.