mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2025-06-30 07:01:02 +02:00
Change shortname to “tsm_pyramids”
This commit is contained in:
8
init.lua
8
init.lua
@ -1,8 +1,8 @@
|
||||
pyramids = {}
|
||||
|
||||
dofile(minetest.get_modpath("pyramids").."/mummy.lua")
|
||||
dofile(minetest.get_modpath("pyramids").."/nodes.lua")
|
||||
dofile(minetest.get_modpath("pyramids").."/room.lua")
|
||||
dofile(minetest.get_modpath("tsm_pyramids").."/mummy.lua")
|
||||
dofile(minetest.get_modpath("tsm_pyramids").."/nodes.lua")
|
||||
dofile(minetest.get_modpath("tsm_pyramids").."/room.lua")
|
||||
|
||||
local chest_stuff = {
|
||||
{name="default:apple", max = 3},
|
||||
@ -36,7 +36,7 @@ function pyramids.fill_chest(pos)
|
||||
end
|
||||
|
||||
local function add_spawner(pos)
|
||||
minetest.set_node(pos, {name="pyramids:spawner_mummy"})
|
||||
minetest.set_node(pos, {name="tsm_pyramids:spawner_mummy"})
|
||||
if not minetest.setting_getbool("only_peaceful_mobs") then pyramids.spawn_mummy({x=pos.x,y=pos.y,z=pos.z-2},2) end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user