mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
[MIRROR] Adds a little button to quirks that allows for relatively easy customization [MDB IGNORE] (#24953)
* Adds a little button to quirks that allows for relatively easy customization * Fixing diffs --------- Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -33,11 +33,16 @@
|
||||
|
||||
for (var/quirk_name in quirks)
|
||||
var/datum/quirk/quirk = quirks[quirk_name]
|
||||
var/datum/quirk_constant_data/constant_data = GLOB.all_quirk_constant_data[quirk]
|
||||
var/list/datum/preference/customization_options = constant_data?.get_customization_data()
|
||||
|
||||
quirk_info[sanitize_css_class_name(quirk_name)] = list(
|
||||
"description" = initial(quirk.desc),
|
||||
"icon" = initial(quirk.icon),
|
||||
"name" = quirk_name,
|
||||
"value" = initial(quirk.value),
|
||||
"customizable" = constant_data?.is_customizable(),
|
||||
"customization_options" = customization_options,
|
||||
"veteran_only" = initial(quirk.veteran_only), // SKYRAT EDIT - Veteran quirks
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user