configurize

This commit is contained in:
XDTM
2018-10-26 16:49:59 +02:00
parent 701c17f09e
commit 2ddf3609fe
3 changed files with 7 additions and 1 deletions

View File

@@ -262,6 +262,8 @@
/datum/config_entry/flag/ghost_interaction
/datum/config_entry/flag/near_death_experience //If carbons can hear ghosts when unconscious and very close to death
/datum/config_entry/flag/silent_ai
/datum/config_entry/flag/silent_borg

View File

@@ -754,7 +754,7 @@
if(IsUnconscious() || IsSleeping() || getOxyLoss() > 50 || (has_trait(TRAIT_DEATHCOMA)) || (health <= HEALTH_THRESHOLD_FULLCRIT && !has_trait(TRAIT_NOHARDCRIT)))
stat = UNCONSCIOUS
blind_eyes(1)
if(health <= HEALTH_THRESHOLD_NEARDEATH && !has_trait(TRAIT_NODEATH))
if(CONFIG_GET(flag/near_death_experience) && health <= HEALTH_THRESHOLD_NEARDEATH && !has_trait(TRAIT_NODEATH))
add_trait(TRAIT_SIXTHSENSE, "near-death")
else
remove_trait(TRAIT_SIXTHSENSE, "near-death")

View File

@@ -324,6 +324,10 @@ SEC_START_BRIG
## Uncomment to let ghosts spin chairs. You may be wondering why this is a config option. Don't ask.
#GHOST_INTERACTION
## NEAR-DEATH EXPERIENCE ###
## Comment this out to disable mobs hearing ghosts when unconscious and very close to death
NEAR_DEATH_EXPERIENCE
## NON-VOCAL SILICONS ###
## Uncomment these to stop the AI, or cyborgs, from having vocal communication.
#SILENT_AI