arena_lib/mod-init.lua.example

26 lines
781 B
Plaintext

arena_lib.initialize("call of Zughy")
arena_lib.settings("call of Zughy", {
prefix = "[CoZ] ",
hub_spawn_point = { x = 5, y = 10, z = 4 },
queue_waiting_time = 10,
show_minimap = true,
properties = {
planting_locations = {{x=30, y=20, z=40}, {x=5, y=20, z=80}}, --you can override these parameters via your mod, of course
},
temp_properties = {
kill_leader = " ",
is_bomb_planted = false
},
player_properties = {
killstreak = 0,
has_bomb = false
}
})
--arena_lib.update_properties("call of Zughy") --REMOVE THE COMMENT IF YOU ADDED NEW PROPERTIES AND YOU NEED TO ADD THEM TO YOUR OLD ARENAS
-- load other scripts
dofile(minetest.get_modpath("call of Zughy") .. "/foo.lua")
dofile(minetest.get_modpath("call of Zughy") .. "/whatever.lua")