Extend mule pathfinding range for cere and remove some obstacles. (#26284)

This commit is contained in:
warriorstar-orion
2024-07-29 11:02:05 -04:00
committed by GitHub
parent 0857207eb1
commit 51bb41949d
2 changed files with 7 additions and 14 deletions
@@ -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