Cyborg module sorting fixed (#15241)

This commit is contained in:
Chayse Ramsay
2021-10-06 16:16:10 +01:00
committed by GitHub
parent fa4f6dc612
commit 76fa85e683
2 changed files with 6 additions and 0 deletions
@@ -457,6 +457,10 @@ as performing this in action() will cause the upgrade to end up in the borg inst
desc = "An upgrade to a cyborg's hypospray, allowing it to \
pierce armor and thick material."
icon_state = "cyborg_upgrade3"
module_type = list(/obj/item/robot_module/medical,
/obj/item/robot_module/syndicate_medical)
var/list/additional_reagents = list()
module_flags = BORG_MODULE_MEDICAL
/obj/item/borg/upgrade/piercing_hypospray/action(mob/living/silicon/robot/R, user = usr)
. = ..()
@@ -514,6 +518,7 @@ as performing this in action() will cause the upgrade to end up in the borg inst
module_type = list(
/obj/item/robot_module/medical,
/obj/item/robot_module/syndicate_medical)
module_flags = BORG_MODULE_MEDICAL
/obj/item/borg/upgrade/advhealth/action(mob/living/silicon/robot/R, user = usr)
. = ..()
@@ -278,6 +278,7 @@
w_class = WEIGHT_CLASS_SMALL
require_module = 1
module_type = list(/obj/item/robot_module/miner)
module_flags = BORG_MODULE_MINER
var/denied_type = null
var/maximum_of_type = 1
var/cost = 30