Files
L0pz 72732c1f76 Louder drone pings (#93484)
## About The Pull Request

Makes the drone ping alert appear larger in chat

## Why It's Good For The Game

Drones have this nifty ping system to call each other to areas in need
of droning, but the ping alert is extremely difficult to notice in chat.
This makes it larger and louder.
## Changelog
🆑

qol: Drone pings are now louder
/🆑
2025-10-21 23:48:44 +02:00

35 lines
796 B
Plaintext

/**
* Echoes drone laws to the user
*
* See [/mob/living/basic/drone/var/laws]
*/
/mob/living/basic/drone/verb/check_laws()
set category = "Drone"
set name = "Check Laws"
to_chat(src, "<b>Drone Laws</b>")
to_chat(src, laws)
/**
* Creates an alert to drones in the same network
*
* Prompts user for alert level of:
* * Low
* * Medium
* * High
* * Critical
*
* Attaches area name to message
*/
/mob/living/basic/drone/verb/drone_ping()
set category = "Drone"
set name = "Drone ping"
var/alert_s = input(src,"Alert severity level","Drone ping",null) as null|anything in list("Low","Medium","High","Critical")
var/area/A = get_area(loc)
if(alert_s && A && stat != DEAD)
var/msg = span_big("DRONE PING: [name]: [alert_s] priority alert in [A.name]!")
alert_drones(msg)