2020-05-31 23:31:18 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
|
|
|
Copyright (C) 2019 Joachim Stolberg
|
|
|
|
|
2020-10-25 23:32:47 +03:00
|
|
|
AGPL v3
|
2020-05-31 23:31:18 +03:00
|
|
|
See LICENSE.txt for more information
|
2022-01-04 21:43:30 +03:00
|
|
|
|
2020-05-31 23:31:18 +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-04 21:43:30 +03:00
|
|
|
groups = {ta_liquid = 1},
|
2020-05-31 23:31:18 +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",
|
|
|
|
}
|
2022-01-04 21:43:30 +03:00
|
|
|
})
|