From 34df183e29cea42d1d52b9985a7b1e03a05ef842 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 25 Aug 2014 18:32:56 -0400 Subject: [PATCH] import Doc's "chains" mod This mod adds chandeliers hanging from a chain; recipes have been changed from Doc's original to use homedecor's chainlinks instead of steel ingots. --- chains/depends.txt | 1 + chains/init.lua | 63 +++++++++++++++++++++++++++++++++ chains/textures/Chain.png | Bin 0 -> 194 bytes chains/textures/Chain_roll.png | Bin 0 -> 216 bytes chains/textures/Chain_top.png | Bin 0 -> 387 bytes chains/textures/Chandelier.png | Bin 0 -> 710 bytes 6 files changed, 64 insertions(+) create mode 100644 chains/depends.txt create mode 100644 chains/init.lua create mode 100644 chains/textures/Chain.png create mode 100644 chains/textures/Chain_roll.png create mode 100644 chains/textures/Chain_top.png create mode 100644 chains/textures/Chandelier.png diff --git a/chains/depends.txt b/chains/depends.txt new file mode 100644 index 00000000..331d858c --- /dev/null +++ b/chains/depends.txt @@ -0,0 +1 @@ +default \ No newline at end of file diff --git a/chains/init.lua b/chains/init.lua new file mode 100644 index 00000000..755019b5 --- /dev/null +++ b/chains/init.lua @@ -0,0 +1,63 @@ +print("[Chains] v1.1") + +minetest.register_node("chains:chain", { + description = "Chain", + walkable = false, + climbable = true, + sunlight_propagates = true, + paramtype = "light", + drops = "", + tile_images = { "Chain.png" }, + drawtype = "plantlike", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), + }) +minetest.register_node("chains:chain_top", { + description = "Chain Top", + walkable = false, + climbable = true, + sunlight_propagates = true, + paramtype = "light", + drops = "", + tile_images = { "Chain_top.png" }, + drawtype = "plantlike", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), + }) +minetest.register_node("chains:chandelier", { + description = "Chandelier", + paramtype = "light", + walkable = false, + light_source = LIGHT_MAX-2, + climbable = true, + sunlight_propagates = true, + paramtype = "light", + drops = "", + tile_images = { {name="Chandelier.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}}, + drawtype = "plantlike", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), + }) +minetest.register_craft({ + output = 'chains:chain 2', + recipe = { + {'homedecor:chainlink_steel'}, + {'homedecor:chainlink_steel'}, + {'homedecor:chainlink_steel'}, + } +}) +minetest.register_craft({ + output = 'chains:chain_top', + recipe = { + {'default:steel_ingot'}, + {'homedecor:chainlink_steel'}, + }, +}) +minetest.register_craft({ + output = 'chains:chandelier', + recipe = { + {'', 'homedecor:chainlink_steel', ''}, + {'default:torch', 'homedecor:chainlink_steel', 'default:torch'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + } +}) diff --git a/chains/textures/Chain.png b/chains/textures/Chain.png new file mode 100644 index 0000000000000000000000000000000000000000..36cb2258cd464463c4d22d849ee9451f58c3d902 GIT binary patch literal 194 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`ot`d^Ar-flPTI}MpeW#ydyKE= zZ0-S}HwUG34sz)n`1P&g&_UMr2Rk+-7(K4Jw)5mmJj!T zcPJdoxL57mo3ePyCJz;ZeIMnW3=Zu%<*@04Sp%=ZeZ`m2ct6u| umkS${C9{q~?70WrNv literal 0 HcmV?d00001 diff --git a/chains/textures/Chain_roll.png b/chains/textures/Chain_roll.png new file mode 100644 index 0000000000000000000000000000000000000000..908e262e2df2828c362a36fd332ad6ef56a24b1a GIT binary patch literal 216 zcmV;}04M*6P)1A~m@`!jPKe^nubky0A9*3o+(j|pOo zgNA^av$ZzcyW1+I%nxzGnRA{ej<#GuAP8k<)Qxrs>E!xQ`>^g z?!%e;(!SOOt7Z)DFYU|zof{I`hum7CRrT>A>BL`2Z!eIAWq|8Ky{ezUyY&IB#dW^$ SbQMbg0000Nkl3JHD5FL&SYeYtygPY@oIBuN;JMo?81vMj?iO*oDNR`wk~kNiTv--n_o2!a5M z#R6d%!uNd&_^R;Du!Opr&*!-9UDqYE!uYH}TCEK*4C8uyQ54~M9tC_b#0sP(p{b%M zf~INUhIdA<0%@_)I63Z#3r0sH;F?7{JPq<}ZZYX#EX+JH1o zF`Z7aTCEVrF}Uf4@yu7!oyHy{NpgGt4mXhbiLcE8d7fjl*{uh-Xr!{N~WC!WvevIpDkw*4$n<7lAh h8mH3 literal 0 HcmV?d00001 diff --git a/chains/textures/Chandelier.png b/chains/textures/Chandelier.png new file mode 100644 index 0000000000000000000000000000000000000000..18a61f7795ed85d1a627a11461c86bed36cbded4 GIT binary patch literal 710 zcmV;%0y+JOP)D>i=%t`{@!~)5%=e9(%uXh8qZd&JCfU51_kC|?=6y1TF`(u1dCF$9Wc*4i zm&;Ttl~|xssSGayXWjEq0=8{aEEXeV6WF&-?>UJcNyPI!7Ljd2z+CDP2?k{6L?Xc* z&+#`|@Tglg9)uYNk6)(U*xT_NLBYmwgEJi=X03tI?BM3)6xiws7 zf`b~hM`y^tI>yczP}e{`2d(Wnp4(g%LTrS9$RNBpj^j`+m+RTW*2+1mEF7n1af8A>LTArUyPC*xGTG(nvOte+nxv5?*9vJ=GQ3?Q;Gy`PYYfhd+` z^`t60VU9e8-ADh~pf zXn~>{RUQP6T*|KbImCl^%UKE;2J*mM@|}@y_~zOH6zVe;?L0V3>K5vFfcd^V^5u2m zpa=>_6qAm1S{}3u2prhFl@Y~