[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 09:43:40 -07:00
committed by GitHub
parent 5061d322c1
commit 93d48c1680
34 changed files with 687 additions and 1274 deletions

View File

@@ -306,6 +306,10 @@ var/list/gamemode_cache = list()
var/static/invoke_youtubedl = null
//Enables/Disables the appropriate mob type from obtaining the verb on spawn. Still allows admins to manually give it to them.
var/static/allow_robot_recolor = FALSE
var/static/allow_simple_mob_recolor = FALSE
var/static/asset_transport
var/static/cache_assets = FALSE
@@ -1017,6 +1021,13 @@ var/list/gamemode_cache = list()
if("asset_cdn_url")
config.asset_cdn_url = value
//ChompEDIT - these belong here
if("allow_robot_recolor")
config.allow_robot_recolor = 1
if("allow_simple_mob_recolor")
config.allow_simple_mob_recolor = 1
//ChompEDIT End
else
log_misc("Unknown setting in configuration: '[name]'")
@@ -1085,6 +1096,12 @@ var/list/gamemode_cache = list()
if("loadout_whitelist")
config.loadout_whitelist = text2num(value)
/* //ChompEDIT - wrong place
if("allow_robot_recolor")
config.allow_robot_recolor = 1
if("allow_simple_mob_recolor")
config.allow_simple_mob_recolor = 1
*/
else
log_misc("Unknown setting in configuration: '[name]'")