Closed programmerjake closed 2 months ago
We really should switch to using xcompat
, but I see no reason not to add this small change in the meantime :+1:
Actually now that I look a bit closer, you should add the changes to lines 17 and 18, like this:
tin_ingot = has_moreores and "moreores:tin_ingot" or has_mcl and "mcl_core:iron_ingot" or "default:tin_ingot",
tin_lump = has_moreores and "moreores:tin_lump" or has_mcl and "mcl_raw_ores:raw_iron" or "default:tin_lump",
Actually now that I look a bit closer, you should add the changes to lines 17 and 18, like this:
tin_ingot = has_moreores and "moreores:tin_ingot" or has_mcl and "mcl_core:iron_ingot" or "default:tin_ingot", tin_lump = has_moreores and "moreores:tin_lump" or has_mcl and "mcl_raw_ores:raw_iron" or "default:tin_lump",
no, because you need default:tin_*
even if you have moreores
. so I thought that would make the boolean expression too complex, so I used a much easier to understand if
without moreores | with moreores | |
---|---|---|
minetest game | default's tin | default's tin |
mineclone* | mineclone's iron | moreores's tin |
Oh, right... because moreores doesn't register its tin when default tin is available 🤦
Fixes: #381