forked from mrkubax10/industrialtest
Register uranium cell and coolant cell as tools
This commit is contained in:
parent
32669afafe
commit
70c9b758f8
@ -423,8 +423,16 @@ industrialtest.api.registerStorageCell("water","Water",industrialtest.elementKey
|
|||||||
if industrialtest.mtgAvailable then
|
if industrialtest.mtgAvailable then
|
||||||
industrialtest.api.registerStorageCell("river_water","River Water","default:river_water_source")
|
industrialtest.api.registerStorageCell("river_water","River Water","default:river_water_source")
|
||||||
end
|
end
|
||||||
|
|
||||||
industrialtest.api.registerStorageCell("lava","Lava",industrialtest.elementKeys.lavaSource)
|
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({
|
minetest.register_craft({
|
||||||
type="shapeless",
|
type="shapeless",
|
||||||
output="industrialtest:uranium_cell",
|
output="industrialtest:uranium_cell",
|
||||||
@ -433,7 +441,14 @@ minetest.register_craft({
|
|||||||
"industrialtest:uranium_ingot"
|
"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({
|
minetest.register_craft({
|
||||||
type="shaped",
|
type="shaped",
|
||||||
output="industrialtest:coolant_cell 16",
|
output="industrialtest:coolant_cell 16",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user