aboutsummaryrefslogtreecommitdiff
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
parent73441f5aa6e3b23b0d7878fa8425af8348ee87e9 (diff)
downloadadvtrains-techage.tar.gz
advtrains-techage.tar.bz2
advtrains-techage.zip
Liquid spigots: modify texture to appear blue (better optical distinction), add craft recipestechage
-rw-r--r--advtrains/techage.lua20
-rw-r--r--advtrains/textures/advtrains_ta_spigot_ahead.pngbin736 -> 4856 bytes
-rw-r--r--advtrains/textures/advtrains_ta_spigot_back.pngbin621 -> 4688 bytes
-rw-r--r--advtrains/textures/advtrains_ta_spigot_side.pngbin374 -> 4675 bytes
4 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"},
+ },
+})
diff --git a/advtrains/textures/advtrains_ta_spigot_ahead.png b/advtrains/textures/advtrains_ta_spigot_ahead.png
index ab3233e..cf4cc45 100644
--- a/advtrains/textures/advtrains_ta_spigot_ahead.png
+++ b/advtrains/textures/advtrains_ta_spigot_ahead.png
Binary files differ
diff --git a/advtrains/textures/advtrains_ta_spigot_back.png b/advtrains/textures/advtrains_ta_spigot_back.png
index 12ee739..1c023cf 100644
--- a/advtrains/textures/advtrains_ta_spigot_back.png
+++ b/advtrains/textures/advtrains_ta_spigot_back.png
Binary files differ
diff --git a/advtrains/textures/advtrains_ta_spigot_side.png b/advtrains/textures/advtrains_ta_spigot_side.png
index 97c87df..4f27f9c 100644
--- a/advtrains/textures/advtrains_ta_spigot_side.png
+++ b/advtrains/textures/advtrains_ta_spigot_side.png
Binary files differ