From f4b9d0a10aab8d922d39bdf922a0893d19be884f Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Tue, 24 Mar 2015 19:33:41 +0100 Subject: [PATCH] Made pyramids completly unbkreakable --- mods/tsm_pyramids/nodes.lua | 2 +- mods/tsm_pyramids/room.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/tsm_pyramids/nodes.lua b/mods/tsm_pyramids/nodes.lua index 7974f443..14817bce 100644 --- a/mods/tsm_pyramids/nodes.lua +++ b/mods/tsm_pyramids/nodes.lua @@ -5,7 +5,7 @@ for i=1,3 do description = "Sandstone with "..img[i], tiles = {"default_sandstone.png^tsm_pyramids_"..img[i]..".png"}, is_ground_content = true, - groups = {crumbly=2,cracky=3}, + groups = {unbreakable=1}, sounds = default.node_sound_stone_defaults(), }) end diff --git a/mods/tsm_pyramids/room.lua b/mods/tsm_pyramids/room.lua index 0a371c2e..4de9995f 100644 --- a/mods/tsm_pyramids/room.lua +++ b/mods/tsm_pyramids/room.lua @@ -71,7 +71,7 @@ local function replace(str,iy) if iy == 0 and str == "s" then out = "tsm_pyramids:" str = "sun" end if iy == 3 and str == "s" then out = "tsm_pyramids:" str = "men" end if str == "a" then out = "" end - if str == "c" then out = "maptools:" end + if str == "c" or str == "s" or str == "b" then out = "maptools:" end return out..code[str] end