Makes chrabs with the territorial trait angry when growing up (#96590)

## About The Pull Request

Charbs with the territorial trait will be hostile regardless of their
anger

## Why It's Good For The Game

This makes it easier to use them for antagonistic stuff. Currently they
aren't that usefull in that regards due to pet ones being by default
friendly to anyone unless commanded to target a specific person.

It also can be used to sabotage aquariums I guess.

## Changelog
🆑
add: Chrabs with the "Territorial" trait will be always hostile when
growing up
/🆑
This commit is contained in:
TymSha
2026-06-21 17:31:00 +02:00
committed by GitHub
parent 90d60c682f
commit e2d42f4400
@@ -93,6 +93,8 @@
/obj/item/fish/chasm_crab/proc/on_growth(datum/source, mob/living/basic/mining/lobstrosity/juvenile/result)
SIGNAL_HANDLER
if(/datum/fish_trait/territorial in fish_traits)
return
if(!prob(anger))
result.AddElement(/datum/element/ai_retaliate)
qdel(result.ai_controller)