mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
Merge pull request #20272 from Iamgoofball/patch-122
Hacky freon fixes pending the rework
This commit is contained in:
@@ -119,8 +119,10 @@
|
||||
step(C, olddir)
|
||||
C.spin(1,1)
|
||||
else if(lube&SLIDE_ICE)
|
||||
C.slipping = TRUE
|
||||
spawn(1)
|
||||
step(C, olddir)
|
||||
C.slipping = FALSE
|
||||
return 1
|
||||
|
||||
/turf/open/proc/MakeSlippery(wet_setting = TURF_WET_WATER, min_wet_time = 0, wet_time_to_add = 0) // 1 = Water, 2 = Lube, 3 = Ice, 4 = Permafrost, 5 = Slide
|
||||
|
||||
@@ -666,8 +666,8 @@
|
||||
if (AM.density && AM.anchored)
|
||||
pressure_resistance_prob_delta -= 20
|
||||
break
|
||||
|
||||
..(pressure_difference, direction, pressure_resistance_prob_delta)
|
||||
if(!slipping)
|
||||
..(pressure_difference, direction, pressure_resistance_prob_delta)
|
||||
|
||||
/mob/living/verb/resist()
|
||||
set name = "Resist"
|
||||
|
||||
@@ -71,3 +71,5 @@
|
||||
|
||||
var/blood_volume = 0 //how much blood the mob has
|
||||
var/obj/effect/proc_holder/ranged_ability //Any ranged ability the mob has, as a click override
|
||||
|
||||
var/slipping = FALSE
|
||||
|
||||
Reference in New Issue
Block a user