[NONMODULAR] Security Cyborgs are now locked behind the techweb! Requires the Mother of God experiment to research! (#9445)

Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
Iamgoofball
2021-11-16 18:16:06 -08:00
committed by GitHub
parent 3024345231
commit cb7d0a2d1f
3 changed files with 42 additions and 1 deletions
+11 -1
View File
@@ -185,9 +185,19 @@
)
if(!CONFIG_GET(flag/disable_peaceborg))
model_list["Peacekeeper"] = /obj/item/robot_model/peacekeeper
/* SKYRAT EDIT: DISABLED SECURITY CYBORG FOR TECHWEB SETUP
if(!CONFIG_GET(flag/disable_secborg))
model_list["Security"] = /obj/item/robot_model/security
*/
// SKYRAT EDIT ADDITION: Techweb locked cyborg modules
for(var/i in SSresearch.science_tech.researched_designs)
var/datum/design/cyborg_module/D = SSresearch.techweb_design_by_id(i)
if(!istype(D))
continue
if(D.unlocked_module_name == "Security" && CONFIG_GET(flag/disable_secborg))
continue
model_list[D.unlocked_module_name] = D.unlocked_module_path
// SKYRAT EDIT END
// Create radial menu for choosing borg model
var/list/model_icons = list()
for(var/option in model_list)
@@ -352,3 +352,21 @@
build_path = /obj/item/melee/baton/security/boomerang
category = list("Weapons")
departmental_flags = DEPARTMENTAL_FLAG_SECURITY
// SKYRAT EDIT BEGIN: CYBORG SHIT
/datum/design/cyborg_module
name = "Cyborg Design"
desc = "what"
id = "cyborg_module"
research_icon = 'icons/mob/robots.dmi'
research_icon_state = "robot"
var/unlocked_module_name
var/unlocked_module_path
/datum/design/cyborg_module/security
name = "Security Cyborg Design"
desc = "A security focued cyborg module. "
id = "security_cyborg_module"
research_icon_state = "sec"
unlocked_module_name = "Security"
unlocked_module_path = /obj/item/robot_model/security
// SKYRAT EDIT END
@@ -1462,6 +1462,19 @@
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
required_experiments = list(/datum/experiment/explosion/maxcap)
// SKYRAT EDIT START: SECBORG TECHWEB
/datum/techweb_node/secborg_node
id = "secborg_node"
display_name = "Cyborg Module: Security"
description = "Known to cause silicon law violations in all twelve sectors of space!"
prereq_ids = list("adv_weaponry")
design_ids = list(
"security_cyborg_module",
)
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 10000)
required_experiments = list(/datum/experiment/explosion/maxcap)
// SKYRAT EDIT END: SECBORG TECHWEB
/datum/techweb_node/ballistic_weapons
id = "ballistic_weapons"
display_name = "Ballistic Weaponry"