How would I make a mod that changes the speed of the manual production queue, preferably dynamically changing over time? Is that even possible without changing the speed of assembly machines as well?
I've never made a factorio mod, so any help is much appreciated
[Help] Production Queue Speed Change
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [Help] Production Queue Speed Change
That will allow you to, via console command, change the crafting speed.
IF you want a dynamic crafting speed, its a bit more complex. You would need to be more specific as to how it would change under what circumstances.
Craft fast initially, then slow down as you continue? Then, after not crafting for a little while, speed goes back up?
Crafting speed accelerates as you craft?
Crafting speed depends on what you are crafting? That one is admittedly quite difficult.
IF you want a dynamic crafting speed, its a bit more complex. You would need to be more specific as to how it would change under what circumstances.
Craft fast initially, then slow down as you continue? Then, after not crafting for a little while, speed goes back up?
Crafting speed accelerates as you craft?
Crafting speed depends on what you are crafting? That one is admittedly quite difficult.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [Help] Production Queue Speed Change
Nice, that is pretty close to what I need!DaveMcW wrote:https://wiki.factorio.com/Console#Craft_faster
At first I was confused whether it might be exponential or something, but the docs are very clear (http://lua-api.factorio.com/latest/LuaF ... d_modifier)
Something like that. I need to go through the mod tutorial and figure out the setup and experiment a bit.Ranakastrasz wrote: IF you want a dynamic crafting speed, its a bit more complex. You would need to be more specific as to how it would change under what circumstances.
Craft fast initially, then slow down as you continue?
Thanks to both of you! I'll probably come back with more questions later
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [Help] Production Queue Speed Change
https://mods.factorio.com/mods/justaran ... tiredhands
I would point you at this mod. It has the unfortunate effect of causing speed to decay and never recover, instead of going back up.
Still, you can probably use it as a starting point.
I would point you at this mod. It has the unfortunate effect of causing speed to decay and never recover, instead of going back up.
Still, you can probably use it as a starting point.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [Help] Production Queue Speed Change
Actually, I kinda like it like that.Ranakastrasz wrote:https://mods.factorio.com/mods/justaran ... tiredhands
I would point you at this mod. It has the unfortunate effect of causing speed to decay and never recover, instead of going back up.
Still, you can probably use it as a starting point.
Do you have a suggestion, in what situation it should recover?
The best thing I came up with is to make it so that when the player hasn't crafted anything for a while (maybe a day), then he gets a speed bonus. But I'd want it to be temporary.
I guess I could introduce a new technology that makes it faster again, but I'm not sure if I like it.
Btw, currently I made the speed decrease dependent on the number of researched technologies. It starts at factor 3, then quickly declines the more you research.
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [Help] Production Queue Speed Change
Is the crafting speed modification even working for you? Its not working for me at all....
...
Apperently a value of 0, instead of one, is the default now, and you have to go negative to alter it.
No idea why that changed.
...
Apperently a value of 0, instead of one, is the default now, and you have to go negative to alter it.
No idea why that changed.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16