mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 21:52:42 +00:00
Merge pull request #6703 from VOREStation/randomverbs
Don't talk to strangers
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
set category = null
|
set category = null
|
||||||
set name = "Drop Everything"
|
set name = "Drop Everything"
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
var/confirm = alert(src, "Make [M] drop everything?", "Message", "Yes", "No")
|
var/confirm = alert(src, "Make [M] drop everything?", "Message", "Yes", "No")
|
||||||
@@ -20,8 +19,8 @@
|
|||||||
set category = "Admin"
|
set category = "Admin"
|
||||||
set name = "Prison"
|
set name = "Prison"
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if (ismob(M))
|
if (ismob(M))
|
||||||
if(istype(M, /mob/living/silicon/ai))
|
if(istype(M, /mob/living/silicon/ai))
|
||||||
alert("The AI can't be sent to prison you jerk!", null, null, null, null, null)
|
alert("The AI can't be sent to prison you jerk!", null, null, null, null, null)
|
||||||
@@ -48,7 +47,7 @@
|
|||||||
set category = "Admin"
|
set category = "Admin"
|
||||||
set name = "Check new Players"
|
set name = "Check new Players"
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only staff members may use this command.")
|
return
|
||||||
|
|
||||||
var/age = alert(src, "Age check", "Show accounts yonger then _____ days","7", "30" , "All")
|
var/age = alert(src, "Age check", "Show accounts yonger then _____ days","7", "30" , "All")
|
||||||
|
|
||||||
@@ -83,7 +82,6 @@
|
|||||||
|
|
||||||
if(!ismob(M)) return
|
if(!ismob(M)) return
|
||||||
if (!holder)
|
if (!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
var/msg = sanitize(input("Message:", text("Subtle PM to [M.key]")) as text)
|
var/msg = sanitize(input("Message:", text("Subtle PM to [M.key]")) as text)
|
||||||
@@ -106,7 +104,6 @@
|
|||||||
set name = "Global Narrate"
|
set name = "Global Narrate"
|
||||||
|
|
||||||
if (!holder)
|
if (!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
var/msg = sanitize(input("Message:", text("Enter the text you wish to appear to everyone:")) as text)
|
var/msg = sanitize(input("Message:", text("Enter the text you wish to appear to everyone:")) as text)
|
||||||
@@ -123,7 +120,6 @@
|
|||||||
set name = "Direct Narrate"
|
set name = "Direct Narrate"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators and moderators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!M)
|
if(!M)
|
||||||
@@ -147,9 +143,10 @@
|
|||||||
/client/proc/cmd_admin_godmode(mob/M as mob in mob_list)
|
/client/proc/cmd_admin_godmode(mob/M as mob in mob_list)
|
||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Godmode"
|
set name = "Godmode"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
M.status_flags ^= GODMODE
|
M.status_flags ^= GODMODE
|
||||||
to_chat(usr, "<font color='blue'> Toggled [(M.status_flags & GODMODE) ? "ON" : "OFF"]</font>")
|
to_chat(usr, "<font color='blue'> Toggled [(M.status_flags & GODMODE) ? "ON" : "OFF"]</font>")
|
||||||
|
|
||||||
@@ -215,9 +212,10 @@ proc/cmd_admin_mute(mob/M as mob, mute_type, automute = 0)
|
|||||||
/client/proc/cmd_admin_add_random_ai_law()
|
/client/proc/cmd_admin_add_random_ai_law()
|
||||||
set category = "Fun"
|
set category = "Fun"
|
||||||
set name = "Add Random AI Law"
|
set name = "Add Random AI Law"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
|
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
|
||||||
if(confirm != "Yes") return
|
if(confirm != "Yes") return
|
||||||
log_admin("[key_name(src)] has added a random AI law.")
|
log_admin("[key_name(src)] has added a random AI law.")
|
||||||
@@ -264,8 +262,10 @@ Ccomp's first proc.
|
|||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Allow player to respawn"
|
set name = "Allow player to respawn"
|
||||||
set desc = "Let's the player bypass the wait to respawn or allow them to re-enter their corpse."
|
set desc = "Let's the player bypass the wait to respawn or allow them to re-enter their corpse."
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators and moderators may use this command.")
|
return
|
||||||
|
|
||||||
var/list/ghosts= get_ghosts(1,1)
|
var/list/ghosts= get_ghosts(1,1)
|
||||||
|
|
||||||
var/target = input("Please, select a ghost!", "COME BACK TO LIFE!", null, null) as null|anything in ghosts
|
var/target = input("Please, select a ghost!", "COME BACK TO LIFE!", null, null) as null|anything in ghosts
|
||||||
@@ -295,7 +295,8 @@ Ccomp's first proc.
|
|||||||
set desc = "Toggles antagHUD usage for observers"
|
set desc = "Toggles antagHUD usage for observers"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
return
|
||||||
|
|
||||||
var/action=""
|
var/action=""
|
||||||
if(config.antag_hud_allowed)
|
if(config.antag_hud_allowed)
|
||||||
for(var/mob/observer/dead/g in get_ghosts())
|
for(var/mob/observer/dead/g in get_ghosts())
|
||||||
@@ -327,8 +328,10 @@ Ccomp's first proc.
|
|||||||
set category = "Server"
|
set category = "Server"
|
||||||
set name = "Toggle antagHUD Restrictions"
|
set name = "Toggle antagHUD Restrictions"
|
||||||
set desc = "Restricts players that have used antagHUD from being able to join this round."
|
set desc = "Restricts players that have used antagHUD from being able to join this round."
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
return
|
||||||
|
|
||||||
var/action=""
|
var/action=""
|
||||||
if(config.antag_hud_restricted)
|
if(config.antag_hud_restricted)
|
||||||
for(var/mob/observer/dead/g in get_ghosts())
|
for(var/mob/observer/dead/g in get_ghosts())
|
||||||
@@ -358,8 +361,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Spawn Character"
|
set name = "Spawn Character"
|
||||||
set desc = "(Re)Spawn a client's loaded character."
|
set desc = "(Re)Spawn a client's loaded character."
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
//I frontload all the questions so we don't have a half-done process while you're reading.
|
//I frontload all the questions so we don't have a half-done process while you're reading.
|
||||||
@@ -506,9 +509,10 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
/client/proc/cmd_admin_add_freeform_ai_law()
|
/client/proc/cmd_admin_add_freeform_ai_law()
|
||||||
set category = "Fun"
|
set category = "Fun"
|
||||||
set name = "Add Custom AI law"
|
set name = "Add Custom AI law"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
var/input = sanitize(input(usr, "Please enter anything you want the AI to do. Anything. Serious.", "What?", "") as text|null)
|
var/input = sanitize(input(usr, "Please enter anything you want the AI to do. Anything. Serious.", "What?", "") as text|null)
|
||||||
if(!input)
|
if(!input)
|
||||||
return
|
return
|
||||||
@@ -534,9 +538,10 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
/client/proc/cmd_admin_rejuvenate(mob/living/M as mob in mob_list)
|
/client/proc/cmd_admin_rejuvenate(mob/living/M as mob in mob_list)
|
||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Rejuvenate"
|
set name = "Rejuvenate"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!mob)
|
if(!mob)
|
||||||
return
|
return
|
||||||
if(!istype(M))
|
if(!istype(M))
|
||||||
@@ -556,9 +561,10 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
/client/proc/cmd_admin_create_centcom_report()
|
/client/proc/cmd_admin_create_centcom_report()
|
||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Create Command Report"
|
set name = "Create Command Report"
|
||||||
|
|
||||||
if(!holder)
|
if(!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
var/input = sanitize(input(usr, "Please enter anything you want. Anything. Serious.", "What?", "") as message|null, extra = 0)
|
var/input = sanitize(input(usr, "Please enter anything you want. Anything. Serious.", "What?", "") as message|null, extra = 0)
|
||||||
var/customname = sanitizeSafe(input(usr, "Pick a title for the report.", "Title") as text|null)
|
var/customname = sanitizeSafe(input(usr, "Pick a title for the report.", "Title") as text|null)
|
||||||
if(!input)
|
if(!input)
|
||||||
@@ -585,8 +591,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
set name = "Delete"
|
set name = "Delete"
|
||||||
|
|
||||||
if (!holder)
|
if (!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
admin_delete(O)
|
admin_delete(O)
|
||||||
|
|
||||||
/client/proc/cmd_admin_list_open_jobs()
|
/client/proc/cmd_admin_list_open_jobs()
|
||||||
@@ -594,8 +600,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
set name = "List free slots"
|
set name = "List free slots"
|
||||||
|
|
||||||
if (!holder)
|
if (!holder)
|
||||||
to_chat(src, "Only administrators may use this command.")
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if(job_master)
|
if(job_master)
|
||||||
for(var/datum/job/job in job_master.occupations)
|
for(var/datum/job/job in job_master.occupations)
|
||||||
to_chat(src, "[job.title]: [job.total_positions]")
|
to_chat(src, "[job.title]: [job.total_positions]")
|
||||||
@@ -680,6 +686,9 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
set name = "Gibself"
|
set name = "Gibself"
|
||||||
set category = "Fun"
|
set category = "Fun"
|
||||||
|
|
||||||
|
if(!holder)
|
||||||
|
return
|
||||||
|
|
||||||
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
|
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
|
||||||
if(confirm == "Yes")
|
if(confirm == "Yes")
|
||||||
if (istype(mob, /mob/observer/dead)) // so they don't spam gibs everywhere
|
if (istype(mob, /mob/observer/dead)) // so they don't spam gibs everywhere
|
||||||
@@ -756,6 +765,9 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Check Contents"
|
set name = "Check Contents"
|
||||||
|
|
||||||
|
if(!holder)
|
||||||
|
return
|
||||||
|
|
||||||
var/list/L = M.get_contents()
|
var/list/L = M.get_contents()
|
||||||
for(var/t in L)
|
for(var/t in L)
|
||||||
to_chat(usr, "[t]")
|
to_chat(usr, "[t]")
|
||||||
@@ -797,6 +809,9 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
set name = "Change View Range"
|
set name = "Change View Range"
|
||||||
set desc = "switches between 1x and custom views"
|
set desc = "switches between 1x and custom views"
|
||||||
|
|
||||||
|
if(!holder)
|
||||||
|
return
|
||||||
|
|
||||||
if(view == world.view)
|
if(view == world.view)
|
||||||
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
|
||||||
@@ -808,7 +823,6 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
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()
|
||||||
|
|
||||||
set category = "Admin"
|
set category = "Admin"
|
||||||
set name = "Call Shuttle"
|
set name = "Call Shuttle"
|
||||||
|
|
||||||
@@ -919,8 +933,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
/client/proc/toggle_random_events()
|
/client/proc/toggle_random_events()
|
||||||
set category = "Server"
|
set category = "Server"
|
||||||
set name = "Toggle random events on/off"
|
set name = "Toggle random events on/off"
|
||||||
|
|
||||||
set desc = "Toggles random events such as meteors, black holes, blob (but not space dust) on/off"
|
set desc = "Toggles random events such as meteors, black holes, blob (but not space dust) on/off"
|
||||||
|
|
||||||
if(!check_rights(R_SERVER|R_EVENT)) return
|
if(!check_rights(R_SERVER|R_EVENT)) return
|
||||||
|
|
||||||
if(!config.allow_random_events)
|
if(!config.allow_random_events)
|
||||||
|
|||||||
Reference in New Issue
Block a user