1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Made pyramids completly unbkreakable

This commit is contained in:
LeMagnesium 2015-03-24 19:33:41 +01:00
parent 4fff523d13
commit f4b9d0a10a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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