[MIRROR] Adds mobroach to the game. Stronger glockroach [MDB IGNORE] (#18567)

* Adds mobroach to the game. Stronger glockroach (#72426)

Adds a stronger glockroach, with a lil hat and a tommygun. This roach
has a 4 shot burst on a 2 second cooldown.

Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>

* Adds mobroach to the game. Stronger glockroach

Co-authored-by: khevy <64374321+khevy@users.noreply.github.com>
Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-01-07 17:29:32 +01:00
committed by GitHub
parent dff64084db
commit 0dea2e2f41
2 changed files with 22 additions and 0 deletions
@@ -166,3 +166,25 @@
/datum/ai_behavior/basic_melee_attack/sewer
action_cooldown = 0.8 SECONDS
/mob/living/basic/cockroach/glockroach/mobroach
name = "mobroach"
desc = "WE'RE FUCKED, THAT GLOCKROACH HAS A TOMMYGUN!"
icon_state = "mobroach"
ai_controller = /datum/ai_controller/basic_controller/cockroach/mobroach
/datum/ai_controller/basic_controller/cockroach/mobroach
planning_subtrees = list(
/datum/ai_planning_subtree/pet_planning,
/datum/ai_planning_subtree/random_speech/cockroach,
/datum/ai_planning_subtree/simple_find_target,
/datum/ai_planning_subtree/basic_ranged_attack_subtree/mobroach, //If we are attacking someone, this will prevent us from hunting
/datum/ai_planning_subtree/find_and_hunt_target/roach,
)
/datum/ai_planning_subtree/basic_ranged_attack_subtree/mobroach
ranged_attack_behavior = /datum/ai_behavior/basic_ranged_attack/mobroach
/datum/ai_behavior/basic_ranged_attack/mobroach
shots = 4
action_cooldown = 2 SECONDS