mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[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:
@@ -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]'")
|
||||
|
||||
Reference in New Issue
Block a user