mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
AOOC is now added to players upon reconnecting, if they are an antag. Technically a lazy fix, because the verb should maybe be a mob verb instead, and thus be added automatically. But hey, it works.
This commit is contained in:
@@ -28,3 +28,12 @@
|
||||
M << "<font color='#960018'><span class='ooc'>" + create_text_tag("aooc", "Antag-OOC:", M.client) + " <EM>[display_name]:</EM> <span class='message'>[msg]</span></span></font>"
|
||||
|
||||
log_ooc("(ANTAG) [key] : [msg]")
|
||||
|
||||
// Checks if a newly joined player is an antag, and adds the AOOC verb if they are.
|
||||
// Because they're tied to client objects, this gets removed every time you disconnect.
|
||||
/client/proc/add_aooc_if_necessary()
|
||||
if (!src.mob || !src.mob.mind)
|
||||
return
|
||||
|
||||
if (player_is_antag(src.mob.mind))
|
||||
src.verbs += /client/proc/aooc
|
||||
|
||||
Reference in New Issue
Block a user