mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 09:35:30 +01:00
[MIRROR] Converts some notify_ghosts args to bitflags, multilines all notify_ghosts calls [MDB IGNORE] (#24804)
* Converts some notify_ghosts args to bitflags, multilines all notify_ghosts calls * Update supermatter.dm * Modular * More modular * Update cortical_borer_egg.dm --------- Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,13 @@
|
||||
. = ..()
|
||||
var/area/init_area = get_area(src)
|
||||
if(!mapload && init_area)
|
||||
notify_ghosts("\A golem shell has been completed in \the [init_area.name].", source = src, action = NOTIFY_PLAY, flashwindow = FALSE, ignore_key = POLL_IGNORE_GOLEM)
|
||||
notify_ghosts(
|
||||
"\A golem shell has been completed in \the [init_area.name].",
|
||||
source = src,
|
||||
action = NOTIFY_PLAY,
|
||||
notify_flags = NOTIFY_CATEGORY_NOFLASH,
|
||||
ignore_key = POLL_IGNORE_GOLEM,
|
||||
)
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/human/golem/name_mob(mob/living/spawned_mob, forced_name)
|
||||
if(forced_name || !iscarbon(spawned_mob))
|
||||
|
||||
@@ -266,7 +266,13 @@
|
||||
eggshell.egg = src
|
||||
src.forceMove(eggshell)
|
||||
if(spawner_area)
|
||||
notify_ghosts("An ash walker egg is ready to hatch in \the [spawner_area.name].", source = src, action = NOTIFY_PLAY, flashwindow = FALSE, ignore_key = POLL_IGNORE_ASHWALKER)
|
||||
notify_ghosts(
|
||||
"An ash walker egg is ready to hatch in \the [spawner_area.name].",
|
||||
source = src,
|
||||
action = NOTIFY_PLAY,
|
||||
notify_flags = NOTIFY_CATEGORY_NOFLASH,
|
||||
ignore_key = POLL_IGNORE_ASHWALKER,
|
||||
)
|
||||
|
||||
/datum/outfit/ashwalker
|
||||
name = "Ash Walker"
|
||||
|
||||
@@ -107,7 +107,16 @@
|
||||
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, flashwindow = flash_window)
|
||||
var/notify_flags_to_pass = NOTIFY_CATEGORY_NOFLASH
|
||||
if(flash_window)
|
||||
notify_flags_to_pass &= GHOST_NOTIFY_FLASH_WINDOW
|
||||
notify_ghosts(
|
||||
"[src] is ready to hatch!",
|
||||
source = src,
|
||||
action = NOTIFY_PLAY,
|
||||
ignore_key = POLL_IGNORE_SPIDER,
|
||||
notify_flags = notify_flags_to_pass,
|
||||
)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/spider/Topic(href, href_list)
|
||||
|
||||
@@ -33,7 +33,12 @@
|
||||
/// Called when the attached flower bud has borne fruit (ie. is ready)
|
||||
/obj/effect/mob_spawn/ghost_role/venus_human_trap/proc/bear_fruit()
|
||||
ready = TRUE
|
||||
notify_ghosts("[src] has borne fruit!", source = src, action = NOTIFY_PLAY, ignore_key = POLL_IGNORE_VENUSHUMANTRAP)
|
||||
notify_ghosts(
|
||||
"[src] has borne fruit!",
|
||||
source = src,
|
||||
action = NOTIFY_PLAY,
|
||||
ignore_key = POLL_IGNORE_VENUSHUMANTRAP,
|
||||
)
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/venus_human_trap/allow_spawn(mob/user, silent = FALSE)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user