]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix monsters not dropping items in TD
authorMario <mario.mario@y7mail.com>
Tue, 22 Jan 2013 11:02:23 +0000 (22:02 +1100)
committerMario <mario.mario@y7mail.com>
Tue, 22 Jan 2013 11:02:23 +0000 (22:02 +1100)
monsters.cfg
qcsrc/server/autocvars.qh

index 5a9007bab073816a221d20abe5b3cab037010f70..e73529cee501f4458cf54f0bd3004e18583cddf9 100644 (file)
@@ -3,7 +3,8 @@ set g_monsters 1 "Enable monsters (master switch)"
 set g_monsters_skill 1 "Monster skill (affecting some of their attributes). 1 - easy, 2 - medium, 3 - hard, 4 - insane, 5 - nightmare"
 set g_monsters_miniboss_chance 5
 set g_monsters_miniboss_healthboost 100
-set g_monsters_forcedrop "" "Force all monsters to drop this item on death. Possible values are: health, armor, ammo"
+set g_monsters_forcedrop 0 "Force all monsters to drop this item on death. Use g_monsters_drop_* cvars to change forced drop item"
+set g_monsters_drop_type armor "Type of item to drop when forced. Possible values are: health, armor, ammo"
 set g_monsters_drop_size medium "Size of the item monsters drop. Possible health/amor values are: small, medium, large. Possible ammo values are: shells, bullets, cells, rockets"
 set g_monsters_owners 1 "Monsters will not attack their owners if set to 1"
 set g_monsters_teams 1
index 564c76b151c63705405e7d75b789a10e0352672c..e00fd585ba38f3a96a149c5a20eea4a7e547217c 100644 (file)
@@ -1306,7 +1306,7 @@ float autocvar_g_monsters_typefrag;
 float autocvar_g_monsters_owners;
 float autocvar_g_monsters_miniboss_chance;
 float autocvar_g_monsters_miniboss_healthboost;
-string autocvar_g_monsters_forcedrop;
+float autocvar_g_monsters_forcedrop;
 string autocvar_g_monsters_drop_type;
 string autocvar_g_monsters_drop_size;
 float autocvar_g_monsters_teams;