3 #define CHECK_MUTATOR_ADD(mut_cvar,mut_name,dependence) \
4 { if(cvar(mut_cvar) && dependence) { MUTATOR_ADD(mut_name); } }
6 CHECK_MUTATOR_ADD("g_dodging", mutator_dodging, 1);
7 CHECK_MUTATOR_ADD("g_spawn_near_teammate", mutator_spawn_near_teammate, teamplay);
8 CHECK_MUTATOR_ADD("g_physical_items", mutator_physical_items, 1);
9 CHECK_MUTATOR_ADD("g_touchexplode", mutator_touchexplode, 1);
10 CHECK_MUTATOR_ADD("g_instagib", mutator_instagib, !g_nexball);
11 CHECK_MUTATOR_ADD("g_invincible_projectiles", mutator_invincibleprojectiles, !cvar("g_instagib"));
12 CHECK_MUTATOR_ADD("g_new_toys", mutator_new_toys, !cvar("g_instagib"));
13 CHECK_MUTATOR_ADD("g_nix", mutator_nix, !cvar("g_instagib"));
14 CHECK_MUTATOR_ADD("g_rocket_flying", mutator_rocketflying, !cvar("g_instagib"));
15 CHECK_MUTATOR_ADD("g_vampire", mutator_vampire, !cvar("g_instagib"));
16 CHECK_MUTATOR_ADD("g_superspectate", mutator_superspec, 1);
17 CHECK_MUTATOR_ADD("g_pinata", mutator_pinata, !cvar("g_instagib"));
18 CHECK_MUTATOR_ADD("g_midair", mutator_midair, 1);
19 CHECK_MUTATOR_ADD("g_bloodloss", mutator_bloodloss, !cvar("g_instagib"));
20 CHECK_MUTATOR_ADD("g_random_gravity", mutator_random_gravity, 1);
21 CHECK_MUTATOR_ADD("g_multijump", mutator_multijump, 1);
22 CHECK_MUTATOR_ADD("g_melee_only", mutator_melee_only, !cvar("g_instagib") && !g_nexball);
23 CHECK_MUTATOR_ADD("g_nades", mutator_nades, 1);
24 CHECK_MUTATOR_ADD("g_sandbox", sandbox, 1);
25 CHECK_MUTATOR_ADD("g_campcheck", mutator_campcheck, 1);
26 CHECK_MUTATOR_ADD("g_buffs", mutator_buffs, 1);
28 #undef CHECK_MUTATOR_ADD