[Request] Assembler Productivity

This is the place to request new mods or give ideas about what could be done.
Post Reply
ziphmose
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 10, 2016 2:00 pm
Contact:

[Request] Assembler Productivity

Post by ziphmose »

How about a mod that adds assembler productivity through research just like drill productivity research. Could also tack on smelter productivity research to stretch resources even more.

giimer
Inserter
Inserter
Posts: 21
Joined: Fri Apr 14, 2017 1:03 am
Contact:

Re: [Request] Assembler Productivity

Post by giimer »

Bobmodules "god module"?

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

Re: [Request] Assembler Productivity

Post by bobingabout »

Thanks for recommending my mod, but I don't think he meant modules.

I don't know if that is possible without looking into it, but I suspect it isn't.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

ziphmose
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 10, 2016 2:00 pm
Contact:

Re: [Request] Assembler Productivity

Post by ziphmose »

I spent a few hours poking around the forums and the game files. It appears impossible without knowing where things like technology modifier are defined. Does anyone happen to know where that is?

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [Request] Assembler Productivity

Post by orzelek »

ziphmose wrote:I spent a few hours poking around the forums and the game files. It appears impossible without knowing where things like technology modifier are defined. Does anyone happen to know where that is?
All modifiers come from code directly. There is no way to add new ones through modding.

ziphmose
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 10, 2016 2:00 pm
Contact:

Re: [Request] Assembler Productivity

Post by ziphmose »

orzelek wrote:
ziphmose wrote:I spent a few hours poking around the forums and the game files. It appears impossible without knowing where things like technology modifier are defined. Does anyone happen to know where that is?
All modifiers come from code directly. There is no way to add new ones through modding.
I was afraid of that, thanks for confirming.

kikker450
Inserter
Inserter
Posts: 30
Joined: Fri May 05, 2017 9:07 am
Contact:

Re: [Request] Assembler Productivity

Post by kikker450 »

In theory it should be possible, you can read and write the bonus_progress of a Lua entity (http://lua-api.factorio.com/latest/LuaE ... s_progress). So if you keep track of the assembling-machines and change the bonus_progress at every tick according to some multiplier (which changes after certain researches) you can manually boost productivity. Same goes for speed btw, pollution seems a lot harder to do.

pieppiep
Fast Inserter
Fast Inserter
Posts: 170
Joined: Mon Mar 14, 2016 8:52 am
Contact:

Re: [Request] Assembler Productivity

Post by pieppiep »

kikker450 wrote:pollution seems a lot harder to do.
http://lua-api.factorio.com/latest/LuaS ... ce.pollute
The position parameter is just the position from the polluting entity.

kikker450
Inserter
Inserter
Posts: 30
Joined: Fri May 05, 2017 9:07 am
Contact:

Re: [Request] Assembler Productivity

Post by kikker450 »

pieppiep wrote: http://lua-api.factorio.com/latest/LuaS ... ce.pollute
The position parameter is just the position from the polluting entity.
You can add negative pollution that way?

pieppiep
Fast Inserter
Fast Inserter
Posts: 170
Joined: Mon Mar 14, 2016 8:52 am
Contact:

Re: [Request] Assembler Productivity

Post by pieppiep »

kikker450 wrote:
pieppiep wrote: http://lua-api.factorio.com/latest/LuaS ... ce.pollute
The position parameter is just the position from the polluting entity.
You can add negative pollution that way?
Oh, since you where talking about adding productivity and adding speed I just assumed add pollution :)
I know that if I would make an pollute function I would make it like new_value = Math.min(old_value + difference, 0) so that you could indeed add negative values.

Post Reply

Return to “Ideas and Requests For Mods”