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:
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user