Adds some generic AI controllers (#30061)

* Generic controllers

* Linters
This commit is contained in:
PollardTheDragon
2025-08-22 15:33:14 +00:00
committed by GitHub
parent 6d5fc55299
commit 0ae73635e2
7 changed files with 209 additions and 60 deletions
@@ -32,7 +32,7 @@
step_type = FOOTSTEP_MOB_SHOE
gold_core_spawnable = HOSTILE_SPAWN
loot = list(/obj/effect/decal/remains/human)
ai_controller = /datum/ai_controller/basic_controller/simple/simple_hostile_obstacles/demonic_incursion
ai_controller = /datum/ai_controller/basic_controller/simple/simple_hostile_obstacles/prowler
/mob/living/basic/skeleton/Initialize(mapload)
. = ..()
@@ -12,7 +12,7 @@
melee_attack_cooldown_min = 1.5 SECONDS
melee_attack_cooldown_max = 2.5 SECONDS
environment_smash = ENVIRONMENT_SMASH_STRUCTURES
ai_controller = /datum/ai_controller/basic_controller/simple/simple_hostile_obstacles/demonic_incursion
ai_controller = /datum/ai_controller/basic_controller/simple/simple_hostile_obstacles/prowler
attack_verb_simple = "chomp"
attack_verb_continuous = "chomps"
attack_sound = 'sound/weapons/bladeslice.ogg'
@@ -32,7 +32,7 @@
if(prob(grappler_chance))
AddComponent(/datum/component/ranged_attacks, projectile_type = /obj/item/projectile/energy/demonic_grappler, projectile_sound = 'sound/weapons/wave.ogg')
name = "grappling " + name
ai_controller = new /datum/ai_controller/basic_controller/simple/simple_skirmisher/demon_incursion(src)
ai_controller = new /datum/ai_controller/basic_controller/simple/simple_skirmisher/prowler(src)
update_appearance(UPDATE_NAME)
color = "#5494DA"
AddElement(/datum/element/ai_retaliate)