int autocvar_g_surv_defender_attacker_frag_rockets;
/// \brief How many cells do defenders get when they frag an attacker.
int autocvar_g_surv_defender_attacker_frag_cells;
+/// \brief How much plasma do defenders get when they frag an attacker.
+int autocvar_g_surv_defender_attacker_frag_plasma;
+/// \brief How much fuel do defenders get when they frag an attacker.
+int autocvar_g_surv_defender_attacker_frag_fuel;
/// \brief How much health do defenders get when they frag cannon fodder.
int autocvar_g_surv_defender_cannon_fodder_frag_health;
/// \brief How much armor do defenders get when they frag cannon fodder.
int autocvar_g_surv_defender_cannon_fodder_frag_rockets;
/// \brief How many cells do defenders get when they frag cannon fodder.
int autocvar_g_surv_defender_cannon_fodder_frag_cells;
+/// \brief How much plasma do defenders get when they frag cannon fodder.
+int autocvar_g_surv_defender_cannon_fodder_frag_plasma;
+/// \brief How much fuel do defenders get when they frag cannon fodder.
+int autocvar_g_surv_defender_cannon_fodder_frag_fuel;
/// \brief A stat that is used to track the time left in the round.
.float surv_round_time_stat = _STAT(SURV_ROUND_TIME);
autocvar_g_surv_defender_attacker_frag_rockets);
GiveResource(attacker, RESOURCE_CELLS,
autocvar_g_surv_defender_attacker_frag_cells);
+ GiveResource(attacker, RESOURCE_PLASMA,
+ autocvar_g_surv_defender_attacker_frag_plasma);
+ GiveResource(attacker, RESOURCE_FUEL,
+ autocvar_g_surv_defender_attacker_frag_fuel);
break;
}
case SURVIVAL_ROLE_CANNON_FODDER:
autocvar_g_surv_defender_cannon_fodder_frag_rockets);
GiveResource(attacker, RESOURCE_CELLS,
autocvar_g_surv_defender_cannon_fodder_frag_cells);
+ GiveResource(attacker, RESOURCE_PLASMA,
+ autocvar_g_surv_defender_cannon_fodder_frag_plasma);
+ GiveResource(attacker, RESOURCE_FUEL,
+ autocvar_g_surv_defender_cannon_fodder_frag_fuel);
break;
}
}
set g_surv_defender_attacker_frag_bullets 0 "How many bullets do defenders get when they frag an attacker"
set g_surv_defender_attacker_frag_rockets 0 "How many rockets do defenders get when they frag an attacker"
set g_surv_defender_attacker_frag_cells 0 "How many cells do defenders get when they frag an attacker"
+set g_surv_defender_attacker_frag_plasma 0 "How much plasma do defenders get when they frag an attacker"
+set g_surv_defender_attacker_frag_fuel 0 "How much fuel do defenders get when they frag an attacker"
set g_surv_defender_cannon_fodder_frag_health 0 "How much health do defenders get when they frag cannon fodder"
set g_surv_defender_cannon_fodder_frag_armor 0 "How much armor do defenders get when they frag cannon fodder"
set g_surv_defender_cannon_fodder_frag_shells 0 "How many shells do defenders get when they frag cannon fodder"
set g_surv_defender_cannon_fodder_frag_bullets 0 "How many bullets do defenders get when they frag cannon fodder"
set g_surv_defender_cannon_fodder_frag_rockets 0 "How many rockets do defenders get when they frag cannon fodder"
set g_surv_defender_cannon_fodder_frag_cells 0 "How many cells do defenders get when they frag cannon fodder"
+set g_surv_defender_cannon_fodder_frag_plasma 0 "How much plasma do defenders get when they frag cannon fodder"
+set g_surv_defender_cannon_fodder_frag_fuel 0 "How much fuel do defenders get when they frag cannon fodder"