mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
tweak(recolor_toggle): Makes it available for all staff (#15866)
- Changes verb obtaining proc to be all staff - Changes check_rights for R_EVENT Force pushed: - adds verb to event_manager verblist as well - Makes it work with ANY of R_ADMIN|R_EVENT|R_FUN
This commit is contained in:
@@ -130,7 +130,8 @@ var/list/admin_verbs_admin = list(
|
||||
/client/proc/make_mentor,
|
||||
/client/proc/unmake_mentor,
|
||||
/client/proc/removetickets,
|
||||
/client/proc/delbook
|
||||
/client/proc/delbook,
|
||||
/client/proc/toggle_spawning_with_recolour
|
||||
)
|
||||
|
||||
var/list/admin_verbs_ban = list(
|
||||
@@ -222,8 +223,7 @@ var/list/admin_verbs_server = list(
|
||||
/client/proc/recipe_dump,
|
||||
/client/proc/panicbunker,
|
||||
/client/proc/paranoia_logging,
|
||||
/client/proc/ip_reputation,
|
||||
/client/proc/toggle_spawning_with_recolour
|
||||
/client/proc/ip_reputation
|
||||
)
|
||||
|
||||
var/list/admin_verbs_debug = list(
|
||||
@@ -561,7 +561,8 @@ var/list/admin_verbs_event_manager = list(
|
||||
/client/proc/cmd_admin_delete, //delete an instance/object/mob/etc,
|
||||
/client/proc/cmd_debug_del_all,
|
||||
/client/proc/toggle_random_events,
|
||||
/client/proc/modify_server_news
|
||||
/client/proc/modify_server_news,
|
||||
/client/proc/toggle_spawning_with_recolour
|
||||
|
||||
)
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
set desc = "Makes it so new robots/simple_mobs spawn with a verb to recolour themselves for this round. You must set them separately."
|
||||
set category = "Server"
|
||||
|
||||
if(!check_rights(R_SERVER))
|
||||
if(!check_rights(R_ADMIN|R_EVENT|R_FUN))
|
||||
return
|
||||
|
||||
var/which = tgui_alert(usr, "Which do you want to toggle?", "Choose Recolour Toggle", list("Robot", "Simple Mob"))
|
||||
|
||||
Reference in New Issue
Block a user