techage/items/hydrogen.lua

44 lines
1.0 KiB
Lua
Raw Normal View History

2020-02-02 00:00:58 +03:00
--[[
TechAge
=======
Copyright (C) 2019 Joachim Stolberg
2020-10-19 20:09:17 +03:00
AGPL v3
2020-02-02 00:00:58 +03:00
See LICENSE.txt for more information
2022-01-03 23:40:31 +03:00
2020-02-02 00:00:58 +03:00
TA4 Hydrogen
]]--
local S = techage.S
minetest.register_craftitem("techage:hydrogen", {
description = S("TA4 Hydrogen"),
inventory_image = "techage_hydrogen_inv.png",
2022-01-03 23:40:31 +03:00
groups = {ta_liquid = 1},
2020-02-02 00:00:58 +03:00
})
minetest.register_craftitem("techage:cylinder_small_hydrogen", {
description = S("Hydrogen Cylinder Small"),
inventory_image = "techage_gas_cylinder_small.png^[colorize:#00528A:120",
stack_max = 1,
})
minetest.register_craftitem("techage:cylinder_large_hydrogen", {
description = S("Hydrogen Cylinder Large"),
inventory_image = "techage_gas_cylinder_large.png^[colorize:#00528A:120",
stack_max = 1,
})
techage.register_liquid("techage:cylinder_small_hydrogen", "techage:ta3_cylinder_small", 1, "techage:hydrogen")
techage.register_liquid("techage:cylinder_large_hydrogen", "techage:ta3_cylinder_large", 6, "techage:hydrogen")
techage.recipes.add("ta4_doser", {
output = "techage:hydrogen 1",
input = {
"techage:gas 1",
}
})