arena_lib/mod-init.lua.example

40 lines
1000 B
Plaintext

arena_lib.register_minigame("call of Zughy", {
prefix = "[CoZ] ",
hub_spawn_point = { x = 5, y = 10, z = 4 },
teams = {
"red",
"blue"
},
teams_color_overlay = {
"crimson",
"blue"
},
is_team_chat_default = true,
chat_all_prefix = "[All] ",
disabled_damage_types = {
"fall"
},
queue_waiting_time = 20,
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
},
team_properties = {
rounds_won = 0
}
})
--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")