arena_lib/mod-init.lua.example

37 lines
816 B
Plaintext
Raw Permalink Normal View History

2020-10-11 09:11:07 -07:00
arena_lib.register_minigame("Call of Zughy", {
2020-04-19 08:14:18 -07:00
prefix = "[CoZ] ",
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"
},
show_minimap = true,
time_mode = "incremental",
2020-04-19 08:14:18 -07:00
properties = {
2020-10-11 09:11:07 -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
}
})
-- load other scripts
2020-10-11 09:11:07 -07:00
dofile(minetest.get_modpath("call_of_zughy") .. "/foo.lua")
dofile(minetest.get_modpath("call_of_zughy") .. "/whatever.lua")