2 REGISTER_MUTATOR(melee_only, cvar("g_melee_only") && !cvar("g_instagib") && !g_nexball);
4 MUTATOR_HOOKFUNCTION(melee_only, SetStartItems)
6 start_ammo_shells = warmup_start_ammo_shells = 0;
7 start_weapons = warmup_start_weapons = WEPSET(SHOTGUN);
10 MUTATOR_HOOKFUNCTION(melee_only, ForbidThrowCurrentWeapon)
15 MUTATOR_HOOKFUNCTION(melee_only, FilterItem)
17 entity item = M_ARGV(0, entity);
21 case ITEM_HealthSmall.m_itemid:
22 case ITEM_ArmorSmall.m_itemid:
29 MUTATOR_HOOKFUNCTION(melee_only, BuildMutatorsString)
31 M_ARGV(0, string) = strcat(M_ARGV(0, string), ":MeleeOnly");
34 MUTATOR_HOOKFUNCTION(melee_only, BuildMutatorsPrettyString)
36 M_ARGV(0, string) = strcat(M_ARGV(0, string), ", Melee Only Arena");