Definition usage.

This commit is contained in:
Segrain
2014-01-31 00:22:24 +03:00
parent aabec7f8a5
commit 75c88634f7
2 changed files with 5 additions and 6 deletions

View File

@@ -2,11 +2,6 @@
VOX HEIST ROUNDTYPE
*/
#define MAX_VOX_KILLS 10 //Number of kills during the round before the Inviolate is broken.
//Would be nice to use vox-specific kills but is currently not feasible.
var/global/vox_kills = 0 //Used to check the Inviolate.
/datum/game_mode/
var/list/datum/mind/raiders = list() //Antags.

View File

@@ -922,8 +922,12 @@ datum/objective/heist/inviolate_crew
if(H.is_raider_crew_safe()) return 1
return 0
#define MAX_VOX_KILLS 10 //Number of kills during the round before the Inviolate is broken.
//Would be nice to use vox-specific kills but is currently not feasible.
var/global/vox_kills = 0 //Used to check the Inviolate.
datum/objective/heist/inviolate_death
explanation_text = "Follow the Inviolate. Minimise death and loss of resources."
check_completion()
if(vox_kills>5) return 0
if(vox_kills > MAX_VOX_KILLS) return 0
return 1