mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Adds a message to corpses that have had their ghosts leave the server/become something else
Readds the ablative vest's reflect chance at a considerably lower percentage Fixes a bug where ghosts couldn't examine human bodies. Fixes a bug where tensioner-spawned deathsquads would be braindead. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3314 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set src in oview()
|
||||
|
||||
if(!usr || !src) return
|
||||
if((usr.sdisabilities & 1) || usr.blinded || usr.stat)
|
||||
if(((usr.sdisabilities & 1) || usr.blinded || usr.stat) && !(istype(usr,/mob/dead/observer/)))
|
||||
usr << "<span class='notice'>Something is there but you can't see it.</span>"
|
||||
return
|
||||
|
||||
@@ -174,6 +174,17 @@
|
||||
|
||||
if (src.stat == DEAD || (changeling && (changeling.changeling_fakedeath == 1)))
|
||||
msg += "<span class='deadsay'>[t_He] [t_is] limp and unresponsive; there are no signs of life...</span>\n"
|
||||
|
||||
if(!src.client)
|
||||
var/foundghost = 0
|
||||
for(var/mob/dead/observer/G in world)
|
||||
if(G.client)
|
||||
if(G.corpse == src)
|
||||
foundghost++
|
||||
break
|
||||
if(!foundghost)
|
||||
msg += "<span class='deadsay'>[t_He] [t_is] empty; his soul has vanished...</span>\n"
|
||||
|
||||
else
|
||||
msg += "<span class='warning'>"
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ emp_act
|
||||
|
||||
/mob/living/carbon/human/bullet_act(var/obj/item/projectile/P, var/def_zone)
|
||||
|
||||
/* if(wear_suit && istype(wear_suit, /obj/item/clothing/suit/armor/laserproof))
|
||||
if(wear_suit && istype(wear_suit, /obj/item/clothing/suit/armor/laserproof))
|
||||
if(istype(P, /obj/item/projectile/energy) || istype(P, /obj/item/projectile/beam))
|
||||
var/reflectchance = 80 - round(P.damage/3)
|
||||
var/reflectchance = 40 - round(P.damage/3)
|
||||
if(!(def_zone in list("chest", "groin")))
|
||||
reflectchance /= 2
|
||||
if(prob(reflectchance))
|
||||
@@ -33,7 +33,7 @@ emp_act
|
||||
P.xo = new_x - curloc.x
|
||||
|
||||
return -1 // complete projectile permutation
|
||||
*/
|
||||
|
||||
if(check_shields(P.damage, "the [P.name]"))
|
||||
P.on_hit(src, 2)
|
||||
return 2
|
||||
|
||||
Reference in New Issue
Block a user