[MIRROR] Sintouched antag datums (#6096)
* Sintouched antag datums (#36561) * Sintouched stuff * hudz * These are boring and when they happen they happen en masse so let's just list them * undefs * Sintouched antag datums
This commit is contained in:
committed by
Poojawa
parent
3e25c34dbc
commit
4f254f181f
@@ -1,5 +1,4 @@
|
||||
/datum/game_mode
|
||||
var/list/datum/mind/sintouched = list()
|
||||
var/list/datum/mind/devils = list()
|
||||
var/devil_ascended = 0 // Number of arch devils on station
|
||||
|
||||
@@ -25,16 +24,6 @@
|
||||
hud.leave_hud(devil_mind.current)
|
||||
set_antag_hud(devil_mind.current, null)
|
||||
|
||||
/datum/game_mode/proc/update_sintouched_icons_added(datum/mind/sintouched_mind)
|
||||
var/datum/atom_hud/antag/hud = GLOB.huds[ANTAG_HUD_SINTOUCHED]
|
||||
hud.join_hud(sintouched_mind.current)
|
||||
set_antag_hud(sintouched_mind.current, "sintouched")
|
||||
|
||||
/datum/game_mode/proc/update_sintouched_icons_removed(datum/mind/sintouched_mind)
|
||||
var/datum/atom_hud/antag/hud = GLOB.huds[ANTAG_HUD_SINTOUCHED]
|
||||
hud.leave_hud(sintouched_mind.current)
|
||||
set_antag_hud(sintouched_mind.current, null)
|
||||
|
||||
/datum/game_mode/proc/update_soulless_icons_added(datum/mind/soulless_mind)
|
||||
var/datum/atom_hud/antag/hud = GLOB.huds[ANTAG_HUD_SOULLESS]
|
||||
hud.join_hud(soulless_mind.current)
|
||||
|
||||
@@ -69,8 +69,8 @@
|
||||
explanation_text = "Ensure at least [target_amount] mortals are sintouched."
|
||||
|
||||
/datum/objective/devil/sintouch/check_completion()
|
||||
return target_amount>=SSticker.mode.sintouched.len
|
||||
|
||||
var/list/touched = get_antag_minds(/datum/antagonist/sintouched)
|
||||
return touched.len >= target_amount
|
||||
|
||||
|
||||
/datum/objective/devil/buy_target
|
||||
|
||||
Reference in New Issue
Block a user