configearmuffs

Peacekeeper borgs now have a config option
"Harm Alarm" now respects and is blocked by earmuffs
Secborg/peaceborg disable config option is now more verbose :^)
This commit is contained in:
kevinz000
2016-05-08 04:48:10 -07:00
parent 961ce29dfd
commit 38876ae3f0
5 changed files with 20 additions and 3 deletions
+3
View File
@@ -93,6 +93,7 @@
var/humans_need_surnames = 0
var/allow_ai = 0 // allow ai job
var/forbid_secborg = 0 // disallow secborg module to be chosen.
var/forbid_peaceborg = 0
var/panic_bunker = 0 // prevents new people it hasn't seen before from connecting
var/notify_new_player_age = 0 // how long do we notify admins of a new player
var/irc_first_connection_alert = 0 // do we notify the irc channel when somebody is connecting for the first time?
@@ -558,6 +559,8 @@
config.allow_ai = 1
if("disable_secborg")
config.forbid_secborg = 1
if("disable_peaceborg")
config.forbid_peaceborg = 1
if("silent_ai")
config.silent_ai = 1
if("silent_borg")
+9 -1
View File
@@ -178,6 +178,10 @@
if(safety == 1)
for(var/mob/living/M in get_hearers_in_view(9, user))
if(iscarbon(M))
if(istype(M, /mob/living/carbon/human))
var/mob/living/carbon/human/H = M
if(istype(H.ears, /obj/item/clothing/ears/earmuffs))
continue
M.confused += 6
M.visible_message("<font color='red' size='2'>[user] blares out a near-deafening siren from its speakers!</font>", \
"<span class='userdanger'>The siren pierces your hearing and confuses you!</span>", \
@@ -195,7 +199,11 @@
if(safety == 0)
for(var/mob/living/M in get_hearers_in_view(9, user))
if(iscarbon(M))
M.confused += 15
if(istype(M, /mob/living/carbon/human))
var/mob/living/carbon/human/H = M
if(istype(H.ears, /obj/item/clothing/ears/earmuffs))
continue
M.confused += 15
M.Weaken(2)
M.stuttering += 30
M.adjustEarDamage(0, 20)
@@ -166,7 +166,9 @@
if(module)
return
var/list/modulelist = list("Standard", "Engineering", "Medical", "Miner", "Janitor","Service","Peacekeeper")
var/list/modulelist = list("Standard", "Engineering", "Medical", "Miner", "Janitor","Service")
if(!config.forbid_peaceborg)
modulelist += "Peacekeeper"
if(!config.forbid_secborg)
modulelist += "Security"
+1
View File
@@ -8,6 +8,7 @@
# NOTE: syntax was changed to allow hyphenation of ranknames, since spaces are stripped. #
###############################################################################################
Optimumtact = Host
kevinz000 = Host
kingofkosmos = Game Master
MrStonedOne = Game Master
microscopics = Game Master
+4 -1
View File
@@ -197,9 +197,12 @@ EVENTS_MIN_PLAYERS_MUL 1
ALLOW_AI
### Secborg ###
## Uncomment to prevent the secborg module from being chosen
## Uncomment to prevent the security cyborg module from being chosen
#DISABLE_SECBORG
### Peacekeeper Borg ###
## Uncomment to prevent the peacekeeper cyborg module from being chosen
#DISABLE_PEACEBORG
### AWAY MISSIONS ###