diff --git a/compatibility.lua b/compatibility.lua index 34221ee..bb4a0c7 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -507,6 +507,7 @@ if industrialtest.mclAvailable then industrialtest.elementKeys.clay="mcl_core:clay_lump" industrialtest.elementKeys.diamond="mcl_core:diamond" industrialtest.elementKeys.blueDye="mcl_core:lapis" + industrialtest.elementKeys.yellowDust="mcl_nether:glowstone_dust" industrialtest.elementKeys.bucket="mcl_buckets:bucket_empty" industrialtest.elementKeys.bucketWithLava="mcl_buckets:bucket_lava" industrialtest.elementKeys.bucketWithWater="mcl_buckets:bucket_water" @@ -715,6 +716,7 @@ elseif industrialtest.mtgAvailable then industrialtest.elementKeys.flint="default:flint" industrialtest.elementKeys.snowball="default:snow" industrialtest.elementKeys.blueDye="dye:blue" + industrialtest.elementKeys.yellowDust="dye:yellow" industrialtest.elementKeys.bucket="bucket:bucket_empty" industrialtest.elementKeys.bucketWithLava="bucket:bucket_lava" industrialtest.elementKeys.bucketWithWater="bucket:bucket_water" diff --git a/machines.lua b/machines.lua index 439f9a3..d138c58 100644 --- a/machines.lua +++ b/machines.lua @@ -1779,7 +1779,15 @@ registerTransformer({ upperFlow=industrialtest.api.evPowerFlow, sounds="metal" }) --- TODO: Craft for HV transformer +minetest.register_craft({ + type="shaped", + output="industrialtest:hv_transformer", + recipe={ + {"","industrialtest:insulated_iron_cable",""}, + {"industrialtest:electronic_circuit","industrialtest:mv_transformer","industrialtest:energy_crystal"}, + {"","industrialtest:insulated_iron_cable",""} + } +}) registerTransformer({ name="ev_transformer", @@ -1791,3 +1799,12 @@ registerTransformer({ sounds="metal" }) -- TODO: Craft for EV Transformer +minetest.register_craft({ + type="shaped", + output="industrialtest:ev_transformer", + recipe={ + {"","industrialtest:insulated_iron_cable",""}, + {"industrialtest:advanced_electronic_circuit","industrialtest:hv_transformer","industrialtest:lapotron_crystal"}, + {"","industrialtest:insulated_iron_cable",""} + } +})