s = strcat(s, ", ", _("Blood loss"));
if(cvar("g_jetpack"))
s = strcat(s, ", ", _("Jet pack"));
+ if(!cvar("g_powerup_superhealth"))
+ s = strcat(s, ", ", _("No superhealth"));
+ if(!cvar("g_powerup_strength"))
+ s = strcat(s, ", ", _("No strength"));
+ if(!cvar("g_powerup_shield"))
+ s = strcat(s, ", ", _("No shield"));
if(s == "")
return ZCTX(_("MUT^None"));
else
BADCVAR("sys_ticrate");
BADCVAR("teamplay_mode");
BADCVAR("timelimit_override");
+ BADPREFIX("g_powerup_");
BADPREFIX("g_warmup_");
BADPREFIX("sv_ready_restart_");
if(autocvar_g_minstagib)
s = strcat(s, ":minstagib");
+ // TODO to mutator system
+ if(!autocvar_g_powerup_superhealth)
+ s = strcat(s, ":no_superhealth");
+
+ // TODO to mutator system
+ if(!autocvar_g_powerup_strength)
+ s = strcat(s, ":no_strength");
+
+ // TODO to mutator system
+ if(!autocvar_g_powerup_shield)
+ s = strcat(s, ":no_shield");
+
GameLogEcho(s);
GameLogEcho(":gameinfo:end");
}
modifications = strcat(modifications, ", Blood loss");
if(g_jetpack)
modifications = strcat(modifications, ", Jet pack");
+ if(!autocvar_g_powerup_superhealth)
+ modifications = strcat(modifications, ", No superhealth");
+ if(!autocvar_g_powerup_strength)
+ modifications = strcat(modifications, ", No strength");
+ if(!autocvar_g_powerup_shield)
+ modifications = strcat(modifications, ", No shield");
modifications = substring(modifications, 2, strlen(modifications) - 2);
string versionmessage;