From 83557888ae40d334a815765b1344561d00b39cb0 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 25 Aug 2014 18:56:48 -0400 Subject: [PATCH] add brass versions of chains' items --- chains/init.lua | 85 +++++++++++++++++- chains/textures/chains_chain_brass.png | Bin 0 -> 326 bytes chains/textures/chains_chain_top_brass.png | Bin 0 -> 566 bytes .../textures/chains_chain_top_brass_inv.png | Bin 0 -> 358 bytes chains/textures/chains_chandelier_brass.png | Bin 0 -> 1181 bytes .../textures/chains_chandelier_brass_inv.png | Bin 0 -> 591 bytes 6 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 chains/textures/chains_chain_brass.png create mode 100644 chains/textures/chains_chain_top_brass.png create mode 100644 chains/textures/chains_chain_top_brass_inv.png create mode 100644 chains/textures/chains_chandelier_brass.png create mode 100644 chains/textures/chains_chandelier_brass_inv.png diff --git a/chains/init.lua b/chains/init.lua index 761e2cd..b3ae070 100644 --- a/chains/init.lua +++ b/chains/init.lua @@ -1,7 +1,9 @@ print("[Chains] v1.1") +-- wrought iron items + minetest.register_node("chains:chain", { - description = "Hanging chain", + description = "Hanging chain (wrought iron)", walkable = false, climbable = true, sunlight_propagates = true, @@ -15,7 +17,7 @@ minetest.register_node("chains:chain", { }) minetest.register_node("chains:chain_top", { - description = "Hanging chain (ceiling mount)", + description = "Hanging chain (ceiling mount, wrought iron)", walkable = false, climbable = true, sunlight_propagates = true, @@ -29,7 +31,7 @@ minetest.register_node("chains:chain_top", { }) minetest.register_node("chains:chandelier", { - description = "Chandelier", + description = "Chandelier (wrought iron)", paramtype = "light", walkable = false, light_source = LIGHT_MAX-2, @@ -44,6 +46,54 @@ minetest.register_node("chains:chandelier", { sounds = default.node_sound_stone_defaults(), }) +-- brass-based items + +minetest.register_node("chains:chain_brass", { + description = "Hanging chain (brass)", + walkable = false, + climbable = true, + sunlight_propagates = true, + paramtype = "light", + drops = "", + tiles = { "chains_chain_brass.png" }, + inventory_image = "chains_chain_brass.png", + drawtype = "plantlike", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("chains:chain_top_brass", { + description = "Hanging chain (ceiling mount, brass)", + walkable = false, + climbable = true, + sunlight_propagates = true, + paramtype = "light", + drops = "", + tiles = { "chains_chain_top_brass.png" }, + inventory_image = "chains_chain_top_brass_inv.png", + drawtype = "plantlike", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("chains:chandelier_brass", { + description = "Chandelier (brass)", + paramtype = "light", + walkable = false, + light_source = LIGHT_MAX-2, + climbable = true, + sunlight_propagates = true, + paramtype = "light", + drops = "", + tiles = { {name="chains_chandelier_brass.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}}, + inventory_image = "chains_chandelier_brass_inv.png", + drawtype = "plantlike", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +-- crafts + minetest.register_craft({ output = 'chains:chain 2', recipe = { @@ -69,3 +119,32 @@ minetest.register_craft({ {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, } }) + +-- brass versions + +minetest.register_craft({ + output = 'chains:chain_brass 2', + recipe = { + {'homedecor:chainlink_brass'}, + {'homedecor:chainlink_brass'}, + {'homedecor:chainlink_brass'}, + } +}) + +minetest.register_craft({ + output = 'chains:chain_top_brass', + recipe = { + {'technic:brass_ingot'}, + {'homedecor:chainlink_brass'}, + }, +}) + +minetest.register_craft({ + output = 'chains:chandelier_brass', + recipe = { + {'', 'homedecor:chainlink_brass', ''}, + {'default:torch', 'homedecor:chainlink_brass', 'default:torch'}, + {'technic:brass_ingot', 'technic:brass_ingot', 'technic:brass_ingot'}, + } +}) + diff --git a/chains/textures/chains_chain_brass.png b/chains/textures/chains_chain_brass.png new file mode 100644 index 0000000000000000000000000000000000000000..75d19d19833d5880ac32b274f6b948fd04880e18 GIT binary patch literal 326 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPqhp3>Y<<<{R&4EIfJzX3_EKVmU9AGY6WBT`g%-V1A z^QF{cgsz{T{#RT`C@}#Dc2uwBUauH&aOK~5|2J;zEMsJ5W_FHg`BHD3{O|uBrd>QK zjW>l${~dSrm@Lj#zP|Kt{l{10hmZU3mjs%*REKBXeEq|j4BU3kvsPdI=iRZ<&}Pr} z`Fji&XvoIc%=-`@*LyN5h9xkJ05P~U^wL!n^~qRHWTPQ N22WQ%mvv4FO#ootdmR7( literal 0 HcmV?d00001 diff --git a/chains/textures/chains_chain_top_brass.png b/chains/textures/chains_chain_top_brass.png new file mode 100644 index 0000000000000000000000000000000000000000..0becccfcd2580ae9b28ea259e51e31770464e329 GIT binary patch literal 566 zcmV-60?GY}P)-Q&AMgf6u<^)X-2LX8u`bvkDuvj=>5Nnx`u1`dP9Mf zFc3CMNOVkE5jR9ztHYJ9*_2P<2H*e@Bf-kkPCY)_1wiK8Oa_PokpQBAYm{*B{uGx} z(-y$koox-&R+vQFNRZEdWoa&{^97Ik^EUuu75;*K1Qck@!xaE+Hvj+t07*qoM6N<$ Eg46!|i~s-t literal 0 HcmV?d00001 diff --git a/chains/textures/chains_chain_top_brass_inv.png b/chains/textures/chains_chain_top_brass_inv.png new file mode 100644 index 0000000000000000000000000000000000000000..52f9e17fdd4901c00d555cd8bb7e5088246f5371 GIT binary patch literal 358 zcmV-s0h#`ZP)U9!<)Ci7-~vX{*!F`s^o>i#p4P8Ma3i;-hcRw*9$nov|eqvrgKLkNe=_xfMSLVm+Sw3 z{_>ZBPf(A6fnhmmUXWEzV&vvxW{{KNU{KMnWF$EZT5Hw*M}}%LFfcGMTsvDxdKlcl zF#)dW?BNj7!{Gg!lMGE&s{h}A_{|_7Y{tOAum-C-0FU}`W#@0WQ~&?~07*qoM6N<$ Ef>t1?DF6Tf literal 0 HcmV?d00001 diff --git a/chains/textures/chains_chandelier_brass.png b/chains/textures/chains_chandelier_brass.png new file mode 100644 index 0000000000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ha~`gx;ohqdRpj%F;X&WGZxKKmaZX0nXz$fVZgOAWkJTT(>KnO|VED!G4?0Qd<7?O3X7sZ48%`NQD$7M!Ib_V1d*YX?y$R;1ced8v2 z+G;2k4|>{aNSq+Xu-$=T!`F;kQvEdlXsR4J#cFuZT#CtqHE-@`iHTy+*d%(|YDl#A vT-PiQ+_x9~KKO3JiK0>|q}l!d1|Iwc^Q?B9%YmLT00000NkvXXu0mjfgGnDo literal 0 HcmV?d00001 diff --git a/chains/textures/chains_chandelier_brass_inv.png b/chains/textures/chains_chandelier_brass_inv.png new file mode 100644 index 0000000000000000000000000000000000000000..4a835dd0b232aba61d22696960e0b5f6dbc95beb GIT binary patch literal 591 zcmV-V0jEIU{(TxRe<%(`3f)-uWjS<9&g6$$^h>;hu zx;R}_AlWJ$C=>`5v*>3uG`&i9LYQm)Yz1!@bxxiAMbFjuKF|9;?++hP28pS&G&$xW zq0dY+Z-a#Y#pIZWO1%rgRWdo^Z6N1n1LUA2g{}) zQ>)~XO*pkPAC}{xu$4w0OIXT$$57a+T7d}L0dgq@uf$%G2^kAg9>YK@JakKHu^zDNLLpvV;*n})P>;{}V-b{tvYd6?M2Fz=XYXVajuJ&`uWD@Cg8cQ$U z`9O43PV7AJj9D!@EJ%5Tug(3rfwKW%ETZA-0fL#^jD;4S`KSoI4sjT>W(n@*}9^G}2 d&}Xh#@DuC?(g1>i%6R|)002ovPDHLkV1fnK6iNU9 literal 0 HcmV?d00001