From e24375236986e30a176e3a865ceb0392f17d0d2f Mon Sep 17 00:00:00 2001 From: Putnam Date: Tue, 12 May 2020 16:10:20 -0700 Subject: [PATCH] Removed tossing from pressure diff (for now) --- .../atmospherics/environmental/LINDA_turf_tile.dm | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/code/modules/atmospherics/environmental/LINDA_turf_tile.dm b/code/modules/atmospherics/environmental/LINDA_turf_tile.dm index dd1b0b4778..d506e5fe02 100644 --- a/code/modules/atmospherics/environmental/LINDA_turf_tile.dm +++ b/code/modules/atmospherics/environmental/LINDA_turf_tile.dm @@ -222,7 +222,7 @@ /atom/movable/proc/experience_pressure_difference(pressure_difference, direction, pressure_resistance_prob_delta = 0, throw_target) var/const/PROBABILITY_OFFSET = 25 - var/const/PROBABILITY_BASE_PRECENT = 10 + var/const/PROBABILITY_BASE_PRECENT = 75 var/max_force = sqrt(pressure_difference)*(MOVE_FORCE_DEFAULT / 5) set waitfor = 0 var/move_prob = 100 @@ -230,17 +230,7 @@ move_prob = (pressure_difference/pressure_resistance*PROBABILITY_BASE_PRECENT)-PROBABILITY_OFFSET move_prob += pressure_resistance_prob_delta if (move_prob > PROBABILITY_OFFSET && prob(move_prob) && (move_resist != INFINITY) && (!anchored && (max_force >= (move_resist * MOVE_FORCE_PUSH_RATIO))) || (anchored && (max_force >= (move_resist * MOVE_FORCE_FORCEPUSH_RATIO)))) - var/move_force = max_force * clamp(move_prob, 0, 100) / 100 - if(move_force > 4000) - // WALLSLAM HELL TIME OH BOY - var/turf/throw_turf = get_ranged_target_turf(get_turf(src), direction, round(move_force / 2000)) - if(throw_target && (get_dir(src, throw_target) & direction)) - throw_turf = get_turf(throw_target) - var/throw_speed = clamp(round(move_force / 2000), 1, 10) - throw_at(throw_turf, move_force / 2000, throw_speed) - else - step(src, direction) - last_high_pressure_movement_air_cycle = SSair.times_fired + step(src, direction) ////////////////////////SUPERCONDUCTIVITY///////////////////////////// /turf/proc/conductivity_directions()