From 665bc0e7039011ebf18feed0de8cc48c6e5da2d5 Mon Sep 17 00:00:00 2001 From: Fikou Date: Thu, 27 May 2021 13:35:16 +0200 Subject: [PATCH] borg disabler cooler now only gets added if secborgs arent disabled (#59307) --- code/modules/research/techweb/all_nodes.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/research/techweb/all_nodes.dm b/code/modules/research/techweb/all_nodes.dm index e052217c752..9d7588b486f 100644 --- a/code/modules/research/techweb/all_nodes.dm +++ b/code/modules/research/techweb/all_nodes.dm @@ -361,9 +361,14 @@ display_name = "Cyborg Upgrades: Utility" description = "Utility upgrades for cyborgs." prereq_ids = list("adv_robotics") - design_ids = list("borg_upgrade_thrusters", "borg_upgrade_selfrepair", "borg_upgrade_expand", "borg_upgrade_disablercooler", "borg_upgrade_trashofholding", "borg_upgrade_advancedmop", "borg_upgrade_broomer", "borg_upgrade_prt") + design_ids = list("borg_upgrade_thrusters", "borg_upgrade_selfrepair", "borg_upgrade_expand", "borg_upgrade_trashofholding", "borg_upgrade_advancedmop", "borg_upgrade_broomer", "borg_upgrade_prt") research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2000) +/datum/techweb_node/cyborg_upg_util/New() + . = ..() + if(!CONFIG_GET(flag/disable_secborg)) + design_ids += "borg_upgrade_disablercooler" + /datum/techweb_node/cyborg_upg_engiminer id = "cyborg_upg_engiminer" display_name = "Cyborg Upgrades: Engineering & Mining"