mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 01:22:24 +00:00
@@ -249,11 +249,17 @@
|
||||
++frustration
|
||||
return
|
||||
|
||||
/mob/living/bot/proc/handleFrustrated(var/targ)
|
||||
obstacle = targ ? target_path[1] : patrol_path[1]
|
||||
|
||||
/mob/living/bot/proc/handleFrustrated(has_target)
|
||||
obstacle = null
|
||||
if (has_target)
|
||||
if (length(target_path))
|
||||
obstacle = target_path[1]
|
||||
else if (length(patrol_path))
|
||||
obstacle = patrol_path[1]
|
||||
target_path = list()
|
||||
patrol_path = list()
|
||||
return
|
||||
|
||||
|
||||
/mob/living/bot/proc/lookForTargets()
|
||||
return
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
flick("mulebot-emagged", src)
|
||||
update_icons()
|
||||
|
||||
/mob/living/bot/mulebot/handleFrustrated()
|
||||
/mob/living/bot/mulebot/handleFrustrated(has_target)
|
||||
custom_emote(2, "makes a sighing buzz.")
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user