diff --git a/code/game/objects/items/robot/robot_upgrades.dm b/code/game/objects/items/robot/robot_upgrades.dm index ac71abf6779..fca35dc6377 100644 --- a/code/game/objects/items/robot/robot_upgrades.dm +++ b/code/game/objects/items/robot/robot_upgrades.dm @@ -215,3 +215,27 @@ R.add_language(LANGUAGE_ZADDAT, 1) return 1 + +//Test Stuff +/obj/item/borg/upgrade/advrped + name = "Advamced Rapid Part Exchange Device" + desc = "An ARPED, now in borg size!." + icon_state = "cyborg_upgrade3" + item_state = "cyborg_upgrade" + require_module = 1 + +/obj/item/borg/upgrade/advrped/action(var/mob/living/silicon/robot/R) + if(..()) return 0 + + var/obj/item/weapon/storage/part_replacer/adv/T = locate() in R.module + if(!T) + T = locate() in R.module.contents + if(!T) + T = locate() in R.module.modules + if(!T) + R.module.modules += new/obj/item/weapon/storage/part_replacer/adv(R.module) + return 1 + if(T) + to_chat(R, "Upgrade mounting error! No suitable hardpoint detected!") + to_chat(usr, "There's no mounting point for the module!") + return 0 \ No newline at end of file diff --git a/code/modules/mob/living/silicon/robot/robot_modules/station_vr.dm b/code/modules/mob/living/silicon/robot/robot_modules/station_vr.dm index 3727dc279e8..712aa2c3d07 100644 --- a/code/modules/mob/living/silicon/robot/robot_modules/station_vr.dm +++ b/code/modules/mob/living/silicon/robot/robot_modules/station_vr.dm @@ -189,6 +189,7 @@ networks = list(NETWORK_SECURITY) pto_type = PTO_SECURITY can_be_pushed = 0 + supported_upgrades = list(/obj/item/borg/upgrade/tasercooler) /obj/item/weapon/robot_module/robot/knine/New(var/mob/living/silicon/robot/R) src.modules += new /obj/item/weapon/handcuffs/cyborg(src) //You need cuffs to be a proper sec borg! diff --git a/code/modules/research/prosfab_designs.dm b/code/modules/research/prosfab_designs.dm index d4ab887d987..1ba4aaea619 100644 --- a/code/modules/research/prosfab_designs.dm +++ b/code/modules/research/prosfab_designs.dm @@ -448,6 +448,8 @@ materials = list(MAT_STEEL = 25000, MAT_GLASS = 3000, MAT_GOLD = 350) build_path = /obj/item/borg/upgrade/language +// TO DO - ADD Borg Upgrades here + // Synthmorph Bags. /datum/design/item/prosfab/synthmorphbag