mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Makes rainbowtide a config option.
Defaults to enabling rainbowtide, even if the config entry is absent from the config file.
This commit is contained in:
@@ -148,6 +148,7 @@
|
||||
var/assistant_cap = -1
|
||||
|
||||
var/starlight = 0
|
||||
var/gray_assistants = 0
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
@@ -448,6 +449,8 @@
|
||||
config.assistant_cap = text2num(value)
|
||||
if("starlight")
|
||||
config.starlight = 1
|
||||
if("gray_assistants")
|
||||
config.gray_assistants = 1
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
@@ -15,7 +15,10 @@ Assistant
|
||||
|
||||
/datum/job/assistant/equip_items(var/mob/living/carbon/human/H)
|
||||
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/sneakers/black(H), slot_shoes)
|
||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/color/random(H), slot_w_uniform)
|
||||
if (config.gray_assistants)
|
||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/color/grey(H), slot_w_uniform)
|
||||
else
|
||||
H.equip_to_slot_or_del(new /obj/item/clothing/under/color/random(H), slot_w_uniform)
|
||||
|
||||
/datum/job/assistant/get_access()
|
||||
if((config.jobs_have_maint_access & ASSISTANTS_HAVE_MAINT_ACCESS) || !config.jobs_have_minimal_access) //Config has assistant maint access set
|
||||
|
||||
@@ -221,4 +221,7 @@ SILICON_MAX_LAW_AMOUNT 12
|
||||
ASSISTANT_CAP -1
|
||||
|
||||
## Starlight for exterior walls and breaches. Uncomment for starlight!
|
||||
STARLIGHT
|
||||
STARLIGHT
|
||||
|
||||
## Uncomment to bring back old gray suit assistants instead of the now default rainbow colored assistants.
|
||||
#GRAY_ASSISTANTS
|
||||
Reference in New Issue
Block a user