Toolbox and Sprint Tweaks (#1098)

New feature! Toolboxes that are full of tools hit much harder, stun, and make a satisfying thunk. But they'll spill their contents everywhere, it's a one-shot thing

Fixes unathi being able to spam devour, and eat through faceplates

Slightly buffs IPC sprinting as requested by cake
This commit is contained in:
NanakoAC
2016-11-03 23:16:05 +00:00
committed by skull132
parent 406c44c0e3
commit 492d287667
8 changed files with 84 additions and 23 deletions
+5 -2
View File
@@ -312,8 +312,11 @@
//source is an object caused electrocuting (airlock, grille, etc)
//No animations will be performed by this proc.
/proc/electrocute_mob(mob/living/carbon/M as mob, var/power_source, var/obj/source, var/siemens_coeff = 1.0)
if(istype(M.loc,/obj/mecha)) return 0 //feckin mechs are dumb
if (!M) return 0
if (!M)
return 0
if(istype(M.loc,/obj/mecha))
return 0 //feckin mechs are dumb
var/mob/living/carbon/human/H = null
if (ishuman(M))
H = M //20/1/16 Insulation (vaurca)