mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
- Additional admin verbs and links will now display an ingame message to admins when used:
- rudimentary transformations from the player panel - give spell - make sound - kill air - make alien - make metroid - grant full access - assume direct control - select equipment - spawn xeno - gib will now log even when gibbing yourself - gibself - change view range - call shuttle - cancel shuttle - Also removed the 'stabilize atmos' verb. I noticed it had all of it's code commented out, so it literlaly did not do anything. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3535 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -85,6 +85,9 @@ var/global/BSACooldown = 0
|
|||||||
if(option == "Yes")
|
if(option == "Yes")
|
||||||
delmob = 1
|
delmob = 1
|
||||||
|
|
||||||
|
log_admin("[key_name(usr)] has used rudimentary transformation on [key_name(M)]. Transforming to [href_list["simplemake"]]; deletemob=[delmob]")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] has used rudimentary transformation on [key_name_admin(M)]. Transforming to [href_list["simplemake"]]; deletemob=[delmob]", 1)
|
||||||
|
|
||||||
switch(href_list["simplemake"])
|
switch(href_list["simplemake"])
|
||||||
if("observer")
|
if("observer")
|
||||||
M.change_mob_type( /mob/dead/observer , null, null, delmob)
|
M.change_mob_type( /mob/dead/observer , null, null, delmob)
|
||||||
|
|||||||
@@ -177,7 +177,7 @@
|
|||||||
verbs += /obj/admins/proc/toggleaban //abandon mob
|
verbs += /obj/admins/proc/toggleaban //abandon mob
|
||||||
verbs += /obj/admins/proc/show_traitor_panel
|
verbs += /obj/admins/proc/show_traitor_panel
|
||||||
verbs += /client/proc/getserverlog //fetch an old serverlog to look at
|
verbs += /client/proc/getserverlog //fetch an old serverlog to look at
|
||||||
verbs += /client/proc/cmd_admin_remove_plasma
|
//verbs += /client/proc/cmd_admin_remove_plasma --This proc is outdated, does not do anything
|
||||||
verbs += /client/proc/admin_call_shuttle
|
verbs += /client/proc/admin_call_shuttle
|
||||||
verbs += /client/proc/admin_cancel_shuttle
|
verbs += /client/proc/admin_cancel_shuttle
|
||||||
verbs += /client/proc/cmd_admin_dress
|
verbs += /client/proc/cmd_admin_dress
|
||||||
@@ -345,7 +345,7 @@
|
|||||||
//verbs -= /client/proc/cmd_admin_rejuvenate --merged with player panel
|
//verbs -= /client/proc/cmd_admin_rejuvenate --merged with player panel
|
||||||
verbs -= /client/proc/cmd_admin_delete
|
verbs -= /client/proc/cmd_admin_delete
|
||||||
verbs -= /client/proc/toggleadminhelpsound
|
verbs -= /client/proc/toggleadminhelpsound
|
||||||
verbs -= /client/proc/cmd_admin_remove_plasma
|
//verbs -= /client/proc/cmd_admin_remove_plasma --This proc is outdated, does not do anything
|
||||||
verbs -= /client/proc/admin_call_shuttle
|
verbs -= /client/proc/admin_call_shuttle
|
||||||
verbs -= /client/proc/admin_cancel_shuttle
|
verbs -= /client/proc/admin_cancel_shuttle
|
||||||
verbs -= /client/proc/cmd_admin_dress
|
verbs -= /client/proc/cmd_admin_dress
|
||||||
@@ -625,6 +625,8 @@
|
|||||||
if(!S) return
|
if(!S) return
|
||||||
T.spell_list += new S
|
T.spell_list += new S
|
||||||
feedback_add_details("admin_verb","GS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","GS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] gave [key_name(T)] the spell [S].")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] gave [key_name(T)] the spell [S].", 1)
|
||||||
|
|
||||||
/client/proc/make_sound(var/obj/O in world) // -- TLE
|
/client/proc/make_sound(var/obj/O in world) // -- TLE
|
||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
@@ -636,7 +638,9 @@
|
|||||||
return
|
return
|
||||||
for (var/mob/V in hearers(O))
|
for (var/mob/V in hearers(O))
|
||||||
V.show_message(message, 2)
|
V.show_message(message, 2)
|
||||||
feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
log_admin("[key_name(usr)] made [O] at [O.x], [O.y], [O.z]. make a sound")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] made [O] at [O.x], [O.y], [O.z]. make a sound", 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/togglebuildmodeself()
|
/client/proc/togglebuildmodeself()
|
||||||
@@ -679,6 +683,8 @@
|
|||||||
kill_air = 1
|
kill_air = 1
|
||||||
usr << "<b>Disabled air processing.</b>"
|
usr << "<b>Disabled air processing.</b>"
|
||||||
feedback_add_details("admin_verb","KA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","KA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] used 'kill air'.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] used 'kill air'.", 1)
|
||||||
|
|
||||||
/client/proc/show_verbs()
|
/client/proc/show_verbs()
|
||||||
set name = "Toggle admin verb visibility"
|
set name = "Toggle admin verb visibility"
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
|||||||
spawn(10)
|
spawn(10)
|
||||||
M:Alienize()
|
M:Alienize()
|
||||||
feedback_add_details("admin_verb","MKAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","MKAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] made [key_name(M)] into an alien.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] made [key_name(M)] into an alien.", 1)
|
||||||
else
|
else
|
||||||
alert("Invalid mob")
|
alert("Invalid mob")
|
||||||
|
|
||||||
@@ -209,6 +211,8 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
|||||||
spawn(10)
|
spawn(10)
|
||||||
M:Metroidize()
|
M:Metroidize()
|
||||||
feedback_add_details("admin_verb","MKMET") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","MKMET") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] made [key_name(M)] into a metroid.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] made [key_name(M)] into a metroid.", 1)
|
||||||
else
|
else
|
||||||
alert("Invalid mob")
|
alert("Invalid mob")
|
||||||
|
|
||||||
@@ -349,12 +353,10 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
|||||||
if(istype(H.wear_id, /obj/item/device/pda))
|
if(istype(H.wear_id, /obj/item/device/pda))
|
||||||
var/obj/item/device/pda/pda = H.wear_id
|
var/obj/item/device/pda/pda = H.wear_id
|
||||||
id = pda.id
|
id = pda.id
|
||||||
log_admin("[key_name(src)] has granted [M.key] full access.")
|
|
||||||
id.icon_state = "gold"
|
id.icon_state = "gold"
|
||||||
id:access = get_all_accesses()+get_all_centcom_access()+get_all_syndicate_access()
|
id:access = get_all_accesses()+get_all_centcom_access()+get_all_syndicate_access()
|
||||||
else
|
else
|
||||||
var/obj/item/weapon/card/id/id = new/obj/item/weapon/card/id(M);
|
var/obj/item/weapon/card/id/id = new/obj/item/weapon/card/id(M);
|
||||||
log_admin("[key_name(src)] has granted [M.key] full access.")
|
|
||||||
id.icon_state = "gold"
|
id.icon_state = "gold"
|
||||||
id:access = get_all_accesses()+get_all_centcom_access()+get_all_syndicate_access()
|
id:access = get_all_accesses()+get_all_centcom_access()+get_all_syndicate_access()
|
||||||
id.registered = H.real_name
|
id.registered = H.real_name
|
||||||
@@ -365,6 +367,8 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
|||||||
else
|
else
|
||||||
alert("Invalid mob")
|
alert("Invalid mob")
|
||||||
feedback_add_details("admin_verb","GFA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","GFA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(src)] has granted [M.key] full access.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] has granted [M.key] full access.", 1)
|
||||||
|
|
||||||
/client/proc/cmd_assume_direct_control(var/mob/M in world)
|
/client/proc/cmd_assume_direct_control(var/mob/M in world)
|
||||||
set category = "Admin"
|
set category = "Admin"
|
||||||
@@ -382,6 +386,8 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
|||||||
if( isobserver(adminmob) )
|
if( isobserver(adminmob) )
|
||||||
del(adminmob)
|
del(adminmob)
|
||||||
feedback_add_details("admin_verb","ADC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","ADC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] assumed direct control of [M].")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] assumed direct control of [M].", 1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -743,6 +749,9 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
|||||||
M.equip_if_possible(W, M.slot_wear_id)
|
M.equip_if_possible(W, M.slot_wear_id)
|
||||||
|
|
||||||
M.update_clothing()
|
M.update_clothing()
|
||||||
|
|
||||||
|
log_admin("[key_name(usr)] changed the equipment of [key_name(M)] to [dresscode].")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] changed the equipment of [key_name_admin(M)] to [dresscode]..", 1)
|
||||||
return
|
return
|
||||||
|
|
||||||
/client/proc/startSinglo()
|
/client/proc/startSinglo()
|
||||||
|
|||||||
@@ -177,6 +177,8 @@
|
|||||||
|
|
||||||
create_xeno()
|
create_xeno()
|
||||||
feedback_add_details("admin_verb","X") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","X") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] spawned a xeno.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] spawned a xeno.", 1)
|
||||||
return
|
return
|
||||||
|
|
||||||
//I use this proc for respawn character too. /N
|
//I use this proc for respawn character too. /N
|
||||||
@@ -614,9 +616,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
//Due to the delay here its easy for something to have happened to the mob
|
//Due to the delay here its easy for something to have happened to the mob
|
||||||
if(!M) return
|
if(!M) return
|
||||||
|
|
||||||
if(usr.key != M.key && M.client)
|
log_admin("[key_name(usr)] has gibbed [key_name(M)]")
|
||||||
log_admin("[key_name(usr)] has gibbed [key_name(M)]")
|
message_admins("[key_name_admin(usr)] has gibbed [key_name_admin(M)]", 1)
|
||||||
message_admins("[key_name_admin(usr)] has gibbed [key_name_admin(M)]", 1)
|
|
||||||
|
|
||||||
if(istype(M, /mob/dead/observer))
|
if(istype(M, /mob/dead/observer))
|
||||||
gibs(M.loc, M.viruses)
|
gibs(M.loc, M.viruses)
|
||||||
@@ -632,6 +633,9 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
return
|
return
|
||||||
else
|
else
|
||||||
mob.gib()
|
mob.gib()
|
||||||
|
|
||||||
|
log_admin("[key_name(usr)] used gibself.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] used gibself.", 1)
|
||||||
feedback_add_details("admin_verb","GIBS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","GIBS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
/*
|
/*
|
||||||
/client/proc/cmd_manual_ban()
|
/client/proc/cmd_manual_ban()
|
||||||
@@ -704,6 +708,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
usr << "[t]"
|
usr << "[t]"
|
||||||
feedback_add_details("admin_verb","CC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","CC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|
||||||
|
/* This proc is DEFERRED. Does not do anything.
|
||||||
/client/proc/cmd_admin_remove_plasma()
|
/client/proc/cmd_admin_remove_plasma()
|
||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
set name = "Stabilize Atmos."
|
set name = "Stabilize Atmos."
|
||||||
@@ -712,7 +717,6 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
return
|
return
|
||||||
feedback_add_details("admin_verb","STATM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","STATM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
// DEFERRED
|
// DEFERRED
|
||||||
/*
|
|
||||||
spawn(0)
|
spawn(0)
|
||||||
for(var/turf/T in view())
|
for(var/turf/T in view())
|
||||||
T.poison = 0
|
T.poison = 0
|
||||||
@@ -744,6 +748,10 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128)
|
view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128)
|
||||||
else
|
else
|
||||||
view = world.view
|
view = world.view
|
||||||
|
|
||||||
|
log_admin("[key_name(usr)] changed their view range to [view].")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] changed their view range to [view].", 1)
|
||||||
|
|
||||||
feedback_add_details("admin_verb","CVRA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","CVRA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|
||||||
/client/proc/admin_call_shuttle()
|
/client/proc/admin_call_shuttle()
|
||||||
@@ -772,6 +780,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
captain_announce("The emergency shuttle has been called. It will arrive in [round(emergency_shuttle.timeleft()/60)] minutes.")
|
captain_announce("The emergency shuttle has been called. It will arrive in [round(emergency_shuttle.timeleft()/60)] minutes.")
|
||||||
world << sound('shuttlecalled.ogg')
|
world << sound('shuttlecalled.ogg')
|
||||||
feedback_add_details("admin_verb","CSHUT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","CSHUT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] admin-called the emergency shuttle.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] admin-called the emergency shuttle.", 1)
|
||||||
return
|
return
|
||||||
|
|
||||||
/client/proc/admin_cancel_shuttle()
|
/client/proc/admin_cancel_shuttle()
|
||||||
@@ -791,6 +801,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
|
|
||||||
emergency_shuttle.recall()
|
emergency_shuttle.recall()
|
||||||
feedback_add_details("admin_verb","CCSHUT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
feedback_add_details("admin_verb","CCSHUT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
log_admin("[key_name(usr)] admin-recalled the emergency shuttle.")
|
||||||
|
message_admins("\blue [key_name_admin(usr)] admin-recalled the emergency shuttle.", 1)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user