apparently iron tools need to exist otherwise GTM shits itself

This commit is contained in:
Pyritie 2025-04-22 01:05:34 +01:00
parent 918f3ce7e5
commit bf0d05a633

View file

@ -217,6 +217,9 @@ const registerGTCEuMaterialModification = (event) => {
GTMaterials.BismuthBronze.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(2.5, 2.0, 178, 2, metalTooling).build());
GTMaterials.BlackBronze.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(3.3, 2.0, 204, 2, metalTooling).build());
GTMaterials.BlackSteel.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(6.5, 4.5, 1228, 3, metalTooling).build());
// Cast iron tools don't make sense but gregtech shits itself if they're missing,
// so I'm just giving them terrible terrible stats
GTMaterials.Iron.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(1.0, 1.0, 100, 2, metalTooling).build());
for (var material of GTCEuAPI.materialManager.getRegisteredMaterials()) {
var toolProperty = material.getProperty(PropertyKey.TOOL);