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
Assembly Machine Crafting Speed/Productivity
Re: Assembly Machine Crafting Speed/Productivity
Code: Select all
data.raw["assembling-machine"]["assembling-machine-1"].crafting_speed = 0.5
Re: Assembly Machine Crafting Speed/Productivity
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:DaveMcW wrote: ↑Fri Jan 04, 2019 5:17 pmCode: Select all
data.raw["assembling-machine"]["assembling-machine-1"].crafting_speed = 0.5
{
{
type = "["assembling-machine"]["assembling-machine-1"].crafting_speed",
modifier = 0.1,
}
},
Or can that value not be used there?
Thanks,
CJ
- bobingabout
- Smart Inserter
- Posts: 7351
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Assembly Machine Crafting Speed/Productivity
I don't think there's any research hooks to handle that.
Re: Assembly Machine Crafting Speed/Productivity
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.bobingabout wrote: ↑Mon Jan 07, 2019 10:46 amI don't think there's any research hooks to handle that.