Removes Unused Settings From Game Preferances (#23368)

* Removes all reference of ROLE_NINJA

* By public demand
This commit is contained in:
Daylight
2023-12-11 18:56:08 +02:00
committed by GitHub
parent 66ba99b7a8
commit 6275852fe9
6 changed files with 0 additions and 28 deletions
@@ -1,6 +1,5 @@
GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts to play these roles
ROLE_PAI = 0,
ROLE_POSIBRAIN = 0,
ROLE_GUARDIAN = 0,
ROLE_TRAITOR = 7,
ROLE_CHANGELING = 14,
@@ -16,8 +15,6 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
ROLE_SENTIENT = 21,
ROLE_ELITE = 21,
// ROLE_GANG = 21,
ROLE_NINJA = 21,
ROLE_GSPIDER = 21,
ROLE_ABDUCTOR = 30
))
@@ -72,18 +72,6 @@
return TRUE
return FALSE
/obj/item/mmi/robotic_brain/proc/question(client/C)
spawn(0)
if(!C)
return
var/response = alert(C, "Someone is requesting a personality for a [src]. Would you like to play as one?", "[src] request", "Yes", "No", "Never for this round")
if(!C || brainmob.key || !searching)
return //handle logouts that happen whilst the alert is waiting for a response, and responses issued after a brain has been located.
if(response == "Yes")
transfer_personality(C.mob)
else if(response == "Never for this round")
C.prefs.be_special -= ROLE_POSIBRAIN
// This should not ever happen, but let's be safe
/obj/item/mmi/robotic_brain/dropbrain(turf/dropspot)
CRASH("[src] at [loc] attempted to drop brain without a contained brain.")