Tin

by brevven

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

Content
3 months ago
1.1 - 2.0
28.8K
Mining Manufacturing

b [Done] Tin recycling recipes

9 months ago
(updated 9 months ago)

Me again, I noticed that recycling recipes don't reflect changes from this mod in their recipes. I went into detail on this here but the TL;DR is:

To have out-of-the-box compatibility with the recycling recipes generated by the quality module, recipe changes should now either be:
A) Applied in the data.lua stage, rather than -updates. It can definitely make cross-mod compat more difficult (e.g. both Lead and Tin modifying the pipe-to-ground recipe). I've followed the paradigm of making recipe changes in a file called base-data-updates.lua included from data.lua (unless other mods force me to make changes elsewhere), and then modifying technologies in data-updates.
B) Erase and re-generate recycling recipes with calls into the quality module. I haven't tested this approach, but blahblahblah EDIT: it looks like you use this approach in bzlead. However, I did notice an issue with that approach

Additionally, I noticed that Solder can be recycled, which seems unintuitive to me (though if that's intended I can change that in Wooden Industry), just needs to have auto_recycle = false set.

9 months ago

I'm going to leave solder as recyclable right now because that's what my original balance pass used, but your point is taken, since solder is an alloy you can't really just "recycle" it to components. I'll think through how to approach.

Rest will be fixed in next

8 months ago

Latest update addresses the solder as recyclable issue. Basically adding an "Alloy separation" technology that enables it, details in 2.1.0 changelog

8 months ago

Very cool, cheers! Thanks for the heads up, as I'll update Cerys Lunaponics to no longer yield tinned cable (since that balance was relying on tinned cables being recyclable, but this seems much more interesting).

8 months ago

Tinned cables are still recyclable immediately (because they're not actually alloyed, just coated). Solder however is not, need the new tech.

New response