Skip to content

Commit

Permalink
[MIRROR] Ghost orbit popup double feature: Blackout drunkeness and Na…
Browse files Browse the repository at this point in the history
…r'Sie runes [MDB IGNORE] (#24439) (#156)

* Ghost orbit popup double feature: Blackout drunkeness and Nar'Sie runes (#78982)

## About The Pull Request

This adds two new notify_ghosts popups, for Blackout Drunkeness and
Nar'Sie Rune Inscription.
## Why It's Good For The Game

Nar'Sie rune inscription already has a big announcement, but no orbit
prompt. It's an important enough event to warrant having one.

The blackout drunkenness period is something that deserves to have an
audience.
## Changelog
:cl: Rhials
qol: Ghosts will now be prompted to orbit when someone loses control due
to being blackout drunk.
qol: Ghosts will now be prompted to orbit when a cultist begins
inscribing a Nar'Sie rune.
/:cl:

* Ghost orbit popup double feature: Blackout drunkeness and Nar'Sie runes

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Rhials <[email protected]>
  • Loading branch information
3 people authored Oct 20, 2023
1 parent dc68835 commit df83faf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/datums/brain_damage/split_personality.dm
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
/datum/brain_trauma/severe/split_personality/blackout/on_gain()
. = ..()
RegisterSignal(owner, COMSIG_ATOM_SPLASHED, PROC_REF(on_splashed))
notify_ghosts("[owner] is blacking out!", source = owner, action = NOTIFY_ORBIT, flashwindow = FALSE, header = "Bro I'm not even drunk right now")

/datum/brain_trauma/severe/split_personality/blackout/on_lose()
. = ..()
Expand Down
2 changes: 2 additions & 0 deletions code/datums/components/cult_ritual_item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@
for(var/shielded_turf in spiral_range_turfs(1, cultist, 1))
LAZYADD(shields, new /obj/structure/emergency_shield/cult/narsie(shielded_turf))

notify_ghosts("[cultist] has begun scribing a Nar'Sie rune!", source = cultist, action = NOTIFY_ORBIT, header = "Maranax Infirmux!")

return TRUE

/*
Expand Down

0 comments on commit df83faf

Please sign in to comment.