mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 03:49:10 +01:00
@@ -32,6 +32,10 @@ var/list/admin_verbs_admin = list(
|
||||
/client/proc/getserverlog, /*allows us to fetch server logs (diary) for other days*/
|
||||
/client/proc/view_signal_log, /*allows admins to check the log of signaler uses*/
|
||||
/client/proc/jumptocoord, /*we ghost and jump to a coordinate*/
|
||||
/client/proc/jumptozlevel,
|
||||
/client/proc/jumptoshuttle,
|
||||
/client/proc/jumptoship,
|
||||
/client/proc/jumptosector,
|
||||
/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 */
|
||||
@@ -207,6 +211,10 @@ var/list/admin_verbs_debug = list(
|
||||
/client/proc/Jump,
|
||||
/client/proc/jumptomob,
|
||||
/client/proc/jumptocoord,
|
||||
/client/proc/jumptozlevel,
|
||||
/client/proc/jumptoshuttle,
|
||||
/client/proc/jumptoship,
|
||||
/client/proc/jumptosector,
|
||||
/client/proc/dsay,
|
||||
/client/proc/toggle_recursive_explosions,
|
||||
/client/proc/restart_sql,
|
||||
@@ -297,6 +305,10 @@ var/list/admin_verbs_hideable = list(
|
||||
/client/proc/cmd_cciaa_say,
|
||||
/datum/admins/proc/access_news_network,
|
||||
/client/proc/jumptocoord,
|
||||
/client/proc/jumptozlevel,
|
||||
/client/proc/jumptoshuttle,
|
||||
/client/proc/jumptoship,
|
||||
/client/proc/jumptosector,
|
||||
/client/proc/colorooc,
|
||||
/client/proc/add_client_color,
|
||||
/datum/admins/proc/force_mode_latespawn,
|
||||
@@ -440,6 +452,10 @@ var/list/admin_verbs_dev = list( //will need to be altered - Ryan784
|
||||
/client/proc/cmd_admin_pm_context,
|
||||
/client/proc/cmd_admin_pm_panel, //admin-pm list
|
||||
/client/proc/jumptocoord, /*we ghost and jump to a coordinate*/
|
||||
/client/proc/jumptozlevel,
|
||||
/client/proc/jumptoshuttle,
|
||||
/client/proc/jumptoship,
|
||||
/client/proc/jumptosector,
|
||||
/client/proc/cmd_dev_say,
|
||||
/client/proc/nanomapgen_DumpImage,
|
||||
/client/proc/admin_ghost,
|
||||
|
||||
@@ -90,6 +90,107 @@
|
||||
else
|
||||
alert("Admin jumping disabled")
|
||||
|
||||
/client/proc/jumptozlevel()
|
||||
set category = "Admin"
|
||||
set name = "Jump to Z-Level"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
|
||||
return
|
||||
|
||||
if(config.allow_admin_jump)
|
||||
var/list/zlevels = list()
|
||||
for(var/z=0, z<world.maxz, z++)
|
||||
zlevels += z
|
||||
var/selection = input("Select z-level to jump to.", "Admin Jumping", null, null) as null|anything in zlevels
|
||||
if(!selection)
|
||||
to_chat(src, "No z-level selected.")
|
||||
return
|
||||
if(src && src.mob)
|
||||
var/mob/A = src.mob
|
||||
A.on_mob_jump()
|
||||
A.x = world.maxx/2
|
||||
A.y = world.maxy/2
|
||||
A.z = selection
|
||||
message_admins("[key_name_admin(usr)] jumped to z-level [selection]", 1)
|
||||
feedback_add_details("admin_verb","JZ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
else
|
||||
alert("Admin jumping disabled")
|
||||
|
||||
/client/proc/jumptoshuttle()
|
||||
set category = "Admin"
|
||||
set name = "Jump to Shuttle"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
|
||||
return
|
||||
|
||||
if(config.allow_admin_jump)
|
||||
var/list/shuttles = list()
|
||||
for(var/shuttle_tag in SSshuttle.shuttles)
|
||||
shuttles += shuttle_tag
|
||||
var/selection = input("Select shuttle to jump to.", "Admin Jumping", null, null) as null|anything in shuttles
|
||||
if(!selection)
|
||||
to_chat(src, "No shuttle selected.")
|
||||
return
|
||||
var/datum/shuttle/shuttle = SSshuttle.shuttles[selection]
|
||||
if(src && src.mob && shuttle && shuttle.current_location && shuttle.current_location.loc)
|
||||
usr.on_mob_jump()
|
||||
usr.forceMove(shuttle.current_location.loc)
|
||||
message_admins("[key_name_admin(usr)] jumped to shuttle [selection]", 1)
|
||||
feedback_add_details("admin_verb","JSHU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
else
|
||||
alert("Admin jumping disabled")
|
||||
|
||||
/client/proc/jumptoship()
|
||||
set category = "Admin"
|
||||
set name = "Jump to Ship"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
|
||||
return
|
||||
|
||||
if(config.allow_admin_jump)
|
||||
var/list/ships = list()
|
||||
for(var/ship in SSshuttle.ships)
|
||||
ships += ship
|
||||
var/selection = input("Select ship to jump to.", "Admin Jumping", null, null) as null|anything in ships
|
||||
if(!selection)
|
||||
to_chat(src, "No ship selected.")
|
||||
return
|
||||
var/obj/effect/overmap/visitable/ship/ship = selection
|
||||
if(src && src.mob && ship && ship.entry_points && ship.entry_points[1])
|
||||
usr.on_mob_jump()
|
||||
usr.forceMove(ship.entry_points[1].loc)
|
||||
message_admins("[key_name_admin(usr)] jumped to ship [selection]", 1)
|
||||
feedback_add_details("admin_verb","JSHI") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
else
|
||||
alert("Admin jumping disabled")
|
||||
|
||||
/client/proc/jumptosector()
|
||||
set category = "Admin"
|
||||
set name = "Jump to Sector"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
|
||||
return
|
||||
|
||||
if(config.allow_admin_jump)
|
||||
var/list/sectors = list()
|
||||
for(var/sector in SSshuttle.initialized_sectors)
|
||||
sectors += sector
|
||||
var/selection = input("Select sector to jump to.", "Admin Jumping", null, null) as null|anything in sectors
|
||||
if(!selection)
|
||||
to_chat(src, "No sector selected.")
|
||||
return
|
||||
var/obj/effect/overmap/visitable/sector/sector = selection
|
||||
if(src && src.mob && sector && sector.map_z && sector.map_z[1])
|
||||
var/mob/A = src.mob
|
||||
A.on_mob_jump()
|
||||
A.x = world.maxx/2
|
||||
A.y = world.maxy/2
|
||||
A.z = sector.map_z[1]
|
||||
message_admins("[key_name_admin(usr)] jumped to sector [selection]", 1)
|
||||
feedback_add_details("admin_verb","JSEC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
else
|
||||
alert("Admin jumping disabled")
|
||||
|
||||
/client/proc/jumptokey()
|
||||
set category = "Admin"
|
||||
set name = "Jump to Key"
|
||||
|
||||
Reference in New Issue
Block a user