[MIRROR] Add silicon human spremacy override config, fixes #68957 [MDB IGNORE] (#15788)

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

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Add silicon human spremacy override config, fixes #68957

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-08-25 00:12:29 +02:00
committed by GitHub
parent 2ab2d99d16
commit d559b94920
3 changed files with 9 additions and 1 deletions

View File

@@ -289,6 +289,9 @@
min_val = 0 min_val = 0
max_val = 4 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 /datum/config_entry/number/silicon_max_law_amount
default = 12 default = 12
min_val = 0 min_val = 0

View File

@@ -69,7 +69,7 @@
/datum/species/human/create_pref_unique_perks() /datum/species/human/create_pref_unique_perks()
var/list/to_add = list() 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( to_add += list(list(
SPECIES_PERK_TYPE = SPECIES_POSITIVE_PERK, SPECIES_PERK_TYPE = SPECIES_POSITIVE_PERK,
SPECIES_PERK_ICON = "robot", SPECIES_PERK_ICON = "robot",

View File

@@ -228,6 +228,11 @@ NEAR_DEATH_EXPERIENCE
DEFAULT_LAWS 0 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 ## ## SPECIFIED LAWS ##
## ------------------------------------------------------------------------------------------ ## ------------------------------------------------------------------------------------------
## These control what lawset the AI will use, edit the specified law to an *existing* lawset to make it the default. ## These control what lawset the AI will use, edit the specified law to an *existing* lawset to make it the default.