mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
converts cows to basic mobs and ADDS MOONICORNS (#61446)
This commit is contained in:
@@ -37,3 +37,17 @@
|
||||
/datum/ai_planning_subtree/random_speech/cockroach
|
||||
speech_chance = 5
|
||||
emote_hear = list("chitters")
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/cow
|
||||
speech_chance = 1
|
||||
speak = list("moo?","moo","MOOOOOO")
|
||||
emote_hear = list("brays.")
|
||||
emote_see = list("shakes her head.")
|
||||
|
||||
///unlike normal cows, wisdom cows speak of wisdom and won't shut the fuck up
|
||||
/datum/ai_planning_subtree/random_speech/cow/wisdom
|
||||
speech_chance = 15
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/cow/wisdom/New()
|
||||
. = ..()
|
||||
speak = GLOB.wisdoms //Done here so it's setup properly
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
///used by cows
|
||||
/datum/ai_planning_subtree/tip_reaction
|
||||
|
||||
/datum/ai_planning_subtree/tip_reaction/SelectBehaviors(datum/ai_controller/controller, delta_time)
|
||||
. = ..()
|
||||
var/tip_reacting = controller.blackboard[BB_BASIC_MOB_TIP_REACTING]
|
||||
if(!tip_reacting)
|
||||
return
|
||||
controller.queue_behavior(/datum/ai_behavior/tipped_reaction, BB_BASIC_MOB_TIPPER, BB_BASIC_MOB_TIP_REACTING)
|
||||
return SUBTREE_RETURN_FINISH_PLANNING //no point in trying, boy. you're TIPPED.
|
||||
Reference in New Issue
Block a user