mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[MIRROR] Deadchat Announcement Variety Pack 2 and also some fixes to other popups [MDB IGNORE] (#21894)
* Deadchat Announcement Variety Pack 2 and also some fixes to other popups (#76053) ## About The Pull Request This adds ghost orbit popups for the following: - Macrobombs (or stacked microbombs) being triggered. - HFR Meltdowns. - Living players about to be gored by an emagged organ harvester. - Nuclear devices being armed. - Doomsday devices. - Blob hosts bursting. This also modifies the following ghost orbit popups: - Toy hot potatoes will no longer cause a popup when armed. - Normal spider eggs will not flash the byond window, only special egg types. ## Why It's Good For The Game Gives more gathering spots/information to deadchat. Let no entertaining moment in this game go unobserved. Spider eggs flashing your window for every single egg produced makes alt-tabbing suck. I saw some guy on the forums complaining about it and thought "huh yeah I guess he's got a point that pisses me off too" so here we are. ## Changelog 🆑 Rhials qol: Basic spider eggs no longer flash the byond window when ready to hatch. qol: Toy hot potatoes no longer give a ghost notification. qol: Deadchat will be notified in the event of an imminent macrobomb detonation, HFR meltdown, organ harvesting, qol: Deadchat will be notified when a nuclear/doomsday device is activated, as well as when a blob-infection bursts. /🆑 * Deadchat Announcement Variety Pack 2 and also some fixes to other popups --------- Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com>
This commit is contained in:
@@ -82,6 +82,8 @@
|
||||
/mob/living/basic/spiderling/guard,
|
||||
/mob/living/basic/spiderling/scout,
|
||||
)
|
||||
/// Do we flash the byond window when this particular egg type is available?
|
||||
var/flash_window = FALSE
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/spider/Initialize(mapload)
|
||||
. = ..()
|
||||
@@ -99,7 +101,7 @@
|
||||
amount_grown += rand(5, 15) * seconds_per_tick
|
||||
if(amount_grown >= 100 && !ready)
|
||||
ready = TRUE
|
||||
notify_ghosts("[src] is ready to hatch!", null, enter_link = "<a href=?src=[REF(src)];activate=1>(Click to play)</a>", source = src, action = NOTIFY_ORBIT, ignore_key = POLL_IGNORE_SPIDER)
|
||||
notify_ghosts("[src] is ready to hatch!", null, enter_link = "<a href=?src=[REF(src)];activate=1>(Click to play)</a>", source = src, action = NOTIFY_ORBIT, ignore_key = POLL_IGNORE_SPIDER, flashwindow = flash_window)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/spider/Topic(href, href_list)
|
||||
@@ -137,6 +139,7 @@
|
||||
/mob/living/basic/spiderling/viper,
|
||||
/mob/living/basic/spiderling/midwife,
|
||||
)
|
||||
flash_window = TRUE
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/spider/bloody
|
||||
name = "bloody egg cluster"
|
||||
@@ -148,6 +151,7 @@
|
||||
potentialspawns = list(
|
||||
/mob/living/basic/spiderling/hunter/flesh,
|
||||
)
|
||||
flash_window = TRUE
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/spider/midwife
|
||||
name = "midwife egg cluster"
|
||||
@@ -158,6 +162,7 @@
|
||||
potentialspawns = list(
|
||||
/mob/living/basic/spiderling/midwife,
|
||||
)
|
||||
flash_window = TRUE
|
||||
|
||||
/**
|
||||
* Makes a ghost into a spider based on the type of egg cluster.
|
||||
|
||||
Reference in New Issue
Block a user