Skip to content

Commit

Permalink
Ghost notification for yautja self destruct (#4403)
Browse files Browse the repository at this point in the history
# About the pull request

This PR adds a ghost notification for yautja self destructs

# Explain why it's good for the game

Everyone wants to watch this!

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

:cl: Morrow
add: Added a ghost notification for yautja self destructs
/:cl:
  • Loading branch information
morrowwolf committed Sep 13, 2023
1 parent 510cdc1 commit fb298aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/cm_preds/yaut_bracers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,8 @@
if (exploding)
return

notify_ghosts(header = "Yautja self destruct", message = "[victim] is self destructing to protect their honor!", source = victim, action = NOTIFY_ORBIT)

exploding = 1
var/turf/T = get_turf(src)
if(explosion_type == SD_TYPE_BIG && victim.stat == CONSCIOUS && (is_ground_level(T.z) || MODE_HAS_TOGGLEABLE_FLAG(MODE_SHIPSIDE_SD)))
Expand Down

0 comments on commit fb298aa

Please sign in to comment.