Slipping on blood (#3812)

Adds slipping for people who run/walk over blood.
This commit is contained in:
Ron
2017-11-16 17:02:32 -05:00
committed by Werner
parent 86b56478f2
commit a17ae9826d
2 changed files with 6 additions and 0 deletions

View File

@@ -104,6 +104,8 @@
perp.update_inv_shoes(1)
amount--
if(amount > 2 && prob(perp.slip_chance(perp.m_intent == "run" ? 20 : 5)))
perp.slip(src, 4)
/obj/effect/decal/cleanable/blood/proc/dry()
name = dryname