mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Replaces the ghost role alert ping with an unique sound, and decreases ghost window highlight spam (#23586)
* A commit * Make it louder * Golem flash cooldown
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
move_resist = MOVE_FORCE_NORMAL
|
||||
density = FALSE
|
||||
death_cooldown = 300 SECONDS
|
||||
STATIC_COOLDOWN_DECLARE(ghost_flash_cooldown)
|
||||
var/has_owner = FALSE
|
||||
var/can_transfer = TRUE //if golems can switch bodies to this new shell
|
||||
var/mob/living/owner = null //golem's owner if it has one
|
||||
@@ -85,7 +86,11 @@
|
||||
. = ..()
|
||||
var/area/A = get_area(src)
|
||||
if(!mapload && A)
|
||||
notify_ghosts("\A [initial(species.prefix)] golem shell has been completed in [A.name].", source = src)
|
||||
if(COOLDOWN_FINISHED(src, ghost_flash_cooldown))
|
||||
notify_ghosts("\A [initial(species.prefix)] golem shell has been completed in [A.name].", source = src)
|
||||
COOLDOWN_START(src, ghost_flash_cooldown, 20 MINUTES)
|
||||
else
|
||||
notify_ghosts("\A [initial(species.prefix)] golem shell has been completed in [A.name].", source = src, flashwindow = FALSE)
|
||||
if(has_owner && creator)
|
||||
important_info = "Serve your creator, even if they are an antag."
|
||||
flavour_text = "You are a golem created to serve your creator."
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
hypochondriac.apply_status_effect(STATUS_EFFECT_FAKE_VIRUS)
|
||||
hypochondriac.create_log(MISC_LOG, "[hypochondriac] has contracted a fake virus.")
|
||||
valid_targets -= hypochondriac
|
||||
notify_ghosts("[hypochondriac] now has a fake virus!")
|
||||
notify_ghosts("[hypochondriac] now has a fake virus!", flashwindow = FALSE)
|
||||
|
||||
if(!length(valid_targets)) // List has been modified, lets check again
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user