Adds the razorwire implant. Ready for review into merge (#23911)

* Please merge 23876 first thanks

* whoops / fix

* she snakes on my case till I

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* deconflicts, ready for TM

* Update code/_onclick/click.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* lewcs good to them

* icon move and changes

* almost forgot to save this

* Update augments_arms.dm

* Inverted it, it seems.

* fixes lockers

* razorwire failsafes

* fuck

* razorwire one hand

* removes 2hand implant stuff

* Apply suggestions from code review

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* s34ns changes

* Vampires can gain blood for a minute from people who succumb

* Revert "Vampires can gain blood for a minute from people who succumb"

This reverts commit 50a3cf87fe.

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2024-02-21 17:51:33 -05:00
committed by GitHub
parent 599f645ccb
commit ac32162dbc
15 changed files with 172 additions and 34 deletions
@@ -143,6 +143,7 @@
"<span class='notice'>You extend [holder] from your [parent_organ == "r_arm" ? "right" : "left"] arm.</span>",
"<span class='italics'>You hear a short mechanical noise.</span>")
playsound(get_turf(owner), 'sound/mecha/mechmove03.ogg', 50, 1)
return TRUE
/obj/item/organ/internal/cyberimp/arm/ui_action_click()
if(crit_fail || (!holder && !contents.len))
@@ -454,6 +455,55 @@
action_icon = list(/datum/action/item_action/organ_action/toggle = 'icons/obj/janitor.dmi')
action_icon_state = list(/datum/action/item_action/organ_action/toggle = "advmop")
// Razorwire implant, long reach whip made of extremely thin wire, ouch!
/obj/item/melee/razorwire
name = "implanted razorwire"
desc = "A long length of monomolecular filament, built into the back of your hand. \
Impossibly thin and flawlessly sharp, it should slice through organic materials with no trouble; \
even from a few steps away. However, results against anything more durable will heavily vary."
icon = 'icons/obj/energy_melee.dmi'
righthand_file = 'icons/mob/inhands/implants_righthand.dmi'
lefthand_file = 'icons/mob/inhands/implants_lefthand.dmi'
icon_state = "razorwire_weapon"
item_state = "razorwire"
w_class = WEIGHT_CLASS_BULKY
sharp = TRUE
force = 18
armour_penetration_percentage = -100 //This means that armor twice as effective against it
reach = 2
hitsound = 'sound/weapons/whip.ogg'
attack_verb = list("slashes", "whips", "lashes", "lacerates")
/obj/item/melee/razorwire/examine_more(mob/user)
. = ..()
. += "<i>A byproduct of Cybersun Incorporated's mistakes turned concept, the Razorwire Spool is a remarkable accident in itself. \
It consists of a fine, thread-like laser capable of being manipulated and swung like a whip. Designed for ease of deployment, the wire originates from the wrist, \
allowing users with the implant to perform wide swings and precise cuts against soft targets. It's the same energy found in other common energy weapons, such as swords and daggers.</i>"
. += "<i>Cybersun's investment into energy weapon development inadvertently led to the Razorwire Spool. Initially attempting to create an Energy Sword, \
they ended up with a material that, while superheated and correctly composed, failed to maintain a solid blade shape. Curious about this error, \
Cybersun repeated the process, producing an energy as thin as a wire. After several prototypes, they achieved a long, energy-like thread. \
Further innovation allowed them to conceal this in a forearm-sized container, \
with a hand and wrist replacement made of the same durable material used to contain energy weapons. They would call it, the Razorwire.</i>"
. += "<i>Favored by assassins for their stealth and efficiency, Cybersun exercises discretion in its distribution, favoring clients in their good graces. \
It falls behind other energy weapons due to its thinner and more loose pressure, however it is praised more as a side-arm for unarmored soft targets.</i>"
/obj/item/organ/internal/cyberimp/arm/razorwire
name = "razorwire spool implant"
desc = "An integrated spool of razorwire, capable of being used as a weapon when whipped at your foes. \
Built into the back of your hand, try your best to not get it tangled."
contents = newlist(/obj/item/melee/razorwire)
icon_state = "razorwire"
action_icon = list(/datum/action/item_action/organ_action/toggle = 'icons/obj/surgery.dmi')
action_icon_state = list(/datum/action/item_action/organ_action/toggle = "razorwire")
origin_tech = "combat=5;biotech=5;syndicate=2"
stealth_level = 1 // Hidden from health analyzers
/obj/item/organ/internal/cyberimp/arm/razorwire/examine_more(mob/user)
. = ..()
for(var/obj/I in contents)
return I.examine_more()
// Shell launch system, an arm mounted single-shot shotgun that comes out of your arm
/obj/item/gun/projectile/revolver/doublebarrel/shell_launcher
@@ -93,6 +93,16 @@
uses = 1
starting_organ = /obj/item/organ/internal/eyes/cybernetic/meson
/obj/item/autosurgeon/organ/syndicate/razorwire
desc = "A single use autosurgeon that contains a Razorwire arm implant. A screwdriver can be used to remove it, but implants can't be placed back in."
uses = 1
starting_organ = /obj/item/organ/internal/cyberimp/arm/razorwire
/obj/item/autosurgeon/organ/syndicate/razorwire/examine_more(mob/user)
. = ..()
if(storedorgan)
return storedorgan.examine_more()
/obj/item/autosurgeon/organ/syndicate/hackerman_deck
desc = "A single use autosurgeon that contains a Binyat wireless hacking system. A screwdriver can be used to remove it, but implants can't be placed back in."
uses = 1