mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Everything else through the door (#19358)
This commit is contained in:
@@ -504,7 +504,7 @@
|
||||
|
||||
M.lastarea = src
|
||||
|
||||
if(!istype(A,/mob/living)) return
|
||||
if(!isliving(A)) return
|
||||
|
||||
var/mob/living/L = A
|
||||
if(!L.ckey) return
|
||||
@@ -526,7 +526,7 @@
|
||||
thunk(M)
|
||||
|
||||
/area/proc/thunk(mob/living/carbon/human/M)
|
||||
if(istype(M,/mob/living/carbon/human/)) // Only humans can wear magboots, so we give them a chance to.
|
||||
if(ishuman(M)) // Only humans can wear magboots, so we give them a chance to.
|
||||
if(istype(M.shoes, /obj/item/clothing/shoes/magboots) && (M.shoes.flags & NOSLIP))
|
||||
return
|
||||
|
||||
@@ -539,10 +539,10 @@
|
||||
if(isspaceturf(get_turf(M))) // Can't fall onto nothing.
|
||||
return
|
||||
|
||||
if((istype(M,/mob/living/carbon/human/)) && (M.m_intent == MOVE_INTENT_RUN))
|
||||
if((ishuman(M)) && (M.m_intent == MOVE_INTENT_RUN))
|
||||
M.Weaken(10 SECONDS)
|
||||
|
||||
else if(istype(M,/mob/living/carbon/human/))
|
||||
else if(ishuman(M))
|
||||
M.Weaken(4 SECONDS)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user