mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Admin Library Moderation (in-game edition) [MDB IGNORE] (#21565)
* Admin Library Moderation (in-game edition) * conflicts --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
Tom
parent
6ca91feef0
commit
1b48ff46e4
@@ -107,7 +107,7 @@ GLOBAL_PROTECT(admin_verbs_admin)
|
||||
/client/proc/view_opfors, /*OPFOR - SKYRAT EDIT ADDITION*/
|
||||
/client/proc/lorecaster_story_manager, /* SKYRAT EDIT ADDITION */
|
||||
)
|
||||
GLOBAL_LIST_INIT(admin_verbs_ban, list(/client/proc/unban_panel, /client/proc/ban_panel, /client/proc/stickybanpanel))
|
||||
GLOBAL_LIST_INIT(admin_verbs_ban, list(/client/proc/unban_panel, /client/proc/ban_panel, /client/proc/stickybanpanel, /client/proc/library_control))
|
||||
GLOBAL_PROTECT(admin_verbs_ban)
|
||||
GLOBAL_LIST_INIT(admin_verbs_sounds, list(/client/proc/play_local_sound, /client/proc/play_direct_mob_sound, /client/proc/play_sound, /client/proc/set_round_end_sound))
|
||||
GLOBAL_PROTECT(admin_verbs_sounds)
|
||||
@@ -1060,3 +1060,14 @@ GLOBAL_PROTECT(admin_verbs_poll)
|
||||
|
||||
message_admins("[key_name_admin(usr)] has loaded lazy template '[choice]'")
|
||||
to_chat(usr, span_boldnicegreen("Template loaded, you have been moved to the bottom left of the reservation."))
|
||||
|
||||
/client/proc/library_control()
|
||||
set name = "Library Management"
|
||||
set category = "Admin"
|
||||
if(!check_rights(R_BAN))
|
||||
return
|
||||
|
||||
if(!holder.library_manager)
|
||||
holder.library_manager = new()
|
||||
holder.library_manager.ui_interact(usr)
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Library Management") // If you are copy-pasting this, ensure the 4th parameter is unique to the new proc!
|
||||
|
||||
@@ -35,6 +35,7 @@ GLOBAL_PROTECT(href_token)
|
||||
var/datum/particle_editor/particle_test
|
||||
var/datum/colorblind_tester/color_test = new
|
||||
var/datum/plane_master_debug/plane_debug
|
||||
var/obj/machinery/computer/libraryconsole/admin_only_do_not_map_in_you_fucker/library_manager
|
||||
|
||||
/// Whether or not the user tried to connect, but was blocked by 2FA
|
||||
var/blocked_by_2fa = FALSE
|
||||
|
||||
Reference in New Issue
Block a user