mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 18:40:42 +00:00
* Dogs use the Pet Command system * modular pets * modular dogs * oops * NO Co-authored-by: Jacquerel <hnevard@gmail.com> Co-authored-by: tastyfish <crazychris32@gmail.com>
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
/datum/ai_controller/basic_controller/dog
|
|
blackboard = list(
|
|
BB_DOG_HARASS_HARM = TRUE,
|
|
BB_VISION_RANGE = AI_DOG_VISION_RANGE,
|
|
BB_PET_TARGETTING_DATUM = new /datum/targetting_datum/not_friends(),
|
|
)
|
|
ai_movement = /datum/ai_movement/basic_avoidance
|
|
idle_behavior = /datum/idle_behavior/idle_dog
|
|
planning_subtrees = list(
|
|
/datum/ai_planning_subtree/random_speech/dog,
|
|
/datum/ai_planning_subtree/pet_planning,
|
|
/datum/ai_planning_subtree/dog_harassment,
|
|
)
|
|
|
|
/**
|
|
* Same thing but with make tiny corgis and use access cards.
|
|
*/
|
|
/datum/ai_controller/basic_controller/dog/corgi
|
|
blackboard = list(
|
|
BB_DOG_HARASS_HARM = TRUE,
|
|
BB_VISION_RANGE = AI_DOG_VISION_RANGE,
|
|
BB_PET_TARGETTING_DATUM = new /datum/targetting_datum/not_friends(),
|
|
BB_BABIES_PARTNER_TYPES = list(/mob/living/basic/pet/dog),
|
|
BB_BABIES_CHILD_TYPES = list(/mob/living/basic/pet/dog/corgi/puppy = 95, /mob/living/basic/pet/dog/corgi/puppy/void = 5),
|
|
)
|
|
|
|
planning_subtrees = list(
|
|
/datum/ai_planning_subtree/random_speech/dog,
|
|
/datum/ai_planning_subtree/make_babies, // Ian WILL prioritise sex over following your instructions
|
|
/datum/ai_planning_subtree/pet_planning,
|
|
/datum/ai_planning_subtree/dog_harassment,
|
|
)
|
|
|
|
/datum/ai_controller/basic_controller/dog/corgi/get_access()
|
|
var/mob/living/basic/pet/dog/corgi/corgi_pawn = pawn
|
|
if(!istype(corgi_pawn))
|
|
return
|
|
|
|
return corgi_pawn.access_card
|