HideAndSeek/lua/defs.lua

25 lines
590 B
Lua
Raw Normal View History

2024-06-01 22:02:10 +00:00
-- Define gametype (could be done with a .soc but uuuuuh maybe later??)
G_AddGametype({
name = "HideAndSeek",
identifier = "hidenseek",
typeoflevel = TOL_RACE,
rules = GTR_NOPOSITION,
intermissiontype = int_none,
description = "Hide and run away from the seekers until you get caught, then join the hunt!"
})
rawset(_G, "hns_hidingtime", CV_RegisterVar({
name = "hns_hidingtime",
defaultvalue = "15",
flags = CV_NETVAR,
possiblevalue = CV_Unsigned,
}))
rawset(_G, "HNSDEFS", {
GameState = {
Loading = 0,
LevelStart = 1,
Hiding = 2,
Seeking = 3,
},
})