mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Allows roundstart observers to freely use antag HUD without losing respawnability (#23009)
* First pass * do away with old antag hud variable * rework cannotPossess * some verification + cleanups * Update code/modules/mob/dead/observer/observer_base.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * splits up log call * Slightly refactor proc calls, continuing contra's review * Log admin --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -48,12 +48,14 @@ GLOBAL_LIST_EMPTY(ert_request_messages)
|
||||
to_chat(src, "<span class='warning'>This role is not yet available to you. You need to wait another [player_age_check] days.</span>")
|
||||
return FALSE
|
||||
|
||||
if(cannotPossess(src))
|
||||
return TRUE
|
||||
|
||||
/mob/dead/observer/JoinResponseTeam()
|
||||
. = ..()
|
||||
if(!check_ahud_rejoin_eligibility())
|
||||
to_chat(src, "<span class='boldnotice'>Upon using the antagHUD you forfeited the ability to join the round.</span>")
|
||||
return FALSE
|
||||
|
||||
return TRUE
|
||||
|
||||
/proc/trigger_armed_response_team(datum/response_team/response_team_type, commander_slots, security_slots, medical_slots, engineering_slots, janitor_slots, paranormal_slots, cyborg_slots, cyborg_security)
|
||||
GLOB.response_team_members = list()
|
||||
GLOB.active_team = response_team_type
|
||||
|
||||
Reference in New Issue
Block a user