1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Added maptools:chest into mod and tsm_pyramids

- Added node maptools:chest which is now used in tsm_pyramids
- Preparing merge conflicts
This commit is contained in:
LeMagnesium
2015-03-21 23:15:05 +01:00
parent 172c2330eb
commit ed679b04d0
3 changed files with 16 additions and 1 deletions

View File

@ -18,7 +18,7 @@ local chest_stuff = {
function pyramids.fill_chest(pos)
minetest.after(2, function()
local n = minetest.get_node(pos)
if n and n.name and n.name == "default:chest" then
if n and n.name and n.name == "maptools:chest" then
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
inv:set_size("main", 8*4)

View File

@ -35,6 +35,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
return out..code[str]
end