From 18605d21c8466c5e4c113e36912cf979d0b56581 Mon Sep 17 00:00:00 2001 From: cale Date: Thu, 4 Feb 2016 12:00:00 +0100 Subject: [PATCH] added some new blocks and repainted tree/log texture --- mods/default/nodes.lua | 34 ++++++++++++++++-- mods/default/nodes.lua~ | 34 ++++++++++++++++-- mods/default/textures/default_brick.png | Bin 0 -> 269 bytes mods/default/textures/default_log.png | Bin 274 -> 264 bytes mods/default/textures/default_log_top.png | Bin 0 -> 276 bytes mods/default/textures/default_mushroom.png | Bin 0 -> 225 bytes .../default/textures/default_mushroom_inv.png | Bin 0 -> 206 bytes mods/default/textures/default_straw_side.png | Bin 0 -> 520 bytes mods/default/textures/default_straw_top.png | Bin 0 -> 353 bytes 9 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 mods/default/textures/default_brick.png create mode 100644 mods/default/textures/default_log_top.png create mode 100644 mods/default/textures/default_mushroom.png create mode 100644 mods/default/textures/default_mushroom_inv.png create mode 100644 mods/default/textures/default_straw_side.png create mode 100644 mods/default/textures/default_straw_top.png diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index fdda9aa..dbd4e64 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -289,7 +289,7 @@ minetest.register_node("default:wooden_planks", { minetest.register_node("default:log_1", { description = "Log (thick)", - tiles = {"default_log.png"}, + tiles = {"default_log_top.png","default_log_top.png","default_log.png"}, groups = {choppy = 3}, paramtype = "light", paramtype2 = "facedir", @@ -305,7 +305,7 @@ minetest.register_node("default:log_1", { minetest.register_node("default:log_2", { description = "Log", - tiles = {"default_log.png"}, + tiles = {"default_log_top.png","default_log_top.png","default_log.png"}, groups = {choppy = 3}, paramtype = "light", paramtype2 = "facedir", @@ -321,7 +321,7 @@ minetest.register_node("default:log_2", { minetest.register_node("default:log_3", { description = "Log (thin)", - tiles = {"default_log.png"}, + tiles = {"default_log_top.png","default_log_top.png","default_log.png"}, groups = {choppy = 3}, paramtype = "light", paramtype2 = "facedir", @@ -418,6 +418,26 @@ minetest.register_node("default:flower_2", { groups = {crumbly = 3, plant = 1}, }) +minetest.register_node("default:mushroom", { + description = "Mushroom", + tiles = {"default_mushroom.png"}, + drawtype = "plantlike", + paramtype = "light", + inventory_image = "default_mushroom_inv.png", + buildable_to = true, + walkable = false, + groups = {crumbly = 3, plant = 1}, +}) + +-- straw + +minetest.register_node("default:straw", { + description = "Straw", + tiles = {"default_straw_top.png", "default_straw_top.png", "default_straw_side.png"}, + groups = {crumbly = 3}, +}) + + -- frames minetest.register_node("default:frame", { @@ -572,6 +592,14 @@ minetest.register_node("default:gravel", { } }) +--brick + +minetest.register_node("default:brick", { + description = "Brick", + tiles = {"default_brick.png"}, + groups = {cracky = 3}, +}) + -- ores minetest.register_node("default:stone_with_coal", { diff --git a/mods/default/nodes.lua~ b/mods/default/nodes.lua~ index fdda9aa..dbd4e64 100644 --- a/mods/default/nodes.lua~ +++ b/mods/default/nodes.lua~ @@ -289,7 +289,7 @@ minetest.register_node("default:wooden_planks", { minetest.register_node("default:log_1", { description = "Log (thick)", - tiles = {"default_log.png"}, + tiles = {"default_log_top.png","default_log_top.png","default_log.png"}, groups = {choppy = 3}, paramtype = "light", paramtype2 = "facedir", @@ -305,7 +305,7 @@ minetest.register_node("default:log_1", { minetest.register_node("default:log_2", { description = "Log", - tiles = {"default_log.png"}, + tiles = {"default_log_top.png","default_log_top.png","default_log.png"}, groups = {choppy = 3}, paramtype = "light", paramtype2 = "facedir", @@ -321,7 +321,7 @@ minetest.register_node("default:log_2", { minetest.register_node("default:log_3", { description = "Log (thin)", - tiles = {"default_log.png"}, + tiles = {"default_log_top.png","default_log_top.png","default_log.png"}, groups = {choppy = 3}, paramtype = "light", paramtype2 = "facedir", @@ -418,6 +418,26 @@ minetest.register_node("default:flower_2", { groups = {crumbly = 3, plant = 1}, }) +minetest.register_node("default:mushroom", { + description = "Mushroom", + tiles = {"default_mushroom.png"}, + drawtype = "plantlike", + paramtype = "light", + inventory_image = "default_mushroom_inv.png", + buildable_to = true, + walkable = false, + groups = {crumbly = 3, plant = 1}, +}) + +-- straw + +minetest.register_node("default:straw", { + description = "Straw", + tiles = {"default_straw_top.png", "default_straw_top.png", "default_straw_side.png"}, + groups = {crumbly = 3}, +}) + + -- frames minetest.register_node("default:frame", { @@ -572,6 +592,14 @@ minetest.register_node("default:gravel", { } }) +--brick + +minetest.register_node("default:brick", { + description = "Brick", + tiles = {"default_brick.png"}, + groups = {cracky = 3}, +}) + -- ores minetest.register_node("default:stone_with_coal", { diff --git a/mods/default/textures/default_brick.png b/mods/default/textures/default_brick.png new file mode 100644 index 0000000000000000000000000000000000000000..4b944a49804abb62f17e9f5aef2578844b718f14 GIT binary patch literal 269 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?iy0WWg+Z8+Vb&Z8pdfpR zr>`sf111(O73oNg8=XKQ$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj3KNKT40#a81RTGhlhvf&YYZzDRqDUbvHIXeA*tbvU2%!eucco z8=c$^cYi+=_k5N4u6bcTqY2+T+y71xZ`oZsgxAmeW*0E&$wIGH?LRn!Ro~V&XzNa% z^{Vjc@{2VN7JPAaKV0XA^gBPzs5OX^@43dl`0GI+Q$>e?;e=AA*~>*W+kj4D@O1Ta JS?83{1ORG%U-$q3 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_log.png b/mods/default/textures/default_log.png index 4a4f3b3b35b28ad107c1632323134b10188ae3a1..02233d8c7607da6a12dd0aa8110dc3d36abf3185 100644 GIT binary patch delta 173 zcmV;e08;;w0*C^TKMLRi1PTx~r`>l8kx3|jf=NU{R7l5T>?#Ripe0~ppfMPH76|e4 zP-FqA`soxzA3pyWjbu1@_wmc%_5rC5ga83v4qQobFvS6$v^ZK8ks4yiDP@3sfVId& zON%2dlF3NpSVIicoZ*@ea20uERHy?TL_|hD9-lE$l8J~(T7xVVkx}0bv=4}k8$3Q3 bqqz?Nz!N2sr}Glf00000NkvXXu0mjf=CDGN delta 183 zcmV;o07(Cc0+IrdKMLOq2?{GE6^GV2kx3|jj7da6R7l5TYzxq2pe0};s6tIcgA6GW zEFcfS?Pg-2F<>IY*Hn%J^1!VdH;A`sf111(OVfk}TdzJu&BuiW)N}Tg^b5rw57@Uhz6H8K46v{J8G8EiBeFMT9`NV;W z`aE46Lp+WrztQ4MT%ekew7_t|PF9@)F?Dup(X)U5Jyzev%EQC+CMPGv@bB~W@yvoQ z5pUH+6WR_s{Ak$or?WPDa)EQ z`8xQ&AAHX2b?SQKH^!%>cMkk)m{cI2As?_h*HFN2LD-Ju?F{$Cq;-7*85w+ZR1+o5 S7cT?4jKR~@&t;ucLK6Vyp<$r_ literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mushroom.png b/mods/default/textures/default_mushroom.png new file mode 100644 index 0000000000000000000000000000000000000000..243d36a204b74a439fe8d7e7a86bad9388ee332a GIT binary patch literal 225 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz&H|6fVg?3oVGw3ym^DWND9B#o z>Fdh=fQf}mk2hSn6{JzJ#5JPCIX^cyHLrxhxhOTUBsE2$JhLQ2!QIn0AiR-J9H=PT z)5S3);&5_;1nc4ik)EbN11`6N8X(RRX15^IoSC7Y$!-|R1Yfz~j1 My85}Sb4q9e0G}{I%>V!Z literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mushroom_inv.png b/mods/default/textures/default_mushroom_inv.png new file mode 100644 index 0000000000000000000000000000000000000000..76118297d1f55702081fe0e5efa8d968dcb47ba8 GIT binary patch literal 206 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#0TTS|xv6<249-QVi6yBi3gww484B*6z5(HleBwYw z9-c0aAr_~T6C^%02*xIyUNhxRw19~GCgF7_x9a}=1X5(AqvK;I{njHI<(gJ+;|-?FZR5Jj4``{3>C zT?nyR=H^LSWVTu6%#VC}ewrX*{BCv*Ke`ru6KMnzns z`7&@R0v$O^WMyG5>bZbwFHx_`gost(Wut$e8a?%Jb8oFL?ZT+(sFhsGBF$btxBpmV z!oZxiQGwk~iu`3jIumC&kFk|ye%H8%&TsF)01y~;pfMoqEB|hgFFoW4SoSVgbS4b6y}Qn0000< KMNUMnLSTaAiP`l4 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_straw_top.png b/mods/default/textures/default_straw_top.png new file mode 100644 index 0000000000000000000000000000000000000000..75f891de97ac92efd68d7cce129ccf2394d7525d GIT binary patch literal 353 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1SJ1Ryj={WI14-?iy0WWg+Z8+Vb&Z8pdfpR zr>`sf111(O9SM#f%+^35$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj3fs#mPy-kqRkHT6KV$kfzR&p$R?e_3TIe)8GU zd->UtW?Jkwe^q3$K3n>#Zl~;vP-%;g7acF^3Et42n(|ug!@2-lU!~aluNFK^RoHv+ z;WZ(ldv*OLbA7nvLtcx@8oBS9QCV)Lce9%1$GgAp_}I=)>$