2019-11-17 02:08:10 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
|
|
|
Copyright (C) 2019 Joachim Stolberg
|
|
|
|
|
2020-10-19 20:09:17 +03:00
|
|
|
AGPL v3
|
2019-11-17 02:08:10 +03:00
|
|
|
See LICENSE.txt for more information
|
2022-01-03 23:40:31 +03:00
|
|
|
|
|
|
|
Epoxy
|
|
|
|
|
2019-11-17 02:08:10 +03:00
|
|
|
]]--
|
|
|
|
|
|
|
|
local S = techage.S
|
|
|
|
|
|
|
|
minetest.register_craftitem("techage:epoxy", {
|
|
|
|
description = S("Epoxide Resin"),
|
2019-11-17 16:52:59 +03:00
|
|
|
inventory_image = "techage_liquid2_inv.png^[colorize:#ca2446:140^techage_liquid1_inv.png",
|
2019-11-17 02:08:10 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("techage:barrel_epoxy", {
|
|
|
|
description = S("Epoxide Resin Barrel"),
|
2019-11-17 16:52:59 +03:00
|
|
|
inventory_image = "techage_barrel_inv.png^[colorize:#ca2446:140^techage_symbol_liquid.png",
|
2019-11-17 02:08:10 +03:00
|
|
|
stack_max = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("techage:canister_epoxy", {
|
|
|
|
description = S("Epoxide Resin Canister"),
|
2019-11-17 16:52:59 +03:00
|
|
|
inventory_image = "techage_canister_filling.png^[colorize:#ca2446:140^techage_canister_frame.png^techage_symbol_liquid.png",
|
2019-11-17 02:08:10 +03:00
|
|
|
stack_max = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
techage.recipes.add("ta4_doser", {
|
|
|
|
output = "techage:epoxy 1",
|
|
|
|
input = {
|
|
|
|
"techage:naphtha 1",
|
|
|
|
"techage:needle_powder 1",
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
techage.register_liquid("techage:barrel_epoxy", "techage:ta3_barrel_empty", 10, "techage:epoxy")
|
|
|
|
techage.register_liquid("techage:canister_epoxy", "techage:ta3_canister_empty", 1, "techage:epoxy")
|
|
|
|
|
2022-01-04 21:40:27 +03:00
|
|
|
minetest.register_alias("techage:ta4_epoxy", "techage:canister_epoxy")
|