Page 1 of 1

[Help] Production Queue Speed Change

Posted: Thu May 11, 2017 10:31 pm
by smu42
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 :)

Re: [Help] Production Queue Speed Change

Posted: Thu May 11, 2017 10:59 pm
by DaveMcW

Re: [Help] Production Queue Speed Change

Posted: Thu May 11, 2017 11:04 pm
by Ranakastrasz
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.

Re: [Help] Production Queue Speed Change

Posted: Fri May 12, 2017 1:14 am
by smu42
Nice, that is pretty close to what I need!
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)

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?
Something like that. I need to go through the mod tutorial and figure out the setup and experiment a bit.

Thanks to both of you! I'll probably come back with more questions later :)

Re: [Help] Production Queue Speed Change

Posted: Fri May 12, 2017 1:29 am
by Ranakastrasz
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.

Re: [Help] Production Queue Speed Change

Posted: Sat May 13, 2017 1:49 pm
by smu42
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.
Actually, I kinda like it like that.
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.

Re: [Help] Production Queue Speed Change

Posted: Sat May 13, 2017 1:58 pm
by Ranakastrasz
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.