mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Fixes ignoreRest param, AStar
This commit is contained in:
@@ -157,7 +157,7 @@ Actual Adjacent procs :
|
||||
|
||||
for(var/dir in cardinal)
|
||||
T = get_step(src,dir)
|
||||
if(simulated_only && !istype(T))
|
||||
if(!T || (simulated_only && !istype(T)))
|
||||
continue
|
||||
if(!T.density && !LinkBlockedWithAccess(T,caller, ID))
|
||||
L.Add(T)
|
||||
|
||||
@@ -2327,6 +2327,7 @@ area/security/podbay
|
||||
/area/awaymission
|
||||
name = "\improper Strange Location"
|
||||
icon_state = "away"
|
||||
report_alerts = 0
|
||||
|
||||
/area/awaymission/example
|
||||
name = "\improper Strange Station"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
recharging_mecha = null
|
||||
return ..()
|
||||
|
||||
/turf/simulated/floor/mech_bay_recharge_floor/Entered(var/obj/mecha/mecha)
|
||||
/turf/simulated/floor/mech_bay_recharge_floor/Entered(var/obj/mecha/mecha, atom/OL, ignoreRest = 0)
|
||||
. = ..()
|
||||
if(istype(mecha))
|
||||
mecha.occupant_message("<b>Initializing power control devices.</b>")
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
else
|
||||
to_chat(user, "<span class='warning'>The plating is going to need some support! Place metal rods first.</span>")
|
||||
|
||||
/turf/space/Entered(atom/movable/A as mob|obj)
|
||||
/turf/space/Entered(atom/movable/A as mob|obj, atom/OL, ignoreRest = 0)
|
||||
..()
|
||||
|
||||
if(destination_z && A && (src in A.locs))
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
/turf/space/transit/horizontal
|
||||
dir = WEST
|
||||
|
||||
/turf/space/transit/Entered(atom/movable/AM, atom/OldLoc)
|
||||
/turf/space/transit/Entered(atom/movable/AM, atom/OldLoc, ignoreRest = 0)
|
||||
if(!AM)
|
||||
return
|
||||
if(istype(AM, /obj/docking_port) || !AM.simulated)
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
return 1 //Nothing found to block so return success!
|
||||
|
||||
|
||||
/turf/Entered(atom/movable/M)
|
||||
/turf/Entered(atom/movable/M, atom/OL, ignoreRest = 0)
|
||||
if(ismob(M))
|
||||
var/mob/O = M
|
||||
if(!O.lastarea)
|
||||
|
||||
@@ -19,9 +19,6 @@
|
||||
* Areas
|
||||
*/
|
||||
//Gateroom gets its own APC specifically for the gate
|
||||
/area/awaymission
|
||||
report_alerts = 0
|
||||
|
||||
/area/awaymission/gateroom
|
||||
|
||||
//Library, medbay, storage room
|
||||
|
||||
Reference in New Issue
Block a user