mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +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."
|
||||
|
||||
Reference in New Issue
Block a user