Add missing transformer crafts

This commit is contained in:
mrkubax10 2023-04-15 13:54:26 +02:00
parent acde04b766
commit c5dfe59200
2 changed files with 20 additions and 1 deletions

View File

@ -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"

View File

@ -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",""}
}
})