mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Removes R_STEALTH perm requirement for staff chats
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
set category = "Special Verbs"
|
||||
set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite
|
||||
set hidden = 1
|
||||
<<<<<<< HEAD
|
||||
if(!check_rights(R_ADMIN)) //VOREStation Edit //CHOMPEdit meh, our stuff was conflicting so just removed the stealth thingamabobber
|
||||
=======
|
||||
if(!check_rights(R_ADMIN)) //VOREStation Edit
|
||||
>>>>>>> 8be06b127b... Merge pull request #14474 from VOREStation/Staff-Viewing_Patch
|
||||
return
|
||||
|
||||
msg = sanitize(msg)
|
||||
@@ -11,11 +15,13 @@
|
||||
|
||||
log_adminsay(msg,src)
|
||||
|
||||
<<<<<<< HEAD
|
||||
//VOREStation Edit Start - Adds R_STEALTH //CHOMPEdit meh, our stuff was conflicting so just removed the stealth thingamabobber
|
||||
=======
|
||||
>>>>>>> 8be06b127b... Merge pull request #14474 from VOREStation/Staff-Viewing_Patch
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(check_rights(R_ADMIN))
|
||||
to_chat(C, "<span class='admin_channel'>" + create_text_tag("admin", "ADMIN:", C) + " <span class='name'>[key_name(usr, 1)]</span>([admin_jump_link(mob, src)]): <span class='message'>[msg]</span></span>")
|
||||
//VOREStation Edit End
|
||||
|
||||
feedback_add_details("admin_verb","M") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
@@ -24,7 +30,11 @@
|
||||
set name = "Msay"
|
||||
set hidden = 1
|
||||
|
||||
<<<<<<< HEAD
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_EVENT)) //VOREStation Edit //CHOMP Removal: Removed R_SERVER because it wasn't necessary.
|
||||
=======
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_SERVER)) //VOREStation Edit
|
||||
>>>>>>> 8be06b127b... Merge pull request #14474 from VOREStation/Staff-Viewing_Patch
|
||||
return
|
||||
|
||||
msg = sanitize(msg)
|
||||
@@ -37,7 +47,7 @@
|
||||
if(check_rights(R_ADMIN, 0))
|
||||
sender_name = "<span class='admin'>[sender_name]</span>"
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(check_rights(R_ADMIN|R_MOD|R_SERVER|R_STEALTH)) //VOREStation Edit
|
||||
if(check_rights(R_ADMIN|R_MOD|R_SERVER)) //VOREStation Edit
|
||||
to_chat(C, "<span class='mod_channel'>" + create_text_tag("mod", "MOD:", C) + " <span class='name'>[sender_name]</span>([admin_jump_link(mob, C.holder)]): <span class='message'>[msg]</span></span>")
|
||||
|
||||
feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -47,7 +57,11 @@
|
||||
set name = "Esay"
|
||||
set hidden = 1
|
||||
|
||||
<<<<<<< HEAD
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_EVENT|R_EVENT)) //CHOMP Removal: Removed R_SERVER because it wasn't necessary.
|
||||
=======
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_EVENT|R_SERVER)) //VOREStation Edit
|
||||
>>>>>>> 8be06b127b... Merge pull request #14474 from VOREStation/Staff-Viewing_Patch
|
||||
return
|
||||
|
||||
msg = sanitize(msg)
|
||||
|
||||
Reference in New Issue
Block a user