-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attack logs for xeno tackling (#6061)
# About the pull request Makes Xenomorphs tackling/disarming people show in attack logs. Additionally, this also changes `mob/living/carbon/xenomorph/M` to `mob/living/carbon/xenomorph/attacking_xeno` in the proc's parameters, and merges two behavior_delegate checks that were right next to each other. It's being logged with `log_attack()` rather than the `msg_admin_attack()` used by human disarming since a xeno tackling someone is a normal part of the game loop, and not something that could potentially need admin attention. # Explain why it's good for the game "Normal part of the game" or not, this is the sort of thing which should be in attack logs. # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> **Xenomorph combat logs:** ![dreamseeker_egsPasjsdj](https://github.com/cmss13-devs/cmss13/assets/57483089/05482a63-045c-437c-a676-82a07d151d26) **Human combat logs:** ![dreamseeker_UZFD8dNiYt](https://github.com/cmss13-devs/cmss13/assets/57483089/552397e5-c303-4753-aa4b-64845794fb1a) `attack.log`: ``` [2024-03-31 21:48:27.610] ATTACK: sabreml/(Young Drone (XX-653)) unsuccessfully tackled @SabreML/(Sean Agg) in Open grounds (event P) (45,82,2). [2024-03-31 21:48:28.684] ATTACK: sabreml/(Young Drone (XX-653)) unsuccessfully tackled @SabreML/(Sean Agg) in Open grounds (event P) (45,82,2). [2024-03-31 21:48:29.700] ATTACK: sabreml/(Young Drone (XX-653)) successfully tackled @SabreML/(Sean Agg) in Open grounds (event P) (45,82,2). ``` </details> # Changelog :cl: admin: Added attack logging for Xeno tackling. /:cl:
- Loading branch information
Showing
1 changed file
with
79 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters