[MIRROR] ports matrix recolouring, Ports Colourmate update, ports simple mob/robot recolouring from CHOMP (#7997)

Co-authored-by: Casey <a.roaming.shadow@gmail.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
CHOMPStation2
2024-03-18 17:43:40 +01:00
committed by GitHub
co-authored by Casey Raeschen
parent 5061d322c1
commit 93d48c1680
34 changed files with 687 additions and 1274 deletions
+2 -1
View File
@@ -224,7 +224,8 @@ var/list/admin_verbs_server = list(
/client/proc/recipe_dump,
/client/proc/panicbunker,
/client/proc/paranoia_logging,
/client/proc/ip_reputation
/client/proc/ip_reputation,
/client/proc/toggle_spawning_with_recolour
)
var/list/admin_verbs_debug = list(
+17
View File
@@ -121,3 +121,20 @@
usr << browse(dat, "window=library")
onclose(usr, "library")
/client/proc/toggle_spawning_with_recolour()
set name = "Toggle Simple/Robot recolour verb"
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))
return
var/which = tgui_alert(usr, "Which do you want to toggle?", "Choose Recolour Toggle", list("Robot", "Simple Mob"))
switch(which)
if("Robot")
config.allow_robot_recolor = !config.allow_robot_recolor
to_chat(usr, "You have [config.allow_robot_recolor ? "enabled" : "disabled"] newly spawned cyborgs to spawn with the recolour verb")
if("Simple Mob")
config.allow_simple_mob_recolor = !config.allow_simple_mob_recolor
to_chat(usr, "You have [config.allow_simple_mob_recolor ? "enabled" : "disabled"] newly spawned simple mobs to spawn with the recolour verb")