From f5c95744ae3a5f0af662031669f7dcc3acd18afb Mon Sep 17 00:00:00 2001 From: addi Date: Sun, 12 Jun 2016 07:52:55 +0200 Subject: [PATCH] Added some more reinforced bars --- building.lua | 127 ++++++++++++++++++--- textures/darkage_bars.png | Bin 0 -> 202 bytes textures/darkage_reinforce_arrow.png | Bin 0 -> 334 bytes textures/darkage_reinforce_left.png | Bin 0 -> 662 bytes textures/darkage_reinforce_right.png | Bin 0 -> 630 bytes textures/darkage_reinforced_wood_left.png | Bin 716 -> 0 bytes textures/darkage_reinforced_wood_right.png | Bin 669 -> 0 bytes 7 files changed, 111 insertions(+), 16 deletions(-) create mode 100644 textures/darkage_bars.png create mode 100644 textures/darkage_reinforce_arrow.png create mode 100644 textures/darkage_reinforce_left.png create mode 100644 textures/darkage_reinforce_right.png delete mode 100644 textures/darkage_reinforced_wood_left.png delete mode 100644 textures/darkage_reinforced_wood_right.png diff --git a/building.lua b/building.lua index efb2ff1..746119f 100644 --- a/building.lua +++ b/building.lua @@ -5,7 +5,6 @@ minetest.register_node("darkage:glass", { inventory_image = minetest.inventorycube("darkage_glass.png"), paramtype = "light", sunlight_propagates = true, - is_ground_content = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), }) @@ -18,7 +17,6 @@ minetest.register_node("darkage:glow_glass", { paramtype = "light", light_source = 18, sunlight_propagates = true, - is_ground_content = true, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), }) @@ -52,42 +50,139 @@ minetest.register_craft({ minetest.register_node("darkage:reinforced_chalk", { description = "Reinforced Chalk", tiles = {"darkage_chalk.png^darkage_reinforce.png"}, - is_ground_content = true, groups = {cracky=3}, sounds = default.node_sound_stone_defaults() }) +minetest.register_node("darkage:reinforced_chalk_right", { + description = "Reinforced Chalk", + tiles = {"darkage_chalk.png^darkage_reinforce_right.png"}, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults() +}) + +minetest.register_node("darkage:reinforced_chalk_left", { + description = "Reinforced Chalk", + tiles = {"darkage_chalk.png^darkage_reinforce_left.png"}, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults() +}) + +minetest.register_node("darkage:reinforced_chalk_arrow", { + description = "Reinforced Chalk Arrow \nHint: use the screwdriver to rotate.", + tiles = {"darkage_chalk.png" , "darkage_chalk.png" , --top ,down + "darkage_chalk.png^(darkage_reinforce_arrow.png^[transformR90)" , "darkage_chalk.png^(darkage_reinforce_arrow.png^[transformR270)" , --right, left + "darkage_chalk.png^(darkage_reinforce_arrow.png^[transformR180)" , "darkage_chalk.png^darkage_reinforce_arrow.png"}, -- front, back + paramtype2 = "facedir", + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + output = 'darkage:reinforced_chalk_arrow 4', + recipe = { + {'darkage:chalk_powder', 'group:stick', 'darkage:chalk_powder'}, + {'group:stick', 'darkage:chalk_powder', 'group:stick'}, + {'group:stick', 'darkage:chalk_powder', 'group:stick'}, + } +}) + +minetest.register_node("darkage:chalk_bars", { + description = "Chalk Bars", + tiles = {"darkage_chalk.png^darkage_bars.png"}, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + output = 'darkage:chalk_bars 4', + recipe = { + {'group:stick', 'darkage:chalk_powder', 'group:stick'}, + {'group:stick', 'darkage:chalk_powder', 'group:stick'}, + {'group:stick', 'darkage:chalk_powder', 'group:stick'}, + } +}) + minetest.register_node("darkage:reinforced_wood", { description = "Reinforced Wood", tiles = {"default_wood.png^darkage_reinforce.png"}, - is_ground_content = true, groups = {snappy=2,choppy=3,oddly_breakable_by_hand=3,flammable=3}, sounds = default.node_sound_wood_defaults() }) minetest.register_node("darkage:reinforced_wood_right", { description = "Reinforced Wood Right", - tiles = {"darkage_reinforced_wood_right.png"}, - is_ground_content = true, + tiles = {"default_wood.png^darkage_reinforce_right.png"}, groups = {snappy=2,choppy=3,oddly_breakable_by_hand=3,flammable=3}, sounds = default.node_sound_wood_defaults() }) minetest.register_node("darkage:reinforced_wood_left", { description = "Reinforced Wood Left", - tiles = {"darkage_reinforced_wood_left.png"}, - is_ground_content = true, + tiles = {"default_wood.png^darkage_reinforce_left.png"}, groups = {snappy=2,choppy=3,oddly_breakable_by_hand=3,flammable=3}, sounds = default.node_sound_wood_defaults() }) +minetest.register_node("darkage:reinforced_wood_arrow", { + description = "Reinforced Wood Arrow \nHint: use the screwdriver to rotate.", + tiles = {"default_wood.png" , "default_wood.png" , --top ,down + "default_wood.png^(darkage_reinforce_arrow.png^[transformR90)" , "default_wood.png^(darkage_reinforce_arrow.png^[transformR270)" , --right, left + "default_wood.png^(darkage_reinforce_arrow.png^[transformR180)" , "default_wood.png^darkage_reinforce_arrow.png"}, -- front, back + paramtype2 = "facedir", + groups = {snappy=2,choppy=3,oddly_breakable_by_hand=3,flammable=3}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_craft({ + output = 'darkage:reinforced_wood_arrow 4', + recipe = { + {'default:wood', 'group:stick', 'default:wood'}, + {'group:stick', 'default:wood', 'group:stick'}, + {'group:stick', 'default:wood', 'group:stick'}, + } +}) + +minetest.register_node("darkage:wood_bars", { + description = "Wooden Bars", + tiles = {"default_wood.png^darkage_bars.png"}, + groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_craft({ + output = 'darkage:wood_bars 4', + recipe = { + {'group:stick', 'default:wood', 'group:stick'}, + {'group:stick', 'default:wood', 'group:stick'}, + {'group:stick', 'default:wood', 'group:stick'}, + } +}) minetest.register_craft({ output = 'darkage:reinforced_chalk', recipe = { - {'default:stick','','default:stick'}, + {'group:stick','','group:stick'}, {'','darkage:chalk',''}, - {'default:stick','','default:stick'}, + {'group:stick','','group:stick'}, + } +}) + +minetest.register_craft({ + output = 'darkage:reinforced_chalk_right', + recipe = { + {'','','group:stick'}, + {'','darkage:chalk',''}, + {'group:stick','',''}, + } +}) + +minetest.register_craft({ + output = 'darkage:reinforced_chalk_left', + recipe = { + {'group:stick','',''}, + {'','darkage:chalk',''}, + {'','','group:stick'}, } }) @@ -103,9 +198,9 @@ minetest.register_craft({ minetest.register_craft({ output = 'darkage:reinforced_wood', recipe = { - {'default:stick','','default:stick'}, + {'group:stick','','group:stick'}, {'','default:wood',''}, - {'default:stick','','default:stick'}, + {'group:stick','','group:stick'}, } }) @@ -119,9 +214,9 @@ minetest.register_craft({ minetest.register_craft({ output = 'darkage:reinforced_wood_left', recipe = { - {'default:stick','',''}, + {'group:stick','',''}, {'','default:wood',''}, - {'','','default:stick'}, + {'','','group:stick'}, } }) @@ -135,9 +230,9 @@ minetest.register_craft({ minetest.register_craft({ output = 'darkage:reinforced_wood_right', recipe = { - {'','','default:stick'}, + {'','','group:stick'}, {'','default:wood',''}, - {'default:stick','',''}, + {'group:stick','',''}, } }) diff --git a/textures/darkage_bars.png b/textures/darkage_bars.png new file mode 100644 index 0000000000000000000000000000000000000000..fb9932b91825d1f11f457040b459fabb6a631b42 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G_YAk0{w57-Dhy=;T1I0}4FO-m#*N1#i+f?3YdWZa>|iV8OQC&5~;- zoVS}b;Zo_Ev^0~&#rJ#OA8g^-_Loz^^6z`5i+zkz`bUTl8)zv5gQu&X%Q~loCIHSfN`e3Y literal 0 HcmV?d00001 diff --git a/textures/darkage_reinforce_arrow.png b/textures/darkage_reinforce_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..f308649f83ffcbeb12971549dfa01b1e76fac71f GIT binary patch literal 334 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=G^rh1>#+YnAtw0tMMiJbhi+?{EonOYkL~W&s%@RpJ^^5}cn_Ql40p$`Fv4nOCCc z=Nh6=W~^tbXJ}yXrD!2g)pk!8#}Etuslkq1hYff>?=`q~P~(lki>2HD{;!l2TETJN zb9%GqqZ^ZyCjZ#;j(1}||2nz%rHOG9-xuXIFv3bs$l_%aT zXP;U)wQE&h@|v!@nTDBB|L*89bjj>^&i!dA)5c%wtK6(vCUklIIxmqJz_;Lc`LQ_D be_!|CToIzJ9DVN*&cY#9EQjs7eR!v$?CO`~{gacQuhIsH#;mC=TmtHt< zAT-g05RWw>dMMFoHlT?}MKKji+d#{B*s|TKG4W02@=d;X-g&+maX^Rg)YlCnU>G2+ zTJsVR=#D}-0=fwwO5WZDAQ=Z;tANwrNBYi?jKpK@Zs1vApSf%j5jZ$J2H?B_E9=FH zj6+cYWK&RZ%e;Pt9*En5ZX4XsjPU*JCji;>4Zps!UIak7C75}Tkt{ED!7Y>D+|^H( zrvn)PEC3ElryW(d1gZ+u>Q&AMCnU?BF1Te@*LL*7g?qo5K&|Q}>FT}?Kow9H@bRdI zWkowo@|(MQU^Ffljizr9QlRYZ8Fm^S49*6;_an z$0!Hl-I|#d*!~9-PhkZ{H0;fOJUPgCa*%{$k#H>Lmlh?Pg3^)4B-r?7{}6y^7?f$k z=aUNc*6^=D0VJm~{&iN@cJ%b@O$kCYO;Dx*d+ssOqtgyhz5-x(w%_T2(YU~wXJCLb z70gW~v17e{&&G@Qq{p1L$(Z9axdQt%zlW(n39$d^nCfMlQ+muH;aD9(5=)ChZo>x) zObQ@(`_PXc&4_LH{y{nT@~#ZGavQqfdVlBSYZ;kOp|@Nn`427MrdV)c*a2A>LI0?L w`z0`6AOtj9%K&;pV3?qRZ*@r7(AxvQ01YtEFXpd6i~s-t07*qoM6N<$f?rZ0od5s; literal 0 HcmV?d00001 diff --git a/textures/darkage_reinforce_right.png b/textures/darkage_reinforce_right.png new file mode 100644 index 0000000000000000000000000000000000000000..af0244647742b51994be892b48aee322120b99be GIT binary patch literal 630 zcmV-+0*U>JP)Nm4;fB5e_q6^gBgo|2wCw1*yoP_O<`-g3yvi=IS8sH9K` z-byVrHNobPCN&td#-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