Register uranium cell and coolant cell as tools

This commit is contained in:
mrkubax10 2023-11-18 14:24:49 +01:00
parent 32669afafe
commit 70c9b758f8

View File

@ -423,8 +423,16 @@ industrialtest.api.registerStorageCell("water","Water",industrialtest.elementKey
if industrialtest.mtgAvailable then
industrialtest.api.registerStorageCell("river_water","River Water","default:river_water_source")
end
industrialtest.api.registerStorageCell("lava","Lava",industrialtest.elementKeys.lavaSource)
industrialtest.api.registerStorageCell("uranium","Uranium")
minetest.register_tool("industrialtest:uranium_cell",{
description=S("Uranium Cell"),
groups={
_industrialtest_nuclearReactorFuel=1
},
inventory_image="industrialtest_uranium_cell.png",
})
minetest.register_craft({
type="shapeless",
output="industrialtest:uranium_cell",
@ -433,7 +441,14 @@ minetest.register_craft({
"industrialtest:uranium_ingot"
}
})
industrialtest.api.registerStorageCell("coolant","Coolant")
minetest.register_tool("industrialtest:coolant_cell",{
description=S("Coolant Cell"),
groups={
_industrialtest_nuclearReactorFuel=1
},
inventory_image="industrialtest_coolant_cell.png",
})
minetest.register_craft({
type="shaped",
output="industrialtest:coolant_cell 16",