mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 12:08:55 +01:00
Convert mouse and rat to basic mobs (#70728)
* Converts mice and rats to basic mobs * Update paths * Fixes * Tweaks * . * Use helpers * Unit test * Correct the targeting * Fixes the unit test? * Fixes the unit test * Docs * update the path script with pr id * Faction check tweak * Review * AHH
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
. = ..()
|
||||
var/datum/weakref/weak_target = controller.blackboard[BB_BASIC_MOB_CURRENT_TARGET]
|
||||
var/atom/target = weak_target?.resolve()
|
||||
if(target && !QDELETED(target))
|
||||
if(!QDELETED(target))
|
||||
return
|
||||
controller.queue_behavior(/datum/ai_behavior/find_potential_targets, BB_BASIC_MOB_CURRENT_TARGET, BB_TARGETTING_DATUM, BB_BASIC_MOB_CURRENT_TARGET_HIDING_LOCATION)
|
||||
|
||||
@@ -36,12 +36,18 @@
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/cockroach
|
||||
speech_chance = 5
|
||||
emote_hear = list("chitters")
|
||||
emote_hear = list("chitters.")
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/mothroach
|
||||
speech_chance = 15
|
||||
emote_hear = list("flutters.")
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/mouse
|
||||
speech_chance = 1
|
||||
speak = list("Squeak!", "SQUEAK!", "Squeak?")
|
||||
emote_hear = list("squeaks.")
|
||||
emote_see = list("runs in a circle.", "shakes.")
|
||||
|
||||
/datum/ai_planning_subtree/random_speech/sheep
|
||||
speech_chance = 5
|
||||
speak = list("baaa","baaaAAAAAH!","baaah")
|
||||
|
||||
Reference in New Issue
Block a user