Page 1 of 1

[0.16.45+][Modding] Copy/Paste of constant combinator wrong?

Posted: Thu May 31, 2018 9:44 pm
by lovely_santa
Hi,

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
As you see I don't want to be able to copy paste settings to it (and also not from it).

Ofcourse I had to test this out (debugging my mod, making failproof).

Before:
Knipsel1.PNG
Knipsel1.PNG (1.16 MiB) Viewed 2409 times
Afther (copy left chest/combinator, paste right combinator/chest respectivly)
Knipsel2.PNG
Knipsel2.PNG (1.04 MiB) Viewed 2409 times
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

Re: [0.16.45+][Modding] Copy/Paste of constant combinator wrong?

Posted: Sat Jun 02, 2018 12:19 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.16.