mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Remove several admin verbs from context menu
This commit is contained in:
@@ -1372,7 +1372,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
|||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
set name = "Set Telecrystals"
|
set name = "Set Telecrystals"
|
||||||
set desc = "Allows admins to change telecrystals of a user."
|
set desc = "Allows admins to change telecrystals of a user."
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
var/crystals
|
var/crystals
|
||||||
|
|
||||||
if(check_rights(R_ADMIN))
|
if(check_rights(R_ADMIN))
|
||||||
@@ -1388,7 +1388,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
|||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
set name = "Add Telecrystals"
|
set name = "Add Telecrystals"
|
||||||
set desc = "Allows admins to change telecrystals of a user by addition."
|
set desc = "Allows admins to change telecrystals of a user by addition."
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
var/crystals
|
var/crystals
|
||||||
|
|
||||||
if(check_rights(R_ADMIN))
|
if(check_rights(R_ADMIN))
|
||||||
|
|||||||
@@ -731,6 +731,7 @@ var/list/admin_verbs_event_manager = list(
|
|||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
set name = "Give Modifier"
|
set name = "Give Modifier"
|
||||||
set desc = "Makes a mob weaker or stronger by adding a specific modifier to them."
|
set desc = "Makes a mob weaker or stronger by adding a specific modifier to them."
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
|
|
||||||
if(!L)
|
if(!L)
|
||||||
to_chat(usr, "<span class='warning'>Looks like you didn't select a mob.</span>")
|
to_chat(usr, "<span class='warning'>Looks like you didn't select a mob.</span>")
|
||||||
@@ -1051,6 +1052,7 @@ var/list/admin_verbs_event_manager = list(
|
|||||||
set category = "Fun"
|
set category = "Fun"
|
||||||
set name = "Man Up"
|
set name = "Man Up"
|
||||||
set desc = "Tells mob to man up and deal with it."
|
set desc = "Tells mob to man up and deal with it."
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
|
|
||||||
if(alert("Are you sure you want to tell them to man up?","Confirmation","Deal with it","No")=="No") return
|
if(alert("Are you sure you want to tell them to man up?","Confirmation","Deal with it","No")=="No") return
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
/client/proc/jumptomob(var/mob/M in mob_list)
|
/client/proc/jumptomob(var/mob/M in mob_list)
|
||||||
set category = "Admin"
|
set category = "Admin"
|
||||||
set name = "Jump to Mob"
|
set name = "Jump to Mob"
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG))
|
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -758,6 +758,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
|||||||
/client/proc/cmd_admin_check_contents(mob/living/M as mob in mob_list)
|
/client/proc/cmd_admin_check_contents(mob/living/M as mob in mob_list)
|
||||||
set category = "Special Verbs"
|
set category = "Special Verbs"
|
||||||
set name = "Check Contents"
|
set name = "Check Contents"
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
|
|
||||||
var/list/L = M.get_contents()
|
var/list/L = M.get_contents()
|
||||||
for(var/t in L)
|
for(var/t in L)
|
||||||
|
|||||||
@@ -390,7 +390,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
|||||||
set category = "Ghost"
|
set category = "Ghost"
|
||||||
set name = "Jump to Mob"
|
set name = "Jump to Mob"
|
||||||
set desc = "Teleport to a mob"
|
set desc = "Teleport to a mob"
|
||||||
|
set popup_menu = FALSE //VOREStation Edit - Declutter.
|
||||||
if(istype(usr, /mob/observer/dead)) //Make sure they're an observer!
|
if(istype(usr, /mob/observer/dead)) //Make sure they're an observer!
|
||||||
|
|
||||||
if (!target)//Make sure we actually have a target
|
if (!target)//Make sure we actually have a target
|
||||||
|
|||||||
Reference in New Issue
Block a user