inherent productivity module on an assembler

Place to get help with not working mods / modding interface.
Post Reply
rhynex
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Tue Apr 17, 2018 9:55 am
Contact:

inherent productivity module on an assembler

Post by rhynex »

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.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: inherent productivity module on an assembler

Post by eradicator »

viewtopic.php?p=442084#p442084
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.

rhynex
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Tue Apr 17, 2018 9:55 am
Contact:

Re: inherent productivity module on an assembler

Post by rhynex »

eradicator wrote:
Tue Nov 12, 2019 1:45 pm
viewtopic.php?p=442084#p442084
LuaEntityPrototype::base_productivity
oh it is sth new.
thanks a lot.

Post Reply

Return to “Modding help”