diff options
author | orwell96 <orwell@bleipb.de> | 2023-07-19 00:14:13 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2023-07-19 00:14:13 +0200 |
commit | 578d72bca8af3f4d7f24ae7950783b091e1a2752 (patch) | |
tree | ad80a1338c63ddcd7e51b127a657beb894e2a0d1 | |
parent | 73441f5aa6e3b23b0d7878fa8425af8348ee87e9 (diff) | |
download | advtrains-578d72bca8af3f4d7f24ae7950783b091e1a2752.tar.gz advtrains-578d72bca8af3f4d7f24ae7950783b091e1a2752.tar.bz2 advtrains-578d72bca8af3f4d7f24ae7950783b091e1a2752.zip |
Liquid spigots: modify texture to appear blue (better optical distinction), add craft recipestechage
-rw-r--r-- | advtrains/techage.lua | 20 | ||||
-rw-r--r-- | advtrains/textures/advtrains_ta_spigot_ahead.png | bin | 736 -> 4856 bytes | |||
-rw-r--r-- | advtrains/textures/advtrains_ta_spigot_back.png | bin | 621 -> 4688 bytes | |||
-rw-r--r-- | advtrains/textures/advtrains_ta_spigot_side.png | bin | 374 -> 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 Binary files differindex ab3233e..cf4cc45 100644 --- a/advtrains/textures/advtrains_ta_spigot_ahead.png +++ b/advtrains/textures/advtrains_ta_spigot_ahead.png diff --git a/advtrains/textures/advtrains_ta_spigot_back.png b/advtrains/textures/advtrains_ta_spigot_back.png Binary files differindex 12ee739..1c023cf 100644 --- a/advtrains/textures/advtrains_ta_spigot_back.png +++ b/advtrains/textures/advtrains_ta_spigot_back.png diff --git a/advtrains/textures/advtrains_ta_spigot_side.png b/advtrains/textures/advtrains_ta_spigot_side.png Binary files differindex 97c87df..4f27f9c 100644 --- a/advtrains/textures/advtrains_ta_spigot_side.png +++ b/advtrains/textures/advtrains_ta_spigot_side.png |