mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-10 22:55:22 +01:00
c116088213
* access dev tool * debug * basic ui * invalid ids * fix start * lets make that a unittest instead * oop * test that too * oop * death * cleanup * trying to sublist * no idea what i am doing * more stuff * ugh * . * labels * consts * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
17 lines
867 B
Plaintext
17 lines
867 B
Plaintext
ADMIN_VERB(spawn_panel, R_SPAWN, "Spawn Panel", "Spawn Panel (TGUI).", ADMIN_CATEGORY_GAME)
|
|
var/datum/spawnpanel/panel = user.holder.spawn_panel
|
|
if(!panel)
|
|
panel = new()
|
|
user.holder.spawn_panel = panel
|
|
panel.tgui_interact(user.mob)
|
|
feedback_add_details("admin_verb","SP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
ADMIN_VERB_AND_CONTEXT_MENU(machine_access_check, R_DEBUG, "Check Access List", "Read and edit the access list of a machine.", ADMIN_CATEGORY_GAME, obj/machinery/req_thing in world)
|
|
var/datum/access_viewer/panel = user.holder.access_view_menu
|
|
if(!panel)
|
|
panel = new()
|
|
user.holder.access_view_menu = panel
|
|
panel.set_access_focus(req_thing)
|
|
panel.tgui_interact(user.mob)
|
|
feedback_add_details("admin_verb","SR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|