Pyrite not generating
Allmoz opened this issue ยท 3 comments
Hi,
It seems pyrite is not being generated with gold veins.
After some reading the code, in constants.py, the pyrite generation is defined as part of native gold generation for all the igneous rocks using rock categories "['igneous_extrusive', 'igneous_intrusive']" for the spoiler_rocks:
TerraFirmaCraft/resources/constants.py
Line 308 in c3c7850
But at the moment of checking those rocks in vein_ore_blocks in world_gen.py, the rocks categories are not being expanded to all the rock names, so it never generates that spoiler_ore:
TerraFirmaCraft/resources/world_gen.py
Line 982 in c3c7850
Pyrite is the only being affected right now, cose is the only one using a rock category in "spoiler_rocks". Maybe expanding spoiler_rocks with expand_rocks may be enough to solve it:
TerraFirmaCraft/resources/world_gen.py
Line 1412 in c3c7850
Cheers!
It seems it also should affect 1.20:
Yes, this is a known issue, it's not getting fixed in 1.18 due to affecting existing worlds, and is fixed in 1.20 by #2516