mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
## About The Pull Request just macro-izes all the usages of verbs in the codebase as a pre-requisite to my follow up pr that serializes all the verbs arguments so we can tgui-ify the command bar, so we can then put it on the onscreen map. this also basically does the same as #94487 so can easily be integrated into the verb queueing stuff... but does not actually do any verb queueing by itself. basically im just trying to be https://github.com/tgstation/tgstation/labels/Atomic ## Why It's Good For The Game it doesn't really do anything by itself but it does let us do more stuff ## Changelog 🆑 code: the backend to all verbs in the game has been played with, please report any issues to github /🆑 --------- Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
31 lines
754 B
Plaintext
31 lines
754 B
Plaintext
/**
|
|
* Echoes drone laws to the user
|
|
*
|
|
* See [/mob/living/basic/drone/var/laws]
|
|
*/
|
|
GAME_VERB(/mob/living/basic/drone, check_laws, "Check Laws", "Drone")
|
|
|
|
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
|
|
*/
|
|
GAME_VERB(/mob/living/basic/drone, drone_ping, "Drone ping", "Drone")
|
|
|
|
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)
|