mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Traitor Special Role Fix (#12740)
* Traitor Fix * Further_Updated_Special_Role_Traitor
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
// justice if someone's abusing your role
|
||||
#define ROLE_SYNDICATE "Syndicate"
|
||||
#define ROLE_TRAITOR "traitor"
|
||||
#define ROLE_MINDSLAVE "mindslave"
|
||||
#define ROLE_OPERATIVE "operative"
|
||||
#define ROLE_CHANGELING "changeling"
|
||||
#define ROLE_WIZARD "wizard"
|
||||
|
||||
@@ -52,8 +52,7 @@
|
||||
if(!traitor || !istype(traitor))
|
||||
pre_traitors.Remove(traitor)
|
||||
continue
|
||||
if(istype(traitor))
|
||||
traitor.special_role = SPECIAL_ROLE_TRAITOR
|
||||
if(istype(traitor))
|
||||
traitor.restricted_roles = restricted_jobs
|
||||
|
||||
// if(!traitors.len)
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
break
|
||||
var/datum/mind/traitor = pick(possible_traitors)
|
||||
pre_traitors += traitor
|
||||
traitor.special_role = SPECIAL_ROLE_TRAITOR
|
||||
traitor.restricted_roles = restricted_jobs
|
||||
possible_traitors.Remove(traitor)
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
/datum/antagonist/mindslave
|
||||
name = "Mindslave"
|
||||
roundend_category = "mindslaves"
|
||||
job_rank = ROLE_MINDSLAVE
|
||||
var/special_role = ROLE_MINDSLAVE
|
||||
job_rank = SPECIAL_ROLE_TRAITOR
|
||||
var/special_role = SPECIAL_ROLE_TRAITOR
|
||||
|
||||
/datum/antagonist/mindslave/on_gain()
|
||||
owner.special_role = special_role
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
name = "Traitor"
|
||||
roundend_category = "traitors"
|
||||
job_rank = ROLE_TRAITOR
|
||||
var/special_role = ROLE_TRAITOR
|
||||
var/special_role = SPECIAL_ROLE_TRAITOR
|
||||
var/give_objectives = TRUE
|
||||
var/should_give_codewords = TRUE
|
||||
var/should_equip = TRUE
|
||||
|
||||
Reference in New Issue
Block a user