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
|
|
|
|
|
|
|
|
TA4 Hydrogen
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|
|
|
|
local S = techage.S
|
|
|
|
|
|
|
|
minetest.register_craftitem("techage:hydrogen", {
|
|
|
|
description = S("TA4 Hydrogen"),
|
|
|
|
inventory_image = "techage_hydrogen_inv.png",
|
2020-08-30 20:16:32 +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",
|
|
|
|
}
|
|
|
|
})
|