summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorPetr Pudlak <petr.mvd@gmail.com>2014-10-12 16:39:46 +0200
committerPetr Pudlak <petr.mvd@gmail.com>2014-10-18 19:59:22 +0200
commit9e9289b46d1efad930f09d691ad62fab7f84e8fe (patch)
treeb5a583ed184b6b3806f4890a9fb8875b5f3bcc66 /src/cgame
parente7cd2f975492875faa2f26b3b13b8015d53a94d4 (diff)
Add support for Weak Sudden Death
After it strikes, it's not possible to build near the Reactor/Overmind and it's not possible to build refineries/creep colonies. This still allows teams to build forward within the BP limit, but not strengthen their main bases any more.
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_servercmds.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index a5de53d..084e3f1 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -648,6 +648,24 @@ void CG_Menu( int menu, int arg )
+ case MN_B_WSD_INBASE:
+ longMsg = "Neither team has prevailed after a certain time and the "
+ "game has entered Weak Sudden Death. During Sudden Death "
+ "building creep colonies or refineries is not allowed, "
+ "and neither is allowed building near the Overmind or the Reactor.";
+ shortMsg = "^5Cannot build near the Reactor/Overmind during Weak Sudden Death";
+ type = DT_BUILD;
+ break;
+
+ case MN_B_WSD_REFSCOLS:
+ longMsg = "Neither team has prevailed after a certain time and the "
+ "game has entered Weak Sudden Death. During Weak Sudden Death "
+ "building creep colonies or refineries is not allowed, "
+ "and neither is allowed building near the Overmind or the Reactor.";
+ shortMsg = "^5Cannot build refineries/colonies during Weak Sudden Death";
+ type = DT_BUILD;
+ break;
+
case MN_B_SUDDENDEATH:
longMsg = "Neither team has prevailed after a certain time and the "
"game has entered Sudden Death. During Sudden Death "