hello,
I am trying to build an assembler entity which does not support modules at all (beacon or module) but I want it to have a productivity bonus like a prod module.
Is this possible?
note: I tried allowed_effects = { "productivity" } but it does not work because negative speed is also considered "speed". I need to put "speed" to allowed effects but then it allows speed modules which I do not want.
inherent productivity module on an assembler
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: inherent productivity module on an assembler
viewtopic.php?p=442084#p442084
LuaEntityPrototype::base_productivity
LuaEntityPrototype::base_productivity
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: inherent productivity module on an assembler
oh it is sth new.eradicator wrote: ↑Tue Nov 12, 2019 1:45 pmviewtopic.php?p=442084#p442084
LuaEntityPrototype::base_productivity
thanks a lot.