mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 02:54:44 +01:00
Fix quirks list in preferences menu being empty before SSquirks (#8327)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
@@ -17,19 +17,28 @@ PROCESSING_SUBSYSTEM_DEF(quirks)
|
||||
///An assoc list of quirks that can be obtained as a hardcore character, and their hardcore value.
|
||||
var/list/hardcore_quirks = list()
|
||||
|
||||
var/static/list/quirks_blacklist = list(
|
||||
list("Blind","Nearsighted"),
|
||||
list("Jolly","Depression","Apathetic","Hypersensitive"),
|
||||
list("Ageusia","Vegetarian","Deviant Tastes"),
|
||||
list("Ananas Affinity","Ananas Aversion"),
|
||||
list("Alcohol Tolerance","Light Drinker"),
|
||||
list("Clown Fan","Mime Fan"),
|
||||
list("Bad Touch", "Friendly"),
|
||||
list("Extrovert", "Introvert"),
|
||||
)
|
||||
|
||||
/datum/controller/subsystem/processing/quirks/Initialize(timeofday)
|
||||
if(!quirks.len)
|
||||
get_quirks()
|
||||
return ..()
|
||||
|
||||
/// Returns the list of possible quirks
|
||||
/datum/controller/subsystem/processing/quirks/proc/get_quirks()
|
||||
RETURN_TYPE(/list)
|
||||
if (!quirks.len)
|
||||
SetupQuirks()
|
||||
|
||||
quirk_blacklist = list(list("Blind","Nearsighted"), \
|
||||
list("Jolly","Depression","Apathetic","Hypersensitive"), \
|
||||
list("Ageusia","Vegetarian","Deviant Tastes"), \
|
||||
list("Ananas Affinity","Ananas Aversion"), \
|
||||
list("Alcohol Tolerance","Light Drinker"), \
|
||||
list("Clown Fan","Mime Fan"), \
|
||||
list("Bad Touch", "Friendly"), \
|
||||
list("Extrovert", "Introvert"))
|
||||
return ..()
|
||||
return quirks
|
||||
|
||||
/datum/controller/subsystem/processing/quirks/proc/SetupQuirks()
|
||||
// Sort by Positive, Negative, Neutral; and then by name
|
||||
|
||||
Reference in New Issue
Block a user