From 578d72bca8af3f4d7f24ae7950783b091e1a2752 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Wed, 19 Jul 2023 00:14:13 +0200 Subject: Liquid spigots: modify texture to appear blue (better optical distinction), add craft recipes --- advtrains/techage.lua | 20 ++++++++++++++++++-- advtrains/textures/advtrains_ta_spigot_ahead.png | Bin 736 -> 4856 bytes advtrains/textures/advtrains_ta_spigot_back.png | Bin 621 -> 4688 bytes advtrains/textures/advtrains_ta_spigot_side.png | Bin 374 -> 4675 bytes 4 files changed, 18 insertions(+), 2 deletions(-) (limited to 'advtrains') 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 Binary files a/advtrains/textures/advtrains_ta_spigot_ahead.png and b/advtrains/textures/advtrains_ta_spigot_ahead.png differ diff --git a/advtrains/textures/advtrains_ta_spigot_back.png b/advtrains/textures/advtrains_ta_spigot_back.png index 12ee739..1c023cf 100644 Binary files a/advtrains/textures/advtrains_ta_spigot_back.png and b/advtrains/textures/advtrains_ta_spigot_back.png differ diff --git a/advtrains/textures/advtrains_ta_spigot_side.png b/advtrains/textures/advtrains_ta_spigot_side.png index 97c87df..4f27f9c 100644 Binary files a/advtrains/textures/advtrains_ta_spigot_side.png and b/advtrains/textures/advtrains_ta_spigot_side.png differ -- cgit v1.2.3