6 AUTOCVAR(g_grappling_hook_useammo,
bool,
false,
"Use ammunition with the off-hand grappling hook");
11 if(!autocvar_g_grappling_hook_useammo)
12 WEP_HOOK.ammo_factor = 0;
16 if(!autocvar_g_grappling_hook_useammo)
17 WEP_HOOK.ammo_factor = 1;
35 M_ARGV(0,
string) =
strcat(
M_ARGV(0,
string),
"\n\n^3grappling hook^8 is enabled, press 'e' (+hook) to use it\n");
40 if(autocvar_g_grappling_hook_useammo)
59 return item.weapon == WEP_HOOK.m_id;
#define REGISTER_MUTATOR(id, dependence)
#define MUTATOR_ONROLLBACK_OR_REMOVE
float warmup_start_ammo_fuel
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
#define MUTATOR_HOOKFUNCTION(...)
ERASEABLE bool expr_evaluate(string s)
Evaluate an expression of the form: [+ | -]? [var[op]val | [op]var | val | var] ...