It's no way to decrease manual_crafting_speed_modifier

Things that already exist in the current mod API
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

It's no way to decrease manual_crafting_speed_modifier

Post by darkfrei »

Hi!

This command can make your hand crafting speed higher:

Code: Select all

/c game.local_player.force.manual_crafting_speed_modifier=2
For 0.13.9 works:

Code: Select all

/c game.player.force.manual_crafting_speed_modifier=2
Howewer, by default this value is not 1, but 0.

You can check it with this command:

Code: Select all

/c game.player.print(game.player.force.manual_crafting_speed_modifier)
The new game in Vanilla 0.13.X
The new game in Vanilla 0.13.X
man_craft01.PNG (101.16 KiB) Viewed 1963 times
All of negatives inputs don't works, value -1 and lower stop any building progress.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: It's no way to decrease manual_crafting_speed_modifier

Post by prg »

Try something between -1 and 0.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Rseding91
Factorio Staff
Factorio Staff
Posts: 13235
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: It's no way to decrease manual_crafting_speed_modifier

Post by Rseding91 »

It's a modifier, it has a default value of 0 - that's by design.

Even the lua docs description says how it works: http://lua-api.factorio.com/latest/LuaF ... d_modifier
If you want to get ahold of me I'm almost always on Discord.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5151
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: It's no way to decrease manual_crafting_speed_modifier

Post by Klonan »

prg wrote:Try something between -1 and 0.
This is right, it works something like this

0 = 100%
1 = 100% + 100% = 200%
0.5 = 100% + 50% = 150%
-1 = 100% + -100% = 0%
-0.5 = 100% + -50% = 50%

Post Reply

Return to “Already exists”