mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user