mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Vox fixes
This commit is contained in:
@@ -235,4 +235,12 @@ VOX HEIST ROUNDTYPE
|
||||
/datum/game_mode/vox/heist/check_finished()
|
||||
if (!(is_vox_crew_alive()) || (vox_shuttle_location && (vox_shuttle_location == "start")))
|
||||
return 1
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
/datum/game_mode/vox/heist/proc/is_vox_crew_alive()
|
||||
|
||||
for(var/datum/mind/raider in raiders)
|
||||
if(raider.current)
|
||||
if(istype(raider.current,/mob/living/carbon/human) && raider.current.stat != 2)
|
||||
return 1
|
||||
return 0
|
||||
@@ -211,4 +211,12 @@ VOX TRADE ROUNDTYPE
|
||||
/datum/game_mode/vox/trade/check_finished()
|
||||
if (!(is_vox_crew_alive()) || (vox_shuttle_location && (vox_shuttle_location == "start")))
|
||||
return 1
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
/datum/game_mode/vox/trade/proc/is_vox_crew_alive()
|
||||
|
||||
for(var/datum/mind/trader in traders)
|
||||
if(trader.current)
|
||||
if(istype(trader.current,/mob/living/carbon/human) && trader.current.stat != 2)
|
||||
return 1
|
||||
return 0
|
||||
@@ -18,16 +18,6 @@ var/global/vox_kills = 0 //Used to check the Inviolate.
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/datum/game_mode/vox/proc/is_vox_crew_alive()
|
||||
|
||||
for(var/datum/mind/raider in raiders)
|
||||
if(raider.current)
|
||||
if(istype(raider.current,/mob/living/carbon/human) && raider.current.stat != 2)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
//Vox global objectives.
|
||||
|
||||
datum/objective/vox
|
||||
|
||||
Reference in New Issue
Block a user