mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Stammering reworked a bit.
You now hear the ghosts again (as in sounds and flavour text), just not discern what they're saying. People with aliens inside them can no longer suicide. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2112 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
|
||||
var/confirm = alert("Are you sure you want to commit suicide?", "Confirm Suicide", "Yes", "No")
|
||||
|
||||
if(alien_egg_flag)
|
||||
src << "The alien inside you forces you to breathe, preventing you from suiciding."
|
||||
return
|
||||
|
||||
if(confirm == "Yes")
|
||||
suiciding = 1
|
||||
//instead of killing them instantly, just put them at -175 health and let 'em gasp for a while
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
. = src.say_dead(message)
|
||||
|
||||
/* for (var/mob/M in hearers(null, null))
|
||||
for (var/mob/M in hearers(null, null))
|
||||
if (!M.stat)
|
||||
if(M.job == "Chaplain")
|
||||
if (prob (49))
|
||||
@@ -22,7 +22,8 @@
|
||||
if(prob(20))
|
||||
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
|
||||
else
|
||||
M.show_message("<span class='game'><i>[stutter(message)]</i></span>", 2)
|
||||
M.show_message("<span class='game'><i>You hear muffled speech... you can almost make out some words...</i></span>", 2)
|
||||
// M.show_message("<span class='game'><i>[stutter(message)]</i></span>", 2)
|
||||
if(prob(30))
|
||||
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
|
||||
else
|
||||
@@ -33,5 +34,6 @@
|
||||
if(prob(20))
|
||||
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
|
||||
else
|
||||
M.show_message("<span class='game'><i>[stutter(message)]</i></span>", 2)
|
||||
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1) */
|
||||
M.show_message("<span class='game'><i>You hear muffled speech... you can almost make out some words...</i></span>", 2)
|
||||
// M.show_message("<span class='game'><i>[stutter(message)]</i></span>", 2)
|
||||
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
|
||||
@@ -268,17 +268,17 @@ proc/isobserver(A)
|
||||
p = 1//1 is the start of any word
|
||||
while(p <= n)//while P, which starts at 1 is less or equal to N which is the length.
|
||||
var/n_letter = copytext(te, p, p + 1)//copies text from a certain distance. In this case, only one letter at a time.
|
||||
if (prob(80))
|
||||
if (prob(80) && !(n_letter in list("a","e","i","o","u","A","E","I","O","U")))
|
||||
if (prob(10))
|
||||
n_letter = text("[n_letter][n_letter][n_letter][n_letter]")//replaces the current letter with this instead.
|
||||
n_letter = text("[n_letter]-[n_letter]-[n_letter]-[n_letter]")//replaces the current letter with this instead.
|
||||
else
|
||||
if (prob(20))
|
||||
n_letter = text("[n_letter][n_letter][n_letter]")
|
||||
n_letter = text("[n_letter]-[n_letter]-[n_letter]")
|
||||
else
|
||||
if (prob(5))
|
||||
n_letter = null
|
||||
else
|
||||
n_letter = text("[n_letter][n_letter]")
|
||||
n_letter = text("[n_letter]-[n_letter]")
|
||||
t = text("[t][n_letter]")//since the above is ran through for each letter, the text just adds up back to the original word.
|
||||
p++//for each letter p is increased to find where the next letter will be.
|
||||
return copytext(sanitize(t),1,MAX_MESSAGE_LEN)
|
||||
|
||||
Reference in New Issue
Block a user