techage_modpack/techage/items/lye.lua

45 lines
1.1 KiB
Lua
Raw Permalink Normal View History

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
Lye
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
]]--
local S = techage.S
minetest.register_craftitem("techage:lye", {
description = S("Lye"),
inventory_image = "techage_liquid2_inv.png^[colorize:#7fd44c:120^techage_liquid1_inv.png",
2020-09-13 14:24:06 +03:00
groups = {ta_liquid = 1},
2020-05-31 23:31:18 +03:00
})
minetest.register_craftitem("techage:barrel_lye", {
description = S("Lye Barrel"),
inventory_image = "techage_barrel_inv.png^[colorize:#7fd44c:120^techage_symbol_liquid.png",
stack_max = 1,
})
minetest.register_craftitem("techage:canister_lye", {
description = S("Lye Canister"),
inventory_image = "techage_canister_filling.png^[colorize:#7fd44c:120^techage_canister_frame.png^techage_symbol_liquid.png",
stack_max = 1,
})
techage.recipes.add("ta4_doser", {
output = "techage:lye 4",
input = {
"techage:water 3",
"techage:usmium_powder 1",
}
})
techage.register_liquid("techage:barrel_lye", "techage:ta3_barrel_empty", 10, "techage:lye")
techage.register_liquid("techage:canister_lye", "techage:ta3_canister_empty", 1, "techage:lye")