|
|
|
@@ -33,9 +33,9 @@
|
|
|
|
|
..()
|
|
|
|
|
to_chat(user, "<span class='info'>[src] is assembled in the [zone == "r_arm" ? "right" : "left"] arm configuration. You can use a screwdriver to reassemble it.</span>")
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/attackby(obj/item/weapon/W, mob/user, params)
|
|
|
|
|
/obj/item/organ/cyberimp/arm/attackby(obj/item/W, mob/user, params)
|
|
|
|
|
..()
|
|
|
|
|
if(istype(W, /obj/item/weapon/screwdriver))
|
|
|
|
|
if(istype(W, /obj/item/screwdriver))
|
|
|
|
|
if(zone == "r_arm")
|
|
|
|
|
zone = "l_arm"
|
|
|
|
|
else
|
|
|
|
@@ -43,7 +43,7 @@
|
|
|
|
|
slot = zone + "_device"
|
|
|
|
|
to_chat(user, "<span class='notice'>You modify [src] to be installed on the [zone == "r_arm" ? "right" : "left"] arm.</span>")
|
|
|
|
|
update_icon()
|
|
|
|
|
else if(istype(W, /obj/item/weapon/card/emag))
|
|
|
|
|
else if(istype(W, /obj/item/card/emag))
|
|
|
|
|
emag_act()
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/Remove(mob/living/carbon/M, special = 0)
|
|
|
|
@@ -119,7 +119,7 @@
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
// You can emag the arm-mounted implant by activating it while holding emag in it's hand.
|
|
|
|
|
if(istype(owner.get_active_held_item(), /obj/item/weapon/card/emag) && emag_act())
|
|
|
|
|
if(istype(owner.get_active_held_item(), /obj/item/card/emag) && emag_act())
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
if(!holder || (holder in src))
|
|
|
|
@@ -154,7 +154,7 @@
|
|
|
|
|
desc = "A variant of the arm cannon implant that fires lethal laser beams. The cannon emerges from the subject's arm and remains inside when not in use."
|
|
|
|
|
icon_state = "arm_laser"
|
|
|
|
|
origin_tech = "materials=4;combat=4;biotech=4;powerstorage=4;syndicate=3"
|
|
|
|
|
contents = newlist(/obj/item/weapon/gun/energy/laser/mounted)
|
|
|
|
|
contents = newlist(/obj/item/gun/energy/laser/mounted)
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/gun/laser/l
|
|
|
|
|
zone = "l_arm"
|
|
|
|
@@ -165,7 +165,7 @@
|
|
|
|
|
desc = "A variant of the arm cannon implant that fires electrodes and disabler shots. The cannon emerges from the subject's arm and remains inside when not in use."
|
|
|
|
|
icon_state = "arm_taser"
|
|
|
|
|
origin_tech = "materials=5;combat=5;biotech=4;powerstorage=4"
|
|
|
|
|
contents = newlist(/obj/item/weapon/gun/energy/e_gun/advtaser/mounted)
|
|
|
|
|
contents = newlist(/obj/item/gun/energy/e_gun/advtaser/mounted)
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/gun/taser/l
|
|
|
|
|
zone = "l_arm"
|
|
|
|
@@ -175,29 +175,29 @@
|
|
|
|
|
name = "integrated toolset implant"
|
|
|
|
|
desc = "A stripped-down version of engineering cyborg toolset, designed to be installed on subject's arm. Contains all necessary tools."
|
|
|
|
|
origin_tech = "materials=3;engineering=4;biotech=3;powerstorage=4"
|
|
|
|
|
contents = newlist(/obj/item/weapon/screwdriver/cyborg, /obj/item/weapon/wrench/cyborg, /obj/item/weapon/weldingtool/largetank/cyborg,
|
|
|
|
|
/obj/item/weapon/crowbar/cyborg, /obj/item/weapon/wirecutters/cyborg, /obj/item/device/multitool/cyborg)
|
|
|
|
|
contents = newlist(/obj/item/screwdriver/cyborg, /obj/item/wrench/cyborg, /obj/item/weldingtool/largetank/cyborg,
|
|
|
|
|
/obj/item/crowbar/cyborg, /obj/item/wirecutters/cyborg, /obj/item/device/multitool/cyborg)
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/toolset/l
|
|
|
|
|
zone = "l_arm"
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/toolset/emag_act()
|
|
|
|
|
if(!(locate(/obj/item/weapon/kitchen/knife/combat/cyborg) in items_list))
|
|
|
|
|
if(!(locate(/obj/item/kitchen/knife/combat/cyborg) in items_list))
|
|
|
|
|
to_chat(usr, "<span class='notice'>You unlock [src]'s integrated knife!</span>")
|
|
|
|
|
items_list += new /obj/item/weapon/kitchen/knife/combat/cyborg(src)
|
|
|
|
|
items_list += new /obj/item/kitchen/knife/combat/cyborg(src)
|
|
|
|
|
return 1
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/esword
|
|
|
|
|
name = "arm-mounted energy blade"
|
|
|
|
|
desc = "An illegal, and highly dangerous cybernetic implant that can project a deadly blade of concentrated energy."
|
|
|
|
|
contents = newlist(/obj/item/weapon/melee/transforming/energy/blade/hardlight)
|
|
|
|
|
contents = newlist(/obj/item/melee/transforming/energy/blade/hardlight)
|
|
|
|
|
origin_tech = "materials=4;combat=5;biotech=3;powerstorage=2;syndicate=5"
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/medibeam
|
|
|
|
|
name = "integrated medical beamgun"
|
|
|
|
|
desc = "A cybernetic implant that allows the user to project a healing beam from their hand."
|
|
|
|
|
contents = newlist(/obj/item/weapon/gun/medbeam)
|
|
|
|
|
contents = newlist(/obj/item/gun/medbeam)
|
|
|
|
|
origin_tech = "materials=5;combat=2;biotech=5;powerstorage=4;syndicate=1"
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/flash
|
|
|
|
@@ -221,7 +221,7 @@
|
|
|
|
|
/obj/item/organ/cyberimp/arm/combat
|
|
|
|
|
name = "combat cybernetics implant"
|
|
|
|
|
desc = "A powerful cybernetic implant that contains combat modules built into the user's arm"
|
|
|
|
|
contents = newlist(/obj/item/weapon/melee/transforming/energy/blade/hardlight, /obj/item/weapon/gun/medbeam, /obj/item/borg/stun, /obj/item/device/assembly/flash/armimplant)
|
|
|
|
|
contents = newlist(/obj/item/melee/transforming/energy/blade/hardlight, /obj/item/gun/medbeam, /obj/item/borg/stun, /obj/item/device/assembly/flash/armimplant)
|
|
|
|
|
origin_tech = "materials=5;combat=7;biotech=5;powerstorage=5;syndicate=6;programming=5"
|
|
|
|
|
|
|
|
|
|
/obj/item/organ/cyberimp/arm/combat/Initialize()
|
|
|
|
@@ -233,5 +233,5 @@
|
|
|
|
|
/obj/item/organ/cyberimp/arm/surgery
|
|
|
|
|
name = "surgical toolset implant"
|
|
|
|
|
desc = "A set of surgical tools hidden behind a concealed panel on the user's arm"
|
|
|
|
|
contents = newlist(/obj/item/weapon/retractor/augment, /obj/item/weapon/hemostat/augment, /obj/item/weapon/cautery/augment, /obj/item/weapon/surgicaldrill/augment, /obj/item/weapon/scalpel/augment, /obj/item/weapon/circular_saw/augment, /obj/item/weapon/surgical_drapes)
|
|
|
|
|
contents = newlist(/obj/item/retractor/augment, /obj/item/hemostat/augment, /obj/item/cautery/augment, /obj/item/surgicaldrill/augment, /obj/item/scalpel/augment, /obj/item/circular_saw/augment, /obj/item/surgical_drapes)
|
|
|
|
|
origin_tech = "materials=3;engineering=3;biotech=3;programming=2;magnets=3"
|
|
|
|
|