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_minstagib", mutator_minstagib, !g_nexball);
11 CHECK_MUTATOR_ADD("g_invincible_projectiles", mutator_invincibleprojectiles, !cvar("g_minstagib"));
12 CHECK_MUTATOR_ADD("g_new_toys", mutator_new_toys, !cvar("g_minstagib"));
13 CHECK_MUTATOR_ADD("g_nix", mutator_nix, !cvar("g_minstagib"));
14 CHECK_MUTATOR_ADD("g_rocket_flying", mutator_rocketflying, !cvar("g_minstagib"));
15 CHECK_MUTATOR_ADD("g_vampire", mutator_vampire, !cvar("g_minstagib"));
16 CHECK_MUTATOR_ADD("g_superspectate", mutator_superspec, 1);
17 CHECK_MUTATOR_ADD("g_pinata", mutator_pinata, !cvar("g_minstagib"));
18 CHECK_MUTATOR_ADD("g_midair", mutator_midair, 1);
19 CHECK_MUTATOR_ADD("g_bloodloss", mutator_bloodloss, !cvar("g_minstagib"));
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_minstagib") && !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);
27 #undef CHECK_MUTATOR_ADD