[no gbp] fixes seedling ai getting stuck (#87885)

## About The Pull Request
fixes seedling AI's getting stuck when trying to refill water from water
tanks that have been emptied!

## Why It's Good For The Game
fixes seedling ai getting stuck

## Changelog
🆑
fix: fixes seedling ai getting stuck when trying to refill water from
emptied water tanks
/🆑
This commit is contained in:
Ben10Omintrix
2024-11-14 00:37:29 +00:00
committed by GitHub
parent a4c52f487b
commit 139b366b5b
@@ -37,6 +37,7 @@
hunt_range = 7
/datum/ai_behavior/find_and_set/treatable_hydro
action_cooldown = 5 SECONDS
/datum/ai_behavior/find_and_set/treatable_hydro/search_tactic(datum/ai_controller/controller, locate_path, search_range)
var/list/possible_trays = list()
@@ -97,6 +98,9 @@
return FALSE
set_movement_target(controller, target)
/datum/ai_behavior/find_and_set/beamable_hydroplants
action_cooldown = 15 SECONDS
/datum/ai_behavior/find_and_set/beamable_hydroplants/search_tactic(datum/ai_controller/controller, locate_path, search_range)
var/list/possible_trays = list()
@@ -136,7 +140,8 @@
return can_see(source, water_source, radius)
/datum/ai_behavior/hunt_target/interact_with_target/water_source
behavior_flags = AI_BEHAVIOR_REQUIRE_MOVEMENT | AI_BEHAVIOR_REQUIRE_REACH | AI_BEHAVIOR_CAN_PLAN_DURING_EXECUTION
behavior_flags = AI_BEHAVIOR_REQUIRE_MOVEMENT | AI_BEHAVIOR_REQUIRE_REACH
always_reset_target = TRUE
hunt_cooldown = 5 SECONDS
/datum/ai_controller/basic_controller/seedling/meanie