Assembly Machine Crafting Speed/Productivity

Place to get help with not working mods / modding interface.
Post Reply
CJ5Boss
Fast Inserter
Fast Inserter
Posts: 130
Joined: Thu Apr 05, 2018 11:55 pm
Contact:

Assembly Machine Crafting Speed/Productivity

Post by CJ5Boss »

Hello all,
I posted in another forum but I don't think it was the right one, so here is my question:
Is there any line of code that talks about the different assembly machines and the speed at which they craft things? I am trying to make a mod that, well, modifies this.
I have searched throughout the game files by using similar search terms and have looked through hundreds of results none of which give me that specific line of code!
It would be much appreciated,
CJ

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3699
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Assembly Machine Crafting Speed/Productivity

Post by DaveMcW »

Code: Select all

data.raw["assembling-machine"]["assembling-machine-1"].crafting_speed = 0.5

CJ5Boss
Fast Inserter
Fast Inserter
Posts: 130
Joined: Thu Apr 05, 2018 11:55 pm
Contact:

Re: Assembly Machine Crafting Speed/Productivity

Post by CJ5Boss »

DaveMcW wrote:
Fri Jan 04, 2019 5:17 pm

Code: Select all

data.raw["assembling-machine"]["assembling-machine-1"].crafting_speed = 0.5
Thank you. How could I implement this into a research? For example, I want to add, say 0.1 to the crafting speed. Would I just say something like this:

{
{
type = "["assembling-machine"]["assembling-machine-1"].crafting_speed",
modifier = 0.1,
}
},

Or can that value not be used there?
Thanks,
CJ

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7351
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Assembly Machine Crafting Speed/Productivity

Post by bobingabout »

I don't think there's any research hooks to handle that.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

CJ5Boss
Fast Inserter
Fast Inserter
Posts: 130
Joined: Thu Apr 05, 2018 11:55 pm
Contact:

Re: Assembly Machine Crafting Speed/Productivity

Post by CJ5Boss »

bobingabout wrote:
Mon Jan 07, 2019 10:46 am
I don't think there's any research hooks to handle that.
Ah. That's a bit disappointing, maybe I will add it as a suggestion in the ideas section. Thanks for letting me know, I would have kept searching the tech files for ages.

Post Reply

Return to “Modding help”