Liquid spigots: modify texture to appear blue (better optical distinction), add craft recipes

This commit is contained in:
orwell96 2023-07-19 00:14:13 +02:00
parent 73441f5aa6
commit 578d72bca8
4 changed files with 18 additions and 2 deletions

View File

@ -127,7 +127,7 @@ minetest.register_node("advtrains:ta_liquid_loader", {
node_box = {
type = "fixed",
fixed = {
{-1/8, -7/8, -1/8, 1/8, 1/8, 1/8},
{-1/8, -6/8, -1/8, 1/8, 1/8, 1/8},
{-2/8, -5/8, -2/8, 2/8, -1/4, 2/8},
{-1/8, -1/8, 1/8, 1/8, 1/8, 4/8},
{-2/8, -2/8, 13/32, 2/8, 2/8, 1/2},
@ -224,4 +224,20 @@ liquid.register_nodes({"advtrains:ta_liquid_unloader"},
return tankcar_put_liquid(loader_relpos(pos), name, amount)
end,
}
)
)
minetest.register_craft({
output = "advtrains:ta_liquid_loader",
recipe = {
{"techage:ta3_pipeS"},
{"minecart:hopper"},
},
})
minetest.register_craft({
output = "advtrains:ta_liquid_unloader",
recipe = {
{"minecart:hopper"},
{"techage:ta3_pipeS"},
},
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 736 B

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 B

After

Width:  |  Height:  |  Size: 4.6 KiB