I'm working on a mod where the player would be given a bonus for transporting items via train. The first part, measuring the amount of stuff moved via train in a given time has been worked out to a degree that I'm confident it'll work.
The second part I'm having some issues with. "Bonus" here is a loose term and while there is a lot I'd like to do, it doesn't seem like Factorio allows much to be modified at runtime. Below are a list of things I've looked at, but I'm open to other suggestions that would benefit the player on a dynamic basis.
* Modifying recipe input or output quantities.
* Modifying assembly machine stats (energy usage, crafting speed).
* Modifying module bonuses.
Any methods for dynamic production modifiers?
Re: Any methods for dynamic production modifiers?
No, none of those things can be changed runtime.
If you want to get ahold of me I'm almost always on Discord.
Re: Any methods for dynamic production modifiers?
Ok that's what I figured. Thanks for the info though and I can't wait to see what's possible in the next updates.
Re: Any methods for dynamic production modifiers?
What should be possible to change run-time is handcrafting/mining, running, research speeds and player inventory size.
Re: Any methods for dynamic production modifiers?
So, all of these? http://lua-api.factorio.com/latest/LuaC ... d_modifierhoho wrote:What should be possible to change run-time is handcrafting/mining, running, research speeds and player inventory size.
If you want to get ahold of me I'm almost always on Discord.
Re: Any methods for dynamic production modifiers?
Yes, these would be the ones
Also all those "bonus" and "modifier" things listed here:
http://lua-api.factorio.com/latest/LuaF ... l#LuaForce
Those two lists should give quite a few things one can use as a bonus.
Also all those "bonus" and "modifier" things listed here:
http://lua-api.factorio.com/latest/LuaF ... l#LuaForce
Those two lists should give quite a few things one can use as a bonus.