Borg Stuff

This commit is contained in:
FartMaster69420
2022-03-05 12:22:03 -05:00
parent 24e2113e2b
commit c3d2a3591f
3 changed files with 27 additions and 0 deletions
@@ -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