mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Fixes and Changes for Devchat (#26726)
* whatever the fuck brat summer is i guess * admins should get it too i guess * i forgor tgui build for lightmode * Update code/modules/admin/admin_verbs.dm Co-authored-by: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com> Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Update code/modules/admin/admin_verbs.dm Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com>
This commit is contained in:
co-authored by
BiancaWilkson
parent
fe834bffee
commit
809769b181
@@ -43,6 +43,7 @@ GLOBAL_LIST_INIT(admin_verbs_admin, list(
|
||||
/client/proc/cmd_admin_say, /*admin-only ooc chat*/
|
||||
/datum/admins/proc/PlayerNotes,
|
||||
/client/proc/cmd_mentor_say,
|
||||
/client/proc/cmd_dev_say,
|
||||
/datum/admins/proc/show_player_notes,
|
||||
/client/proc/free_slot, /*frees slot for chosen job*/
|
||||
/client/proc/update_mob_sprite,
|
||||
@@ -259,8 +260,8 @@ GLOBAL_LIST_INIT(view_runtimes_verbs, list(
|
||||
|
||||
/client/proc/add_admin_verbs()
|
||||
if(holder)
|
||||
// If they have ANYTHING OTHER THAN ONLY VIEW RUNTIMES (65536), then give them the default admin verbs
|
||||
if(holder.rights != R_VIEWRUNTIMES)
|
||||
// If they have ANYTHING OTHER THAN ONLY VIEW RUNTIMES AND/OR DEV, then give them the default admin verbs
|
||||
if(holder.rights & ~(R_VIEWRUNTIMES|R_DEV_TEAM))
|
||||
add_verb(src, GLOB.admin_verbs_default)
|
||||
if(holder.rights & R_BUILDMODE)
|
||||
add_verb(src, /client/proc/togglebuildmodeself)
|
||||
@@ -303,6 +304,8 @@ GLOBAL_LIST_INIT(view_runtimes_verbs, list(
|
||||
add_verb(src, GLOB.view_runtimes_verbs)
|
||||
spawn(1) // This setting exposes the profiler for people with R_VIEWRUNTIMES. They must still have it set in cfg/admin.txt
|
||||
control_freak = 0
|
||||
if(holder.rights & R_DEV_TEAM)
|
||||
add_verb(src, /client/proc/cmd_dev_say)
|
||||
if(is_connecting_from_localhost())
|
||||
add_verb(src, /client/proc/export_current_character)
|
||||
|
||||
@@ -317,6 +320,7 @@ GLOBAL_LIST_INIT(view_runtimes_verbs, list(
|
||||
/client/proc/togglebuildmodeself,
|
||||
/client/proc/stealth,
|
||||
/client/proc/readmin,
|
||||
/client/proc/cmd_dev_say,
|
||||
/client/proc/export_current_character,
|
||||
GLOB.admin_verbs_default,
|
||||
GLOB.admin_verbs_admin,
|
||||
|
||||
Reference in New Issue
Block a user