mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
Merge branch 'dev-freeze' into ofPuffsAndCleaner
Conflicts: code/game/objects/effects/chem/water.dm
This commit is contained in:
@@ -17,20 +17,23 @@
|
||||
if(!target)
|
||||
return
|
||||
for(var/i = 1 to step_count)
|
||||
if(!loc)
|
||||
return
|
||||
step_towards(src, target)
|
||||
var/turf/T = get_turf(src)
|
||||
reagents.touch_turf(T)
|
||||
var/mob/M
|
||||
for(var/atom/A in T)
|
||||
if(!ismob(A)) // Mobs are handled differently
|
||||
reagents.touch(A)
|
||||
else if(!M)
|
||||
M = A
|
||||
if(M)
|
||||
reagents.splash_mob(M, reagents.total_volume)
|
||||
break
|
||||
if(T == get_turf(target))
|
||||
break
|
||||
if(T && reagents)
|
||||
reagents.touch_turf(T)
|
||||
var/mob/M
|
||||
for(var/atom/A in T)
|
||||
if(!ismob(A)) // Mobs are handled differently
|
||||
reagents.touch(A)
|
||||
else if(!M)
|
||||
M = A
|
||||
if(M)
|
||||
reagents.splash_mob(M, reagents.total_volume)
|
||||
break
|
||||
if(T == get_turf(target))
|
||||
break
|
||||
sleep(delay)
|
||||
sleep(10)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user