mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Fix quirk blacklist not working [MDB IGNORE] (#8651)
* Fix quirk blacklist not working (#61932) * Fix quirk blacklist not working Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -13,11 +13,11 @@ 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_blacklist = list() //A list of quirks that can not be used with each other. Format: list(quirk1,quirk2),list(quirk3,quirk4)
|
||||
///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(
|
||||
/// A list of quirks that can not be used with each other. Format: list(quirk1,quirk2),list(quirk3,quirk4)
|
||||
var/static/list/quirk_blacklist = list(
|
||||
list("Blind","Nearsighted"),
|
||||
list("Jolly","Depression","Apathetic","Hypersensitive"),
|
||||
list("Ageusia","Vegetarian","Deviant Tastes"),
|
||||
@@ -149,7 +149,7 @@ PROCESSING_SUBSYSTEM_DEF(quirks)
|
||||
var/list/new_quirks = list()
|
||||
var/list/positive_quirks = list()
|
||||
var/balance = 0
|
||||
|
||||
|
||||
var/list/all_quirks = get_quirks()
|
||||
|
||||
for (var/quirk_name in quirks)
|
||||
|
||||
Reference in New Issue
Block a user