]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/mutator_nades.qh
Some updates and fixes to nades, new special bonus nades with different powers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_nades.qh
1 .entity nade;
2 .entity fake_nade;
3 .float nade_refire;
4 .float bonus_nades;
5 .float nade_special_time;
6 .float bonus_nade_score;
7 .float nade_type;
8 .string pokenade_type;
9 .entity nade_damage_target;
10 .float cvar_cl_nade_type;
11 .string cvar_cl_pokenade_type;
12 .float toss_time;
13 .float stat_healing_orb;
14 .float stat_healing_orb_alpha;
15 .float nade_show_particles;
16
17 void toss_nade(entity e, vector _velocity, float _time);
18
19 // Remove nades that are being thrown
20 void(entity player) nades_Clear;
21
22 // Give a bonus grenade to a player
23 void(entity player, float score) nades_GiveBonus;
24 // Remove all bonus nades from a player
25 void(entity player) nades_RemoveBonus;