Tin

by brevven

Adds tin, solder and more to the base game. Compatible with Krastorio 2 and Space Exploration. A standalone piece of BZ Mods.

Content
2 months ago
1.1
20.1K
Mining Manufacturing

i Cable subgroup SchallCircuitGroup workaround

1 year, 8 months ago

SchallCircuitGroup redefine subgroup for some wires.
To avoid this, I use following code:

if data.raw["item-subgroup"]["cable"] then
    if mods.SchallCircuitGroup then
        data.raw["item-subgroup"]["cable"].group = "circuit"
    end
    util.set_item_subgroup("copper-cable", "cable")
    util.set_item_subgroup("red-wire", "cable")
    util.set_item_subgroup("green-wire", "cable")
    if mods.modmashsplintergold then
        util.set_item_subgroup("gold-cable", "cable")
    end
end

I think that here it will look better than in my unpublished mod.

1 year, 8 months ago

Thanks for letting me know! I will try to make that seamless, and include modmashsplinter gold as well.

1 year, 8 months ago
(updated 1 year, 8 months ago)

Hmmm. Investigating this it seems to be focused around circuit network stuff. Guess copper cable gets a little torn between groups, due to power switches. For BZ, I think the cables group is oriented around intermediate products that all happen to be cable-shaped, and I'd like that to be the default.

Three ideas how to handle this going forward:

  • I could add a setting in my new Optional Advanced BZ Settings mod
  • Schall could add it to their mod as a setting (or however they prefer)
  • You could publish a small compatibility mod.

Do you like any of these or have other ideas?

1 year, 8 months ago

copper cable gets a little torn between groups

Currently it flee from your group if Schall here ^_^

You could publish a small compatibility mod.
I could add a setting in my new Optional Advanced BZ Settings mod

I think, we can do it simultaneously. Currently I am writing mod for reduce amount of contents in overflowing groups like intermediate or logistics. However it also deals with Dectorio/Asphalt/etc... and not so small. I can add this setting there. You can also add this to your setting mod. I will check it and hide my option if your mod here.

New response