diff --git a/code/game/verbs/suicide.dm b/code/game/verbs/suicide.dm index a71f486651d..fb6c29fcb3f 100644 --- a/code/game/verbs/suicide.dm +++ b/code/game/verbs/suicide.dm @@ -47,10 +47,9 @@ if(confirm == "Yes") suiciding = 1 - viewers(loc) << "\red [src]'s brain is growing dull and lifeless. It looks like it's trying to commit suicide. Somehow." - adjustOxyLoss(max(175 - getToxLoss() - getFireLoss() - getBruteLoss() - getOxyLoss(), 0)) - updatehealth() - spawn(200) + viewers(loc) << "\red [src]'s brain is growing dull and lifeless. It looks like it's lost the will to live." + spawn(50) + death(0) suiciding = 0 /mob/living/carbon/monkey/verb/suicide() diff --git a/code/modules/mob/living/carbon/brain/death.dm b/code/modules/mob/living/carbon/brain/death.dm index 71581811e88..24e868aaf73 100644 --- a/code/modules/mob/living/carbon/brain/death.dm +++ b/code/modules/mob/living/carbon/brain/death.dm @@ -20,6 +20,5 @@ if (key) spawn(50) if(key && stat == 2) - src << "You are now dead. If you cannot ghost at this point, relog into the game." - verbs += /mob/proc/ghost + ghost() return ..(gibbed) \ No newline at end of file diff --git a/code/modules/mob/new_player/preferences.dm b/code/modules/mob/new_player/preferences.dm index e6a9e486e45..f8e5774cd53 100644 --- a/code/modules/mob/new_player/preferences.dm +++ b/code/modules/mob/new_player/preferences.dm @@ -52,6 +52,8 @@ datum/preferences be_special = 0 //Play admin midis midis = 1 + //Toggle ghost ears + ghost_ears = 1 //Saved changlog filesize to detect if there was a change lastchangelog = 0 @@ -127,6 +129,7 @@ datum/preferences dat += "
" dat += "UI Style: [UI == UI_NEW ? "New" : "Old"]
" dat += "Play admin midis: [midis == 1 ? "Yes" : "No"]
" + dat += "Ghost ears: [ghost_ears == 0 ? "Nearest Creatures" : "All Speech"]
" if((user.client) && (user.client.holder) && (user.client.holder.rank) && (user.client.holder.level >= 5)) dat += "
OOC
" @@ -141,8 +144,8 @@ datum/preferences dat += "Blood Type: [b_type]
" dat += "Skin Tone: [-s_tone + 35]/220
" - if(!IsGuestKey(user.key)) - dat += "Underwear: [underwear == 1 ? "Yes" : "No"]
" + // if(!IsGuestKey(user.key))//Seeing as it doesn't do anything, it may as well not show up. + // dat += "Underwear: [underwear == 1 ? "Yes" : "No"]
" dat += "Preview
" dat += "
Hair
" @@ -522,6 +525,9 @@ datum/preferences if(link_tags["midis"]) midis = (midis+1)%2 + if(link_tags["ghost_ears"]) + ghost_ears = !ghost_ears + if(link_tags["underwear"]) if(!IsGuestKey(user.key)) switch(link_tags["underwear"]) @@ -582,6 +588,7 @@ datum/preferences b_type = "A+" UI = UI_OLD midis = 1 + ghost_ears = 1 ShowChoices(user) @@ -633,6 +640,7 @@ datum/preferences character.client.ooccolor = ooccolor character.client.be_alien = be_special&BE_ALIEN character.client.be_pai = be_special&BE_PAI + character.client.ghost_ears = ghost_ears #undef UI_OLD #undef UI_NEW \ No newline at end of file diff --git a/code/modules/mob/new_player/savefile.dm b/code/modules/mob/new_player/savefile.dm index 5a206f2e0db..06c55f920ee 100644 --- a/code/modules/mob/new_player/savefile.dm +++ b/code/modules/mob/new_player/savefile.dm @@ -52,6 +52,7 @@ datum/preferences/proc/savefile_save(mob/user) F["be_special"] << src.be_special F["UI"] << src.UI F["midis"] << src.midis + F["ghost_ears"] << src.ghost_ears F["ooccolor"] << src.ooccolor F["lastchangelog"] << src.lastchangelog @@ -98,6 +99,7 @@ datum/preferences/proc/savefile_load(mob/user) F["underwear"] >> src.underwear F["name_is_always_random"] >> src.be_random_name F["midis"] >> src.midis + F["ghost_ears"] >> src.ghost_ears F["ooccolor"] >> src.ooccolor F["lastchangelog"] >> src.lastchangelog F["UI"] >> src.UI