From 1eb649ae514e2f310d178ed3c291761daa986960 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 25 Jun 2014 22:32:43 -0400 Subject: [PATCH] add fishtank no craft recipe of course :P --- homedecor/misc_nodes.lua | 34 ++++++++++++++++++ .../textures/homedecor_fishtank_back.png | Bin 0 -> 205 bytes .../textures/homedecor_fishtank_bottom.png | Bin 0 -> 90 bytes .../textures/homedecor_fishtank_front.png | Bin 0 -> 205 bytes .../textures/homedecor_fishtank_left.png | Bin 0 -> 182 bytes .../textures/homedecor_fishtank_right.png | Bin 0 -> 191 bytes homedecor/textures/homedecor_fishtank_top.png | Bin 0 -> 154 bytes 7 files changed, 34 insertions(+) create mode 100644 homedecor/textures/homedecor_fishtank_back.png create mode 100644 homedecor/textures/homedecor_fishtank_bottom.png create mode 100644 homedecor/textures/homedecor_fishtank_front.png create mode 100644 homedecor/textures/homedecor_fishtank_left.png create mode 100644 homedecor/textures/homedecor_fishtank_right.png create mode 100644 homedecor/textures/homedecor_fishtank_top.png diff --git a/homedecor/misc_nodes.lua b/homedecor/misc_nodes.lua index 0a810d91..7675db75 100644 --- a/homedecor/misc_nodes.lua +++ b/homedecor/misc_nodes.lua @@ -388,4 +388,38 @@ minetest.register_node("homedecor:chimney", { sounds = default.node_sound_stone_defaults() }) +minetest.register_node("homedecor:fishtank", { + drawtype = "nodebox", + description = "Fishtank", + tiles = { + "homedecor_fishtank_top.png", + "homedecor_fishtank_bottom.png", + "homedecor_fishtank_right.png", + "homedecor_fishtank_left.png", + "homedecor_fishtank_back.png", + "homedecor_fishtank_front.png" + }, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.375, 0.5, -0.4375, 0.375}, + {-0.4375, -0.4375, -0.3125, 0.4375, 0.1875, 0.3125}, + {-0.4375, 0.1875, -0.1875, 0.4375, 0.25, 0.1875}, + {-0.1875, 0.0625, 0.0625, 0.1875, 0.25, 0.375}, + { 0.125, -0.5, 0.25, 0.1875, 0.1875, 0.375}, + {-0.375, 0.25, -0.125, 0.375, 0.3125, 0.125}, + } + }, + use_texture_alpha = true, + selection_box = { + type = "fixed", + fixed = { -0.5, -0.5, -0.375, 0.5, 0.3125, 0.375 } + }, + sunlight_propagates = true, + groups = {cracky=3,oddly_breakable_by_hand=3}, + sounds = default.node_sound_glass_defaults(), +}) + diff --git a/homedecor/textures/homedecor_fishtank_back.png b/homedecor/textures/homedecor_fishtank_back.png new file mode 100644 index 0000000000000000000000000000000000000000..d88a58ccb06dca408c397bc14e0783950a7daa24 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Q#@T9Lo7}wCrEs15IhzT9Q@nA z>sa*mJi|l06Q)jey|`xa;?MlEmuZKuGf@02Z(n!j#EAn34m_A__g-?-k^Anek8YGa zpdcxAr_~T6C^SYoH%gc!+as; n85*SrS1>MSsa*mJi|l06Q)l6>)-dbU*0|~B{3l(;llTvMs_gaBggM^rO!FUqVbWu`+;W-q z;OfZ_>f)uX`Ze+sc$t$-lXozopr0D6Z-r2qf` literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_fishtank_right.png b/homedecor/textures/homedecor_fishtank_right.png new file mode 100644 index 0000000000000000000000000000000000000000..2e31f15f2b985b14ba9d7886d07cd2c43a2c7d1a GIT binary patch literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`ZJsWUAr_~T6C^%02u^RAHS1P= z%D=VI+a)^99KyoB*_##0%FeAf`1bAX?U|Ai5)u&;M1L$fU(J?kcl`OA{rzFxhi~{y zX=4myb~$G=?a1<%_x4u%SnxJvs-U&GUotEVYIQ$dRuYu3)$GBGvq7f}VzT#Eayo>{$G$Fpcg~Jg@wtrF z?3=9&3QFrwtu<|U&+(c)=)8zj$F$`NJn=u{tr+=qMHLO%>_dT;F?hQAxvX