[Request] Assembler Productivity
[Request] Assembler Productivity
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.
Re: [Request] Assembler Productivity
Bobmodules "god module"?
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [Request] Assembler Productivity
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.
I don't know if that is possible without looking into it, but I suspect it isn't.
Re: [Request] Assembler Productivity
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?
Re: [Request] Assembler Productivity
All modifiers come from code directly. There is no way to add new ones through modding.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?
Re: [Request] Assembler Productivity
I was afraid of that, thanks for confirming.orzelek wrote:All modifiers come from code directly. There is no way to add new ones through modding.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?
Re: [Request] Assembler Productivity
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.
Re: [Request] Assembler Productivity
http://lua-api.factorio.com/latest/LuaS ... ce.pollutekikker450 wrote:pollution seems a lot harder to do.
The position parameter is just the position from the polluting entity.
Re: [Request] Assembler Productivity
You can add negative pollution that way?pieppiep wrote: http://lua-api.factorio.com/latest/LuaS ... ce.pollute
The position parameter is just the position from the polluting entity.
Re: [Request] Assembler Productivity
Oh, since you where talking about adding productivity and adding speed I just assumed add pollutionkikker450 wrote:You can add negative pollution that way?pieppiep wrote: http://lua-api.factorio.com/latest/LuaS ... ce.pollute
The position parameter is just the position from the polluting entity.
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.