I got a custom constant combinator (same type, other name):
Code: Select all
local deepStorageMonitor = deepcopy(data.raw["constant-combinator"]["constant-combinator"])
deepStorageMonitor.name = Settings.storageMonitorName
deepStorageMonitor.allow_copy_paste = false
Ofcourse I had to test this out (debugging my mod, making failproof).
Before: Afther (copy left chest/combinator, paste right combinator/chest respectivly) As you can see, I can not copy from the one with the allow_copy_paste = false (the one with coal); But I'm able to copy paste from a constant combinator to the custom one.
Since we (Bilka and me) weren't sure if this was intended behaviour, this bug report. (Also included mod (not same mod file as the other bug report) and save file)
Kind regards,
lovely_santa