* > Made health analysers able to detect bone fractures.

* > Made pulling lying down people slower. Use roller beds people!
This commit is contained in:
Ren Erthilo
2012-03-21 16:08:30 +00:00
parent cb2ab84f30
commit fdb0abce2a
2 changed files with 34 additions and 6 deletions
+28 -2
View File
@@ -164,8 +164,31 @@
return
return
/* var/mob/M = pulling
var/ok = 1
if (locate(/obj/item/weapon/grab, M.grabbed_by))
if (prob(75))
var/obj/item/weapon/grab/G = pick(M.grabbed_by)
if (istype(G, /obj/item/weapon/grab))
for(var/mob/O in viewers(M, null))
O.show_message(text("\red [] has been pulled from []'s grip by []", G.affecting, G.assailant, src), 1)
//G = null
del(G)
else
ok = 0
if (locate(/obj/item/weapon/grab, M.grabbed_by.len))
ok = 0
if (ok)
var/t = M.pulling
M.pulling = null
//this is the gay blood on floor shit -- Added back -- Skie
if (M.lying && (prob(M.getBruteLoss() / 6)))
*/
/mob/living/carbon/human/movement_delay()
var/tally = 0
var/mob/M = pulling
if(reagents.has_reagent("hyperzine")) return -1
@@ -192,10 +215,10 @@
/*if(mutations & FAT)
tally += 1.5*/
if (bodytemperature < 283.222)
if(bodytemperature < 283.222)
tally += (283.222 - bodytemperature) / 10 * 1.75
if (shock_stage >= 10) tally += 3
if(shock_stage >= 10) tally += 3
if(tally < 0)
tally = 0
@@ -203,6 +226,9 @@
if(mutations & mRun)
tally = 0
if(M && M.lying & ismob(pulling)) //Pulling lying down people is slower
tally += 3
return tally
/mob/living/carbon/human/Stat()