mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-26 08:34:11 +01:00
a1abccc612
## About The Pull Request slimes should still be able to do their everyday routine without needing to be watched over ## Why It's Good For The Game makes xenobiologist's lives easier ## Changelog 🆑 qol: slimes will stay active without needing any one to watch over /🆑
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
/datum/ai_controller/basic_controller/slime
|
|
blackboard = list(
|
|
BB_PET_TARGETING_STRATEGY = /datum/targeting_strategy/basic/not_friends,
|
|
BB_TARGETING_STRATEGY = /datum/targeting_strategy/basic/not_friends,
|
|
BB_SLIME_RABID = FALSE,
|
|
BB_SLIME_HUNGER_DISABLED = FALSE,
|
|
BB_CURRENT_HUNTING_TARGET = null, // people whose energy we want to drain
|
|
)
|
|
|
|
ai_movement = /datum/ai_movement/basic_avoidance
|
|
idle_behavior = /datum/idle_behavior/idle_random_walk
|
|
planning_subtrees = list(
|
|
/datum/ai_planning_subtree/change_slime_face,
|
|
/datum/ai_planning_subtree/use_mob_ability/evolve,
|
|
/datum/ai_planning_subtree/use_mob_ability/reproduce,
|
|
/datum/ai_planning_subtree/target_retaliate,
|
|
/datum/ai_planning_subtree/pet_planning,
|
|
/datum/ai_planning_subtree/find_and_hunt_target/find_slime_food,
|
|
/datum/ai_planning_subtree/basic_melee_attack_subtree/slime,
|
|
/datum/ai_planning_subtree/random_speech/slime,
|
|
)
|
|
can_idle = FALSE
|
|
|
|
/datum/ai_controller/basic_controller/slime/CancelActions()
|
|
..()
|
|
if(QDELETED(pawn))
|
|
return
|
|
|
|
var/mob/living/basic/slime/slime_pawn = pawn
|
|
slime_pawn.stop_feeding()
|