[READY] THE LONG AWAITED BLINDNESS QUIRK PR (#41130)

* THE LONG AWAITED BLINDNESS QUIRK PR

* quirk blacklist system

* done

* im dumb

* im rarted

rarted
This commit is contained in:
Militaires
2018-10-27 21:13:49 +02:00
committed by yogstation13-bot
parent 3824947870
commit d9622df2d7
6 changed files with 53 additions and 0 deletions

View File

@@ -11,10 +11,12 @@ PROCESSING_SUBSYSTEM_DEF(quirks)
var/list/quirks = list() //Assoc. list of all roundstart quirk datum types; "name" = /path/
var/list/quirk_points = list() //Assoc. list of quirk names and their "point cost"; positive numbers are good traits, and negative ones are bad
var/list/quirk_objects = list() //A list of all quirk objects in the game, since some may process
var/list/quirk_blacklist = list() //A list a list of quirks that can not be used with each other. Format: list(quirk1,quirk2),list(quirk3,quirk4)
/datum/controller/subsystem/processing/quirks/Initialize(timeofday)
if(!quirks.len)
SetupQuirks()
quirk_blacklist = list(list("Blind","Nearsighted"))
return ..()
/datum/controller/subsystem/processing/quirks/proc/SetupQuirks()