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

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
lovely_santa
Fast Inserter
Fast Inserter
Posts: 144
Joined: Sat Feb 18, 2017 9:41 pm
Contact:

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

Post by lovely_santa » Thu May 31, 2018 9:44 pm

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 926 times
Afther (copy left chest/combinator, paste right combinator/chest respectivly)
Knipsel2.PNG
Knipsel2.PNG (1.04 MiB) Viewed 926 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
Attachments
TEST.zip
save file
(2.38 MiB) Downloaded 18 times
DeepStorage_0.1.0.zip
mod
(16.67 KiB) Downloaded 20 times
You can find all my mods on the mod portal.
Image

Rseding91
Factorio Staff
Factorio Staff
Posts: 9047
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 » Sat Jun 02, 2018 12:19 am

Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: Bing [Bot]