Add lapotron crystal

This commit is contained in:
mrkubax10 2023-04-15 13:40:49 +02:00
parent df492b90e3
commit a9387b9570
2 changed files with 19 additions and 0 deletions

View File

@ -506,6 +506,7 @@ if industrialtest.mclAvailable then
industrialtest.elementKeys.coal="mcl_core:coal_lump"
industrialtest.elementKeys.clay="mcl_core:clay_lump"
industrialtest.elementKeys.diamond="mcl_core:diamond"
industrialtest.elementKeys.blueDye="mcl_core:lapis"
industrialtest.elementKeys.bucket="mcl_buckets:bucket_empty"
industrialtest.elementKeys.bucketWithLava="mcl_buckets:bucket_lava"
industrialtest.elementKeys.bucketWithWater="mcl_buckets:bucket_water"
@ -713,6 +714,7 @@ elseif industrialtest.mtgAvailable then
industrialtest.elementKeys.stick="default:stick"
industrialtest.elementKeys.flint="default:flint"
industrialtest.elementKeys.snowball="default:snow"
industrialtest.elementKeys.blueDye="dye:blue"
industrialtest.elementKeys.bucket="bucket:bucket_empty"
industrialtest.elementKeys.bucketWithLava="bucket:bucket_lava"
industrialtest.elementKeys.bucketWithWater="bucket:bucket_water"

View File

@ -51,6 +51,23 @@ minetest.register_craft({
}
})
minetest.register_tool("industrialtest:lapotron_crystal",{
description=S("Lapotron Crystal"),
inventory_image="industrialtest_lapotron_crystal.png",
_industrialtest_powerStorage=true,
_industrialtest_powerCapacity=1000000,
_industrialtest_powerFlow=industrialtest.api.evPowerFlow
})
minetest.register_craft({
type="shaped",
output="industrialtest:lapotron_crystal",
recipe={
{industrialtest.elementKeys.blueDye,"industrialtest:electronic_circuit",industrialtest.elementKeys.blueDye},
{industrialtest.elementKeys.blueDye,"industrialtest:energy_crystal",industrialtest.elementKeys.blueDye},
{industrialtest.elementKeys.blueDye,"industrialtest:electronic_circuit",industrialtest.elementKeys.blueDye}
}
})
-- Other resources
minetest.register_craftitem("industrialtest:refined_iron_ingot",{
description=S("Refined Iron Ingot"),