]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qh
fixed whitelisting and gave some score cvars better names
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / mayhem / sv_mayhem.qh
1 #pragma once
2
3 #include <common/mutators/base.qh>
4 //someone who understands numbers better check if 2 following floats can be ints without imprecision, I'm scared of spaghettimonsters
5 float autocvar_g_mayhem_fraglimit;
6 float autocvar_g_mayhem_visual_score_limit;
7 float mayhempointmultiplier = 1000/30;
8 void mayhem_Initialize();
9
10 REGISTER_MUTATOR(mayhem, false)
11 {
12     MUTATOR_STATIC();
13         MUTATOR_ONADD
14         {
15                 mayhem_Initialize();
16         }
17         return 0;
18 }