forked from mrkubax10/industrialtest
Add energy crystal
This commit is contained in:
parent
a94ab4f826
commit
df492b90e3
@ -34,6 +34,23 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_tool("industrialtest:energy_crystal",{
|
||||||
|
description=S("Energy Crystal"),
|
||||||
|
inventory_image="industrialtest_energy_crystal.png",
|
||||||
|
_industrialtest_powerStorage=true,
|
||||||
|
_industrialtest_powerCapacity=100000,
|
||||||
|
_industrialtest_powerFlow=industrialtest.api.hvPowerFlow
|
||||||
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
type="shaped",
|
||||||
|
output="industrialtest:energy_crystal",
|
||||||
|
recipe={
|
||||||
|
{industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.powerCarrier},
|
||||||
|
{industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.diamond,industrialtest.elementKeys.powerCarrier},
|
||||||
|
{industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.powerCarrier}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-- Other resources
|
-- Other resources
|
||||||
minetest.register_craftitem("industrialtest:refined_iron_ingot",{
|
minetest.register_craftitem("industrialtest:refined_iron_ingot",{
|
||||||
description=S("Refined Iron Ingot"),
|
description=S("Refined Iron Ingot"),
|
||||||
|
Loading…
Reference in New Issue
Block a user