Basic Faithless Mob (#72479)

## About The Pull Request
Turns the faithless mob into a basic mob with unique behaviors, it will
now break lights and drag around victims bodies. Can also punch open
airlocks if they can be opened.
## Why It's Good For The Game
Now the faithless mob has its own unique behavior and it is cool to see
more AI variety.
## Changelog
🆑
add: Faithless will now also break lights and drag victims around
refactor: Faithless into basic mob
/🆑
This commit is contained in:
Comxy
2023-01-09 19:08:29 +01:00
committed by GitHub
parent 430a0ba224
commit 40a3363525
11 changed files with 177 additions and 51 deletions
@@ -25,6 +25,8 @@
action_cooldown = 1 SECONDS
/// If we should attack walls, be prepared for complaints about breaches
var/can_attack_turfs = FALSE
/// Tries to bump open airlocks with an attack
var/bump_open_airlock = FALSE
/datum/ai_behavior/attack_obstructions/perform(delta_time, datum/ai_controller/controller, target_key)
. = ..()
@@ -76,3 +78,6 @@
if (basic_mob.see_invisible < object.invisibility)
return FALSE
return TRUE // It's in our way, let's get it out of our way
/datum/ai_planning_subtree/attack_obstacle_in_path/low_priority_target
target_key = BB_LOW_PRIORITY_HUNTING_TARGET
@@ -106,3 +106,7 @@
dog_pawn.update_dog_speech(src)
return ..()
/datum/ai_planning_subtree/random_speech/faithless
speech_chance = 1
emote_see = list("wails.")