]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/monsters/lib/defs.qh
Don't drop items if killed by mobkill command
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / monsters / lib / defs.qh
index ea72ad9ae9569cb829ddc7824ff5c1f5d38ff9b8..0eda75bdf3bb0efce3621178d7abba463a2eb3b4 100644 (file)
@@ -4,7 +4,7 @@
 .float()       attack_ranged;
 .float()       checkattack;
 
-entity(entity ent) FindTarget;
+.float candrop;
 
 .float spawner_monstercount;
 
@@ -25,6 +25,15 @@ const float MONSTERFLAG_APPEAR = 256; // delay spawn until triggered
 const float MONSTERFLAG_GIANT = 512; // experimental giant monsters feature
 const float MONSTERFLAG_SPAWNED = 1024; // flag for spawned monsters
 
+.float msound_delay; // restricts some monster sounds
+.string msound_idle;
+.string msound_death;
+.string msound_attack_melee;
+.string msound_attack_ranged;
+.string msound_spawn;
+.string msound_sight;
+.string msound_pain;
+
 .void() monster_spawnfunc;
 .void() monster_die;
 .void() monster_delayedattack;