mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
Merge pull request #11057 from farie82/no-more-force-on-dview
Should make it so that dview can not bump into alive people anymore
This commit is contained in:
@@ -311,7 +311,7 @@
|
||||
/atom/movable/proc/experience_pressure_difference(pressure_difference, direction)
|
||||
if(last_forced_movement >= SSair.times_fired)
|
||||
return 0
|
||||
else if(!anchored && !pulledby)
|
||||
else if((!anchored || move_resist != INFINITY) && !pulledby)
|
||||
var/turf/target = get_turf(src)
|
||||
var/datum/gas_mixture/target_air = target.return_air()
|
||||
if(isspaceturf(target) || isunsimulatedturf(target) || pressure_resistance > target_air.return_pressure())
|
||||
|
||||
@@ -1487,10 +1487,11 @@ var/mob/dview/dview_mob = new
|
||||
/mob/dview
|
||||
invisibility = 101
|
||||
density = 0
|
||||
|
||||
move_force = 0
|
||||
pull_force = 0
|
||||
move_resist = INFINITY
|
||||
simulated = 0
|
||||
|
||||
canmove = FALSE
|
||||
see_in_dark = 1e6
|
||||
|
||||
/mob/dview/New() //For whatever reason, if this isn't called, then BYOND will throw a type mismatch runtime when attempting to add this to the mobs list. -Fox
|
||||
|
||||
@@ -235,9 +235,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
..()
|
||||
|
||||
/mob/dead/observer/experience_pressure_difference()
|
||||
return 0
|
||||
|
||||
/mob/dead/observer/can_use_hands() return 0
|
||||
|
||||
/mob/dead/observer/Stat()
|
||||
|
||||
Reference in New Issue
Block a user