mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Extend mule pathfinding range for cere and remove some obstacles. (#26284)
This commit is contained in:
committed by
GitHub
parent
0857207eb1
commit
51bb41949d
@@ -23368,7 +23368,7 @@
|
||||
},
|
||||
/obj/structure/disposalpipe/segment,
|
||||
/obj/machinery/atmospherics/pipe/simple/visible,
|
||||
/turf/simulated/wall,
|
||||
/turf/simulated/floor/plating,
|
||||
/area/station/science/misc_lab)
|
||||
"czg" = (
|
||||
/turf/simulated/floor/plasteel{
|
||||
@@ -61497,17 +61497,6 @@
|
||||
icon_state = "neutralcorner"
|
||||
},
|
||||
/area/station/hallway/primary/starboard/south)
|
||||
"mGE" = (
|
||||
/obj/structure/cable/orange{
|
||||
d1 = 4;
|
||||
d2 = 8;
|
||||
icon_state = "4-8"
|
||||
},
|
||||
/obj/structure/grille,
|
||||
/turf/simulated/floor/plating{
|
||||
icon_state = "asteroidplating"
|
||||
},
|
||||
/area/station/maintenance/apmaint)
|
||||
"mGK" = (
|
||||
/obj/effect/decal/cleanable/dirt,
|
||||
/obj/effect/turf_decal/stripes/line{
|
||||
@@ -123710,7 +123699,7 @@ ciG
|
||||
gPL
|
||||
nwv
|
||||
pQN
|
||||
mGE
|
||||
nta
|
||||
cGd
|
||||
pAi
|
||||
pAi
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
bot_purpose = "deliver crates and other packages between departments, as requested"
|
||||
req_access = list(ACCESS_CARGO)
|
||||
|
||||
/// The maximum amount of tiles the MULE can search via SSpathfinder before giving up.
|
||||
/// Stored as a variable to allow VVing if there's any weirdness.
|
||||
var/maximum_pathfind_range = 350
|
||||
|
||||
|
||||
suffix = ""
|
||||
|
||||
@@ -606,7 +610,7 @@
|
||||
// given an optional turf to avoid
|
||||
/mob/living/simple_animal/bot/mulebot/calc_path(turf/avoid = null)
|
||||
check_bot_access()
|
||||
set_path(get_path_to(src, target, 250, access = access_card.access, exclude = avoid))
|
||||
set_path(get_path_to(src, target, max_distance = maximum_pathfind_range, access = access_card.access, exclude = avoid))
|
||||
|
||||
// sets the current destination
|
||||
// signals all beacons matching the delivery code
|
||||
|
||||
Reference in New Issue
Block a user