mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Makes quirk points configs get loaded into vars on the subsystem, + a small biome fix (#95941)
This commit is contained in:
@@ -477,16 +477,31 @@
|
||||
/// Disables Quirk point balancing for the server and clients.
|
||||
/datum/config_entry/flag/disable_quirk_points
|
||||
|
||||
/datum/config_entry/flag/disable_quirk_points/ValidateAndSet(str_val)
|
||||
. = ..()
|
||||
if(.)
|
||||
SSquirks.points_enabled = !config_entry_value
|
||||
|
||||
/// The maximum amount of positive quirks one character can have at roundstart.
|
||||
/datum/config_entry/number/max_positive_quirks
|
||||
default = 6
|
||||
min_val = -1
|
||||
|
||||
/datum/config_entry/number/max_positive_quirks/ValidateAndSet(str_val)
|
||||
. = ..()
|
||||
if(.)
|
||||
SSquirks.max_positive_quirks = config_entry_value
|
||||
|
||||
/// Freebie quirk points. Can't go negative because we have no way of enforcing a person has a quirk before they join.
|
||||
/datum/config_entry/number/default_quirk_points
|
||||
default = 2
|
||||
min_val = 0
|
||||
|
||||
/datum/config_entry/number/default_quirk_points/ValidateAndSet(str_val)
|
||||
. = ..()
|
||||
if(.)
|
||||
SSquirks.default_quirk_points = config_entry_value
|
||||
|
||||
/// Max personalities you can have at once
|
||||
/datum/config_entry/number/max_personalities
|
||||
default = 5
|
||||
|
||||
Reference in New Issue
Block a user