Use typepaths for the quirk blacklist (#77727)

## About The Pull Request
The string list is awful for maintainability and is the reason the
filter_invalid_quirks() proc wouldn't work properly.

randomise_quirks() is still broken though.

## Why It's Good For The Game
## Changelog
🆑
fix: Incompatible quirks in existing savefiles shouldn't be possible
anymore.
/🆑
This commit is contained in:
spookydonut
2023-08-19 12:21:32 -06:00
committed by GitHub
parent bf6648b3a9
commit a7f473d611
3 changed files with 41 additions and 29 deletions
@@ -43,7 +43,7 @@
return list(
"max_positive_quirks" = MAX_QUIRKS,
"quirk_info" = quirk_info,
"quirk_blacklist" = SSquirks.quirk_blacklist,
"quirk_blacklist" = GLOB.quirk_string_blacklist,
)
/datum/preference_middleware/quirks/on_new_character(mob/user)