aboutsummaryrefslogtreecommitdiff
path: root/advtrains/techage.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2023-07-19 00:14:13 +0200
committerorwell96 <orwell@bleipb.de>2023-07-19 00:14:13 +0200
commit578d72bca8af3f4d7f24ae7950783b091e1a2752 (patch)
treead80a1338c63ddcd7e51b127a657beb894e2a0d1 /advtrains/techage.lua
parent73441f5aa6e3b23b0d7878fa8425af8348ee87e9 (diff)
downloadadvtrains-578d72bca8af3f4d7f24ae7950783b091e1a2752.tar.gz
advtrains-578d72bca8af3f4d7f24ae7950783b091e1a2752.tar.bz2
advtrains-578d72bca8af3f4d7f24ae7950783b091e1a2752.zip
Liquid spigots: modify texture to appear blue (better optical distinction), add craft recipestechage
Diffstat (limited to 'advtrains/techage.lua')
-rw-r--r--advtrains/techage.lua20
1 files changed, 18 insertions, 2 deletions
diff --git a/advtrains/techage.lua b/advtrains/techage.lua
index 472c26b..bbe218c 100644
--- a/advtrains/techage.lua
+++ b/advtrains/techage.lua
@@ -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,
}
-) \ No newline at end of file
+)
+
+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"},
+ },
+})