mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 00:26:02 +01:00
Fixes slipping + lube
This commit is contained in:
@@ -437,7 +437,6 @@
|
||||
stop_pulling()
|
||||
src << "<span class='warning'>You slipped on [slipped_on]!</span>"
|
||||
playsound(src.loc, 'sound/misc/slip.ogg', 50, 1, -3)
|
||||
Stun(stun_duration)
|
||||
Weaken(Floor(stun_duration/2))
|
||||
return 1
|
||||
|
||||
|
||||
@@ -1315,7 +1315,8 @@
|
||||
/mob/living/carbon/human/slip(var/slipped_on, stun_duration=8)
|
||||
if((species.flags & NO_SLIP) || (shoes && (shoes.item_flags & NOSLIP)))
|
||||
return 0
|
||||
..(slipped_on,stun_duration)
|
||||
if(..(slipped_on,stun_duration))
|
||||
return 1
|
||||
|
||||
/mob/living/carbon/human/proc/undislocate()
|
||||
set category = "Object"
|
||||
|
||||
Reference in New Issue
Block a user