Right click menu locks up client temporarily
set src in world
obj/o in world
/client/proc/object_talk(var/obj/O in world) // -- TLE set category = "Special Verbs" set name = "OSay" set desc = "Make an object say something" var/message = input(usr, "What do you want the message to be?", "Make Sound") as text | null if(!message) return var/mob/living/M var/olduniv if(ismob(O)) M = O olduniv = M.universal_speak M.universal_speak = 1 O.say(message) if(M) M.universal_speak = olduniv log_admin("[key_name(usr)] made [O] at [O.x], [O.y], [O.z] say \"[message]\"") message_admins("<span class='adminnotice'>[key_name_admin(usr)] made [O] at [O.x], [O.y], [O.z]. say \"[message]\"</span>", 1) feedback_add_details("admin_verb","OT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/proc/possess(obj/O as obj in world) set name = "Possess Obj" set category = "Object" if(istype(O,/obj/machinery/singularity)) if(config.forbid_singulo_possession) usr << "It is forbidden to possess singularities." return var/turf/T = get_turf(O) if(T) log_admin("[key_name(usr)] has possessed [O] ([O.type]) at ([T.x], [T.y], [T.z])") message_admins("[key_name(usr)] has possessed [O] ([O.type]) at ([T.x], [T.y], [T.z])", 1) else log_admin("[key_name(usr)] has possessed [O] ([O.type]) at an unknown location") message_admins("[key_name(usr)] has possessed [O] ([O.type]) at an unknown location", 1) if(!usr.control_object) //If you're not already possessing something... usr.name_archive = usr.real_name usr.loc = O usr.real_name = O.name usr.name = O.name usr.client.eye = O usr.control_object = O feedback_add_details("admin_verb","PO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/proc/release(obj/O as obj in world) set name = "Release Obj" set category = "Object" //usr.loc = get_turf(usr) if(usr.control_object && usr.name_archive) //if you have a name archived and if you are actually relassing an object usr.real_name = usr.name_archive usr.name = usr.real_name if(ishuman(usr)) var/mob/living/carbon/human/H = usr H.name = H.get_visible_name()// usr.regenerate_icons() //So the name is updated properly usr.loc = O.loc // Appear where the object you were controlling is -- TLE usr.client.eye = usr usr.control_object = null feedback_add_details("admin_verb","RO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/make_sound(var/obj/O in world) // -- TLE set category = "Special Verbs" set name = "Make Sound" set desc = "Display a message to everyone who can hear the target" if(istype(O)) var/message = input("What do you want the message to be?", "Make Sound") as text|null if(!message) return var/mob/living/M var/olduniv if(ismob(O)) M = O olduniv = M.universal_speak M.universal_speak = 1 O.say(message) if(M) M.universal_speak = olduniv log_admin("[key_name(usr)] made [O] at [O.x], [O.y], [O.z]. make a sound") message_admins("<span class='notice'>[key_name_admin(usr)] made [O] at [O.x], [O.y], [O.z]. make a sound</span>", 1) feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
client proc/debug_reagents(datum/D in world) set category = "Debug" set name = "Add Reagent" if(!usr.client || !usr.client.holder) usr << "<span class='warning'>You need to be an administrator to access this.</span>" return if(!D) return if(istype(D, /atom)) var/atom/A = D var/reagentDatum = input(usr,"Reagent","Insert Reagent","") as text|null if(reagentDatum) var/reagentAmount = input(usr, "Amount", "Insert Amount", "") as num if(A.reagents.add_reagent(reagentDatum, reagentAmount)) usr << "<span class='warning'>[reagentDatum] doesn't exist.</span>" return log_admin("[key_name(usr)] added [reagentDatum] with [reagentAmount] units to [A] ") message_admins("[key_name(usr)] added [reagentDatum] with [reagentAmount] units to [A] ")
/client/proc/cmd_admin_delete(atom/O as obj|mob|turf in world) set category = "Admin" set name = "Delete" if (!holder) src << "Only administrators may use this command." return if (alert(src, "Are you sure you want to delete:\n[O]\nat ([O.x], [O.y], [O.z])?", "Confirmation", "Yes", "No") == "Yes") log_admin("[key_name(usr)] deleted [O] at ([O.x],[O.y],[O.z])") message_admins("[key_name_admin(usr)] deleted [O] at ([O.x],[O.y],[O.z])", 1) feedback_add_details("admin_verb","DEL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! if(istype(O,/turf)) var/turf/T=O T.ChangeTurf(universe.space_type) else qdel(O)
right click lags gon get fixed
/client/proc/hide_verbs() set name = "Adminverbs - Hide All" set category = "Admin" remove_admin_verbs() verbs += /client/proc/show_verbs src << "<span class='interface'>Almost all of your adminverbs have been hidden.</span>" feedback_add_details("admin_verb","TAVVH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! return/client/proc/remove_admin_verbs() verbs.Remove( admin_verbs_default, /client/proc/togglebuildmodeself, admin_verbs_admin, admin_verbs_ban, admin_verbs_fun, admin_verbs_server, admin_verbs_debug, admin_verbs_possess, admin_verbs_permissions, /client/proc/stealth, admin_verbs_rejuv, admin_verbs_sounds, admin_verbs_spawn, /*Debug verbs added by "show debug verbs"*/ /client/proc/Cell, /client/proc/pdiff, /client/proc/do_not_use_these, /client/proc/camera_view, /client/proc/sec_camera_report, /client/proc/intercom_view, /client/proc/air_status, /client/proc/atmosscan, /client/proc/powerdebug, /client/proc/count_objects_on_z_level, /client/proc/count_objects_all, /client/proc/cmd_assume_direct_control, /client/proc/jump_to_dead_group, /client/proc/startSinglo, /client/proc/cheat_power, /client/proc/setup_atmos, /client/proc/ticklag, /client/proc/cmd_admin_grantfullaccess, /client/proc/kaboom, /client/proc/splash, /client/proc/cmd_admin_areatest, /client/proc/readmin, )var/list/admin_verbs_default = list( /datum/admins/proc/show_player_panel, /*shows an interface for individual players, with various links (links require additional flags*/ /client/proc/toggleadminhelpsound, /*toggles whether we hear a sound when adminhelps/PMs are used*/ /client/proc/deadmin_self, /*destroys our own admin datum so we can play as a regular player*/ /client/proc/hide_verbs, /*hides all our adminverbs*/ /client/proc/hide_most_verbs, /*hides all our hideable adminverbs*/ /client/proc/debug_variables, /*allows us to -see- the variables of any instance in the game. +VAREDIT needed to modify*/ /client/proc/check_antagonists, /*shows all antags*/ /datum/admins/proc/checkCID, /datum/admins/proc/checkCKEY// /client/proc/deadchat /*toggles deadchat on/off*/ )var/list/admin_verbs_admin = list( /client/proc/player_panel, /*shows an interface for all players, with links to various panels (old style)*/ /client/proc/player_panel_new, /*shows an interface for all players, with links to various panels*/ /client/proc/invisimin, /*allows our mob to go invisible/visible*/// /datum/admins/proc/show_traitor_panel, /*interface which shows a mob's mind*/ -Removed due to rare practical use. Moved to debug verbs ~Errorage /datum/admins/proc/toggleenter, /*toggles whether people can join the current game*/ /datum/admins/proc/toggleguests, /*toggles whether guests can join the current game*/ /datum/admins/proc/announce, /*priority announce something to all clients.*/ /client/proc/colorooc, /*allows us to set a custom colour for everythign we say in ooc*/ /client/proc/admin_ghost, /*allows us to ghost/reenter body at will*/ /client/proc/toggle_view_range, /*changes how far we can see*/ /datum/admins/proc/view_txt_log, /*shows the server log (diary) for today*/ /datum/admins/proc/view_atk_log, /*shows the server combat-log, doesn't do anything presently*/ /client/proc/cmd_admin_pm_context, /*right-click adminPM interface*/ /client/proc/cmd_admin_pm_panel, /*admin-pm list*/ /client/proc/cmd_admin_subtle_message, /*send an message to somebody as a 'voice in their head'*/ /client/proc/cmd_admin_delete, /*delete an instance/object/mob/etc*/ /client/proc/cmd_admin_check_contents, /*displays the contents of an instance*/ /datum/admins/proc/access_news_network, /*allows access of newscasters*/ /client/proc/giveruntimelog, /*allows us to give access to runtime logs to somebody*/ /client/proc/getruntimelog, /*allows us to access runtime logs to somebody*/ /client/proc/getserverlog, /*allows us to fetch server logs (diary) for other days*/ /client/proc/jumptocoord, /*we ghost and jump to a coordinate*/ /client/proc/Getmob, /*teleports a mob to our location*/ /client/proc/Getkey, /*teleports a mob with a certain ckey to our location*/// /client/proc/sendmob, /*sends a mob somewhere*/ -Removed due to it needing two sorting procs to work, which were executed every time an admin right-clicked. ~Errorage /client/proc/Jump, /client/proc/jumptokey, /*allows us to jump to the location of a mob with a certain ckey*/ /client/proc/jumptomob, /*allows us to jump to a specific mob*/ /client/proc/jumptoturf, /*allows us to jump to a specific turf*/ /client/proc/admin_call_shuttle, /*allows us to call the emergency shuttle*/ /client/proc/admin_cancel_shuttle, /*allows us to cancel the emergency shuttle, sending it back to centcomm*/ /client/proc/cmd_admin_direct_narrate, /*send text directly to a player with no padding. Useful for narratives and fluff-text*/ /client/proc/cmd_admin_local_narrate, /*send text locally to all players in view, similar to direct narrate*/ /client/proc/cmd_admin_world_narrate, /*sends text to all players with no padding*/ /client/proc/cmd_admin_create_centcom_report, /client/proc/check_words, /*displays cult-words*/ /client/proc/check_ai_laws, /*shows AI and borg laws*/ /client/proc/admin_memo, /*admin memo system. show/delete/write. +SERVER needed to delete admin memos of others*/ /client/proc/dsay, /*talk in deadchat using our ckey/fakekey*/ /client/proc/toggleprayers, /*toggles prayers on/off*/// /client/proc/toggle_hear_deadcast, /*toggles whether we hear deadchat*/ /client/proc/toggle_hear_radio, /*toggles whether we hear the radio*/ /client/proc/investigate_show, /*various admintools for investigation. Such as a singulo grief-log*/ /client/proc/secrets, /datum/admins/proc/toggleooc, /*toggles ooc on/off for everyone*/ /datum/admins/proc/toggleoocdead, /*toggles ooc on/off for everyone who is dead*/ /client/proc/game_panel, /*game panel, allows to change game-mode etc*/ /client/proc/cmd_admin_say, /*admin-only ooc chat*/ /datum/admins/proc/PlayerNotes, /client/proc/cmd_mod_say, /client/proc/cmd_mod_window, /datum/admins/proc/show_player_info, /client/proc/free_slot, /*frees slot for chosen job*/ /client/proc/cmd_admin_change_custom_event, /client/proc/cmd_admin_rejuvenate, /client/proc/toggleattacklogs, /client/proc/toggledebuglogs, /datum/admins/proc/show_skills, /client/proc/check_customitem_activity, // /client/proc/man_up, // /client/proc/global_man_up, /client/proc/response_team, // Response Teams admin verb /client/proc/toggle_antagHUD_use, /client/proc/toggle_antagHUD_restrictions, /client/proc/allow_character_respawn /* Allows a ghost to respawn */)var/list/admin_verbs_ban = list( /client/proc/unban_panel, /client/proc/jobbans, /client/proc/unjobban_panel // /client/proc/DB_ban_panel )var/list/admin_verbs_sounds = list( /client/proc/play_local_sound, /client/proc/play_sound )var/list/admin_verbs_fun = list( /client/proc/object_talk, /client/proc/cmd_admin_dress, /client/proc/cmd_admin_gib_self, /client/proc/drop_bomb, /client/proc/cinematic, /client/proc/one_click_antag, /client/proc/antag_madness, /datum/admins/proc/toggle_aliens, /datum/admins/proc/toggle_space_ninja, /client/proc/send_space_ninja, // FUUUUCKED /client/proc/zombie_event, // ZOMBB-B-BIES /client/proc/cmd_admin_add_freeform_ai_law, /client/proc/cmd_admin_add_random_ai_law, /client/proc/make_sound, /client/proc/toggle_random_events, /client/proc/set_ooc, /client/proc/editappear, /client/proc/commandname, /client/proc/delete_all_adminbus, /client/proc/delete_all_bomberman, /client/proc/create_bomberman_arena, /client/proc/control_bomberman_arena, /client/proc/gib_money, // /vg/ /client/proc/smissmas, /client/proc/achievement, /client/proc/mommi_static )var/list/admin_verbs_spawn = list( /datum/admins/proc/spawn_atom, /*allows us to spawn instances*/ /client/proc/respawn_character )var/list/admin_verbs_server = list( /client/proc/Set_Holiday, /client/proc/ToRban, /datum/admins/proc/startnow, /datum/admins/proc/restart, /datum/admins/proc/delay, /datum/admins/proc/toggleaban, /client/proc/toggle_log_hrefs, /datum/admins/proc/immreboot, /client/proc/everyone_random, /datum/admins/proc/toggleAI, /client/proc/cmd_admin_delete, /*delete an instance/object/mob/etc*/ /client/proc/cmd_debug_del_all, /datum/admins/proc/adrev, /datum/admins/proc/adspawn, /datum/admins/proc/adjump, /datum/admins/proc/toggle_aliens, /datum/admins/proc/toggle_space_ninja, /client/proc/toggle_random_events, /client/proc/check_customitem_activity, /client/proc/dump_chemreactions, )var/list/admin_verbs_debug = list( /client/proc/cmd_admin_list_open_jobs, /proc/getbrokeninhands, /client/proc/Debug2, /client/proc/kill_air, /client/proc/cmd_debug_make_powernets, /client/proc/kill_airgroup, /client/proc/debug_controller, /client/proc/cmd_debug_mob_lists, /client/proc/cmd_admin_delete, /client/proc/cmd_debug_del_all, /client/proc/cmd_debug_tog_aliens, /client/proc/air_report, /client/proc/reload_admins, /client/proc/restart_controller, /client/proc/enable_debug_verbs, /client/proc/callproc, /client/proc/toggledebuglogs, /client/proc/qdel_toggle, // /vg/ /client/proc/cmd_admin_dump_instances, // /vg/ /client/proc/cmd_admin_dump_machine_type_list, // /vg/ /client/proc/disable_bloodvirii, // /vg /client/proc/handle_paperwork, //this is completely experimental /client/proc/reload_style_sheet, /client/proc/reset_style_sheet, /client/proc/test_movable_UI, /client/proc/test_snap_UI, /client/proc/configFood, /client/proc/debug_reagents, /client/proc/make_invulnerable, /client/proc/cmd_admin_dump_delprofile, /client/proc/mob_list, /client/proc/cure_disease, /client/proc/check_bomb, /client/proc/cmd_admin_find_bad_blood_tracks,#ifdef PROFILE_MACHINES /client/proc/cmd_admin_dump_macprofile,#endif /client/proc/debugNatureMapGenerator, /client/proc/callatomproc )var/list/admin_verbs_possess = list( /proc/possess, /proc/release )var/list/admin_verbs_permissions = list( /client/proc/edit_admin_permissions )var/list/admin_verbs_rejuv = list( /client/proc/respawn_character )