Add silicon human spremacy override config, fixes #68957 (#69293)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
RandomGamer123
2022-08-24 14:20:19 +08:00
committed by GitHub
parent 5a71007d12
commit c7e03e4048
3 changed files with 9 additions and 1 deletions
@@ -289,6 +289,9 @@
min_val = 0
max_val = 4
/// Controls if Asimov Superiority appears as a perk for humans even if standard Asimov isn't the default AI lawset
/datum/config_entry/flag/silicon_asimov_superiority_override
/datum/config_entry/number/silicon_max_law_amount
default = 12
min_val = 0
@@ -72,7 +72,7 @@
/datum/species/human/create_pref_unique_perks()
var/list/to_add = list()
if(CONFIG_GET(number/default_laws) == 0) // Default lawset is set to Asimov
if(CONFIG_GET(number/default_laws) == 0 || CONFIG_GET(flag/silicon_asimov_superiority_override)) // Default lawset is set to Asimov
to_add += list(list(
SPECIES_PERK_TYPE = SPECIES_POSITIVE_PERK,
SPECIES_PERK_ICON = "robot",
+5
View File
@@ -228,6 +228,11 @@ NEAR_DEATH_EXPERIENCE
DEFAULT_LAWS 0
## SILICON ASIMOV SUPERIORITY OVERRIDE ###
## This makes "Asimov Superiority" show up as a perk for humans in the character creation menu even if asimov is not the default lawset, such as when used with asimov++
## Uncomment this out to make "Asimov Superiority" show up as a perk for humans
# SILICON_ASIMOV_SUPERIORITY_OVERRIDE
## SPECIFIED LAWS ##
## ------------------------------------------------------------------------------------------
## These control what lawset the AI will use, edit the specified law to an *existing* lawset to make it the default.