arena_lib/mod-init.lua.example

40 lines
1000 B
Plaintext
Raw Normal View History

arena_lib.register_minigame("call of Zughy", {
2020-04-19 08:14:18 -07:00
prefix = "[CoZ] ",
hub_spawn_point = { x = 5, y = 10, z = 4 },
teams = {
"red",
"blue"
},
2020-07-27 05:18:36 -07:00
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,
2020-04-19 08:14:18 -07:00
properties = {
2020-05-09 05:07:01 -07:00
planting_locations = {{x=30, y=20, z=40}, {x=5, y=20, z=80}}, --you can override these parameters via your mod, of course
2020-04-19 08:14:18 -07:00
},
temp_properties = {
kill_leader = " ",
is_bomb_planted = false
},
player_properties = {
killstreak = 0,
has_bomb = false
},
team_properties = {
rounds_won = 0
2020-04-19 08:14:18 -07:00
}
})
2020-04-19 08:17:35 -07:00
--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
2020-04-19 08:14:18 -07:00
-- load other scripts
dofile(minetest.get_modpath("call of Zughy") .. "/foo.lua")
dofile(minetest.get_modpath("call of Zughy") .. "/whatever.lua")