mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
[MIRROR] admin verb to modify shift end time (#10573)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
e67b085fc5
commit
fb5b0d3d7a
@@ -125,6 +125,7 @@ var/list/admin_verbs_admin = list(
|
||||
/client/proc/removetickets,
|
||||
/client/proc/delbook,
|
||||
/client/proc/toggle_spawning_with_recolour,
|
||||
/client/proc/modify_shift_end,
|
||||
/client/proc/start_vote,
|
||||
/client/proc/hide_motion_tracker_feedback,
|
||||
/client/proc/reload_jobwhitelist, //ChompADD
|
||||
@@ -574,6 +575,7 @@ var/list/admin_verbs_event_manager = list(
|
||||
/client/proc/toggle_random_events,
|
||||
/client/proc/modify_server_news,
|
||||
/client/proc/toggle_spawning_with_recolour,
|
||||
/client/proc/modify_shift_end,
|
||||
/client/proc/start_vote,
|
||||
/client/proc/AdminCreateVirus,
|
||||
/client/proc/ReleaseVirus,
|
||||
|
||||
@@ -711,3 +711,13 @@
|
||||
if("Simple Mob")
|
||||
CONFIG_SET(flag/allow_simple_mob_recolor, !CONFIG_GET(flag/allow_simple_mob_recolor))
|
||||
to_chat(usr, "You have [CONFIG_GET(flag/allow_simple_mob_recolor) ? "enabled" : "disabled"] newly spawned simple mobs to spawn with the recolour verb")
|
||||
|
||||
/client/proc/modify_shift_end()
|
||||
set name = "Modify Shift End"
|
||||
set desc = "Modifies the hard shift end time."
|
||||
set category = "Server.Game"
|
||||
|
||||
if(!check_rights_for(src, R_ADMIN|R_EVENT|R_SERVER))
|
||||
return
|
||||
|
||||
transfer_controller.modify_hard_end(src)
|
||||
|
||||
Reference in New Issue
Block a user