Page 1 of 1

[RESOLVED]fast_replaceable_group

Posted: Mon Apr 17, 2017 6:45 am
by NathGamer
I am trying to make solar panels be in a fast_replaceable_group but when I try and do it I get an error saying that the solar panel group enitiy doesn't exist or something.

This is what i am using:

Code: Select all

data.raw.solar-panel["solar-panel"].fast_replaceable_group = "solar-panel"
I am doing the same thing as above with accumulators and steam engines. Does someone know how I can do this successfully?

Re: fast_replaceable_group

Posted: Mon Apr 17, 2017 6:54 am
by NathGamer
I found my answer in another mods code.

Here is the solution:

Code: Select all

data.raw["solar-panel"]["solar-panel"].fast_replaceable_group = "solar-panel"