adjusted logic for humanize_spider (#25286)

This commit is contained in:
Burzah
2024-04-28 13:05:39 -07:00
committed by GitHub
parent a42bacb9fa
commit fc7acc4597
@@ -16,10 +16,6 @@
humanize_prompt += " Role: [spider_role_summary]"
if(user.ckey in GLOB.ts_ckey_blacklist)
error_on_humanize = "You are not able to control any terror spider this round."
else if(isobserver(user))
var/mob/dead/observer/O = user
if(!O.check_ahud_rejoin_eligibility())
error_on_humanize = "You have enabled antag HUD and are unable to re-enter the round."
else if(!ai_playercontrol_allowtype)
error_on_humanize = "This specific type of terror spider is not player-controllable."
else if(degenerate)
@@ -28,6 +24,10 @@
error_on_humanize = "Dead spiders are not player-controllable."
else if(!HAS_TRAIT(user, TRAIT_RESPAWNABLE))
error_on_humanize = "You are not able to rejoin the round."
else if(isobserver(user))
var/mob/dead/observer/O = user
if(!O.check_ahud_rejoin_eligibility())
error_on_humanize = "You have enabled antag HUD and are unable to re-enter the round."
if(jobban_isbanned(user, ROLE_SYNDICATE) || jobban_isbanned(user, ROLE_TSPIDER))
to_chat(user, "<span class='warning'>You are jobbanned from role of syndicate and/or terror spider.</span>")
return