mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 00:27:31 +01:00
[MIRROR] Makes dog a basic mob [MDB IGNORE] [MDB IGNORE] (#17930)
* Makes dog a basic mob [MDB IGNORE] * conflict * map updatepaths * minor banana spider improvement * unnecessary SR edit, minor path stuff * chadian, borgi * tram conflict * fixes after testing Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
@@ -89,3 +89,16 @@
|
||||
/datum/ai_planning_subtree/random_speech/cow/wisdom/New()
|
||||
. = ..()
|
||||
speak = GLOB.wisdoms //Done here so it's setup properly
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/dog
|
||||
speech_chance = 1
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/dog/SelectBehaviors(datum/ai_controller/controller, delta_time)
|
||||
if(!isdog(controller.pawn))
|
||||
return
|
||||
|
||||
// Stay in sync with dog fashion.
|
||||
var/mob/living/basic/pet/dog/dog_pawn = controller.pawn
|
||||
dog_pawn.update_dog_speech(src)
|
||||
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user