mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
floating movement type now stops slips (#67694)
* float movement type now stops slips * weh
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
if(!isliving(arrived))
|
||||
return
|
||||
var/mob/living/victim = arrived
|
||||
if(!(victim.movement_type & FLYING) && victim.slip(knockdown_time, parent, lube_flags, paralyze_time, force_drop_items) && callback)
|
||||
if(!(victim.movement_type & FLYING|FLOATING) && victim.slip(knockdown_time, parent, lube_flags, paralyze_time, force_drop_items) && callback)
|
||||
callback.Invoke(victim)
|
||||
|
||||
/*
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
return TRUE
|
||||
|
||||
/turf/open/handle_slip(mob/living/carbon/slipper, knockdown_amount, obj/O, lube, paralyze_amount, force_drop)
|
||||
if(slipper.movement_type & FLYING)
|
||||
if(slipper.movement_type & FLYING|FLOATING)
|
||||
return FALSE
|
||||
if(has_gravity(src))
|
||||
var/obj/buckled_obj
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/mob/living/carbon/slip(knockdown_amount, obj/O, lube, paralyze, force_drop)
|
||||
if(movement_type & FLYING)
|
||||
if(movement_type & FLYING|FLOATING)
|
||||
return FALSE
|
||||
if(!(lube&SLIDE_ICE))
|
||||
log_combat(src, (O ? O : get_turf(src)), "slipped on the", null, ((lube & SLIDE) ? "(LUBE)" : null))
|
||||
|
||||
Reference in New Issue
Block a user