Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyborg traitor #13692

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion code/game/gamemodes/roles/traitor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
required_pref = ROLE_TRAITOR
logo_state = "synd-logo"

restricted_jobs = list("Cyborg", "Security Cadet", "Internal Affairs Agent", "Security Officer", "Warden", "Head of Security", "Captain", "Velocity Officer", "Velocity Chief", "Velocity Medical Doctor", "Blueshield Officer")
restricted_jobs = list("Security Cadet", "Internal Affairs Agent", "Security Officer", "Warden", "Head of Security", "Captain", "Velocity Officer", "Velocity Chief", "Velocity Medical Doctor", "Blueshield Officer")
antag_hud_type = ANTAG_HUD_TRAITOR
antag_hud_name = "traitor"

Expand Down Expand Up @@ -114,6 +114,10 @@
return
for(var/datum/objective/O in objectives.GetObjectives())
O.give_required_equipment()
if(isrobot(antag.current))
var/mob/living/silicon/robot/robot = antag.current
robot.UnlinkSelf()
robot.emagged = TRUE

/datum/role/traitor/RemoveFromRole(datum/mind/M, msg_admins)
if(isAI(M.current))
Expand Down
Loading