I'm thinking about making a factory layout designer as a standalone application.
Getting at the game data seems fairly straightforward, but I can't find recipe crafting times anywhere.
I expected them to be in recipe.lua, but they're not. Are they hidden?
can't find crafting times in game data files
Re: can't find crafting times in game data files
in the recipe prototype
energy_required
energy_required
Re: can't find crafting times in game data files
Thanks, that's what I was after. I was confused though, because some recipes don't have that property.
Guess I can derive what the defaults are for stuff that's missing.
Bleh why is all the data wrapped in function calls.
Guess I can derive what the defaults are for stuff that's missing.
Bleh why is all the data wrapped in function calls.
Re: can't find crafting times in game data files
if no energy required is set, default is 0.5
Re: can't find crafting times in game data files
So many files to look through, would you know where defaults are stored?
Re: can't find crafting times in game data files
Nope, and im sure they are hardcoded defaults, so just take em.
This is simliar to result_count, which defaults to 1. Or some new values like "probability", "amount".
There are many other defaults in the game files , mostly due the difference in formatting over time. For example old recipes have no "normal" and "expensive" tag, while some new have them. The game defaults to the newer format, but has a fallback to the older.
This is simliar to result_count, which defaults to 1. Or some new values like "probability", "amount".
There are many other defaults in the game files , mostly due the difference in formatting over time. For example old recipes have no "normal" and "expensive" tag, while some new have them. The game defaults to the newer format, but has a fallback to the older.