mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Offsite Deathrattle Implants and Repathed Kheiral Cuffs (#94209)
## About The Pull Request Updates subdermal implants so that they have `implant_info` and `implant_lore` variables instead of one unchanging `get_info()`. Also rewrites/updates/tweaks/etc. lore for every implant that had get_info() blocks. Makes beacon implants (the ones you teleport onto) turn off (hide themselves on prisoner management consoles) after ten minutes, matching the tracking implant's functionality. Deathrattle implants are now `allow_multiple = TRUE`, so you can have multiple deathrattles implanted. Reworked the implant pad's UI to have collapsible sections for implant info, implant lore, and also have buttons for configuring deathrattle implants. Adds a box of expeditionary deathrattle implants to the mining vendor. For 900 points (585 points if delivered), you receive a box containing 5 expeditionary deathrattle implants, which **ONLY ALERT TO DEATHS IN MINING WASTELAND AREAS (e.g. not ruins, not space, not station) (this is important)**, an implanter, and an implant pad. The intended workflow is that you initialize one deathrattle implant, use that network for all the other deathrattles, and implant yourself, your mining buddies, your QM, and a paramedic, maybe. However since they start unset you could theoretically make one really big deathrattle network. Good luck getting people to volunteer for implanting, though, and as above, it only really works if you die outside of the station. Also, repaths kheiral cuffs to be accessories, so you can attach them to uniforms. They're still functional as suit sensor extenders and GPSes (when off-station). <details><summary>Screenshots</summary> <img width="469" height="91" alt="image" src="https://github.com/user-attachments/assets/2c88b151-e5ab-415a-8c41-0f166f439315" /><br> <img width="300" height="350" alt="image" src="https://github.com/user-attachments/assets/0764983a-1160-48ab-aa6a-d1aaf08a682e" /><br> <img width="300" height="350" alt="image" src="https://github.com/user-attachments/assets/98e84368-300b-453a-89a4-d922c80628e8" /> </details> ## Why It's Good For The Game Deathrattle implants are cool. Being able to know that your coworker exploded, after a non-negligible amount of setup and wrangling your fellow spaceman to let you implant them, is probably a good thing. Introduces a cooperative avenue of "Wait, my coworker just died" instead of "Hey, they haven't yelled something on comms, did they roll antag? (No. They died.)" Kheiral cuffs being uniform attachments is because having to sacrifice glove slot for them annoyed me a lot. ## Changelog 🆑 add: Nanotrasen has begun rolling out (unconfigured) expeditionary deathrattle implant kits for their mining teams for 900 points (585 points, if manually delivered). These only alert for deaths on raw mining wasteland, and will not work in space, ruins, or on-station. balance: Kheiral cuffs can now be attached to uniforms as accessories. They retain their suit sensor extension/GPS functionality (still only when off station Z-levels, though). fix: Beacon implants now turn off (hide themselves on prisoner management consoles) after ten minutes, matching the tracking implant's functionality. qol: Made the implant pad UI a little nicer to look at, with dropdowns and demarcated sections. code: Implants now have separated "immediately useful" information and "extended lore tidbits" information as variables instead of one unchangeable get_info() block. /🆑 --------- Co-authored-by: Hatterhat <Hatterhat@users.noreply.github.com>
This commit is contained in:
@@ -8,17 +8,17 @@
|
||||
///How long will the implant be teleportable to after death?
|
||||
var/lifespan_postmortem = 10 MINUTES
|
||||
|
||||
/obj/item/implant/beacon/get_data()
|
||||
return "<b>Implant Specifications:</b><BR> \
|
||||
<b>Name:</b> Robust Corp JMP-21 Fugitive Retrieval Implant<BR> \
|
||||
<b>Life:</b> Deactivates upon death after ten minutes, but remains within the body.<BR> \
|
||||
<b>Important Notes: N/A</B><BR> \
|
||||
<HR> \
|
||||
<b>Implant Details: </b><BR> \
|
||||
<b>Function:</b> Acts as a teleportation beacon that can be tracked by any standard bluespace transponder. \
|
||||
Using this, you can teleport directly to whoever has this implant inside of them."
|
||||
implant_info = "Automatically activates upon implantation. Acts as a dedicated, teleport-only bluespace beacon. \
|
||||
Deactivates ten minutes after host's death, but remains within the body."
|
||||
|
||||
implant_lore = "The Robust Corp JMP-21 Fugitive Retrieval Implant is a subdermal bluespace transponder \
|
||||
designed for interfacing with common bluespace teleporting technology and serving as a beacon that can \
|
||||
be teleported directly onto. Unfortunately, it only serves as a beacon-transponder that can be locked onto, \
|
||||
providing no tracking functionality. Automatically deactivates ten minutes after the host's death."
|
||||
|
||||
/obj/item/implant/beacon/is_shown_on_console(obj/machinery/computer/prisoner/management/console)
|
||||
if(imp_in.stat == DEAD && imp_in.timeofdeath + lifespan_postmortem < world.time)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/item/implant/beacon/get_management_console_data()
|
||||
|
||||
@@ -8,18 +8,15 @@
|
||||
/// All possible injection sizes for the implant shown in the prisoner management console.
|
||||
var/list/implant_sizes = list(1, 5, 10)
|
||||
|
||||
/obj/item/implant/chem/get_data()
|
||||
return "<b>Implant Specifications:</b><BR> \
|
||||
<b>Name:</b> Robust Corp MJ-420 Prisoner Management Implant<BR> \
|
||||
<b>Life:</b> Deactivates upon death but remains within the body.<BR> \
|
||||
<b>Important Notes: Due to the system functioning off of nutrients in the implanted subject's body, the subject<BR> \
|
||||
will suffer from an increased appetite.</B><BR> \
|
||||
<b>Implant Details:</b><BR> \
|
||||
<i>Function:</i> Contains a small capsule that can contain various chemicals. Upon receiving a specially encoded signal<BR> \
|
||||
the implant releases the chemicals directly into the blood stream.<BR> \
|
||||
<i>Micro-Capsule</i>- Can be loaded with any sort of chemical agent via the common syringe and can hold 50 units.<BR> \
|
||||
Can only be loaded while still in its original case.<BR> \
|
||||
<b>Integrity:</b> Implant will last so long as the subject is alive, breaking down and releasing all contents on death."
|
||||
implant_info = "Requires filling via syringe while in an implant case. Automatically activates upon implantation. \
|
||||
Allows for remote release of reagents directly into implantee's bloodstream."
|
||||
|
||||
implant_lore = "The Robust Corp MJ-420 Remote Chemical Release Implant is a remotely-controlled \
|
||||
microcapsule network designed to be filled via syringe while still within an implant case. After implantation, \
|
||||
the MJ-420 can be accessed via prisoner management console to release controlled amounts of reagents directly \
|
||||
into the implantee's bloodstream, which is useful for controlled release of sedatives, antipsychotics, or, for \
|
||||
particularly dangerous prisoners, lethal injections. Upon implantee's death, breaks down and releases all reagents \
|
||||
into their bloodstream."
|
||||
|
||||
/obj/item/implant/chem/is_shown_on_console(obj/machinery/computer/prisoner/management/console)
|
||||
return is_valid_z_level(get_turf(console), get_turf(imp_in))
|
||||
|
||||
@@ -8,22 +8,32 @@
|
||||
implant_flags = IMPLANT_TYPE_SECURITY
|
||||
hud_icon_state = "hud_imp_exile"
|
||||
|
||||
/obj/item/implant/exile/get_data()
|
||||
return "<b>Implant Specifications:</b><BR> \
|
||||
<b>Name:</b> Nanotrasen Employee Exile Implant<BR> \
|
||||
<b>Implant Details:</b> The onboard gateway system has been modified to reject entry by individuals containing this implant. \
|
||||
Additionally, station mining shuttles will lock their controls if handled by someone with this implant.<BR>"
|
||||
implant_info = "Automatically activates upon implantation. \
|
||||
Prevents returning through Nanotrasen gateway systems, and prevents usage of Nanotrasen mining shuttle controls."
|
||||
|
||||
implant_lore = "The Nanotrasen Employee Exile Implant is an RFID transponder \
|
||||
designed to facilitate one-way traversal through Nanotrasen Gateway Project gateways. \
|
||||
It allows implantees to enter, but not exit, gateway locales, automatically rejecting traversal attempts if an attempt is made, \
|
||||
effectively exiling them to the gateway's locale. \
|
||||
Alongside this, the exile implant interfaces with Nanotrasen mining shuttle control systems, automatically locking \
|
||||
themselves down if implantees attempt to use them."
|
||||
|
||||
///Used to help the staff of the space hotel resist the urge to use the space hotel's incredibly alluring roundstart teleporter to ignore their flavor/greeting text and come to the station.
|
||||
/obj/item/implant/exile/noteleport
|
||||
name = "anti-teleportation implant"
|
||||
desc = "Uses impressive bluespace grounding techniques to deny the person implanted by this implant the ability to teleport (or be teleported). Used by certain slavers (or particularly strict employers) to keep their slaves from using teleporters to escape their grasp."
|
||||
desc = "Uses impressive bluespace grounding techniques to deny the person implanted by this implant the ability to teleport or be teleported. \
|
||||
Used by certain slavers, or particularly strict employers, to keep their slaves or employees from using teleporters to escape their grasp."
|
||||
|
||||
/obj/item/implant/exile/noteleport/get_data()
|
||||
return "<b>Implant Specifications:</b><BR> \
|
||||
<b>Name:</b> Anti-Teleportation Implant<BR> \
|
||||
<b>Implant Details:</b> Keeps the implantee from using most teleportation devices. In addition, it spoofs the implant signature of an exile implant to keep the implantee from using certain gateway systems.<BR>"
|
||||
implant_info = "Automatically activates upon implantation. \
|
||||
Mimics an exile implant, preventing returning from a gateway locale and locking down Nanotrasen mining shuttles, \
|
||||
while also preventing teleportation."
|
||||
|
||||
implant_lore = "The Sunken Anchor anti-teleportation implant is a subdermal anti-teleportation device that prevents usage of \
|
||||
conventional and unconventional methods of teleporting, in order to prevent employees \
|
||||
or slaves from using unauthorized means of teleportation to abandon their posts. \
|
||||
In addition, the Sunken Anchor mimics the signature of Nanotrasen's exile implant, \
|
||||
preventing returning through Nanotrasen Gateway Project gateways and locking implantees out of using Nanotrasen's mining shuttles. \
|
||||
The ethics behind having this implant are questionable. The efficacy of the implant itself is not."
|
||||
|
||||
/obj/item/implant/exile/noteleport/implant(mob/living/target, mob/user, silent = FALSE, force = FALSE)
|
||||
. = ..()
|
||||
|
||||
@@ -6,11 +6,16 @@
|
||||
implant_flags = IMPLANT_TYPE_SECURITY
|
||||
hud_icon_state = "hud_imp_noteleport"
|
||||
|
||||
/obj/item/implant/teleport_blocker/get_data()
|
||||
return "<b>Implant Specifications:</b><BR> \
|
||||
<b>Name:</b> Robust Corp EXP-001 'Bluespace Grounder'<BR> \
|
||||
<b>Implant Details:</b> Upon implantation, grounds the user's bluespace signature to their currently occupied plane of existence. \
|
||||
Most, if not all forms of teleportation on the implantee will be rendered ineffective. Useful for keeping especially slippery prisoners in place.<BR>"
|
||||
implant_info = "Automatically activates upon implantation. \
|
||||
Grounds users' bluespace signatures, preventing jaunting and/or teleportation."
|
||||
|
||||
implant_lore = "The Robust Corp BG-001-EXP is a subcutaneous, experimental bluespace counter-resonance \
|
||||
frequency generator, designed to firmly ground an implantee's bluespace signature in baseline reality. \
|
||||
In layman's terms, it counteracts attempts to slip into bluespace or similar gaps in reality, \
|
||||
generating a dissonant frequency that interferes with the attempt, resulting in temporary paralysis. \
|
||||
Test subjects report that the interference feels like slamming into a wall, with none of the \
|
||||
physical trauma of actually slamming into a wall. Preliminary reports indicate that this \
|
||||
would likely be useful for keeping especially slippery prisoners in place."
|
||||
|
||||
/obj/item/implant/teleport_blocker/implant(mob/living/target, mob/user, silent = FALSE, force = FALSE)
|
||||
. = ..()
|
||||
|
||||
@@ -8,17 +8,15 @@
|
||||
///How long will the implant continue to function after death?
|
||||
var/lifespan_postmortem = 10 MINUTES
|
||||
|
||||
/obj/item/implant/tracking/get_data()
|
||||
return "<b>Implant Specifications:</b><BR> \
|
||||
<b>Name:</b> Robust Corp EYE-5 Convict Parole Implant<BR> \
|
||||
<b>Life:</b> 10 minutes after death of host.<BR> \
|
||||
<HR> \
|
||||
<b>Implant Details:</b> <BR> \
|
||||
<b>Function:</b> Continuously transmits low power signal. Can be tracked from a prisoner management console.<BR> \
|
||||
<b>Special Features:</b><BR> \
|
||||
<i>Neuro-Safe</i>- Specialized shell absorbs excess voltages self-destructing the chip if \
|
||||
a malfunction occurs thereby securing safety of subject. The implant will melt and \
|
||||
disintegrate into bio-safe elements.<BR>"
|
||||
implant_info = "Automatically activates upon implantation. Acts as a dedicated, tracking-only beacon \
|
||||
and direct-to-brain prisoner messaging system. \
|
||||
Deactivates ten minutes after host's death, but remains within the body."
|
||||
|
||||
implant_lore = "The Robust Corp EYE-5 Convict Parole Monitoring Implant is a subdermal tracking beacon \
|
||||
designed for interfacing with prisoner management equipment, serving as both a beacon that can \
|
||||
be tracked via locator equipment, and a provider of one-way communication from prisoner management staff \
|
||||
to implanted subjects, relaying messages directly to subjects' brains. \
|
||||
Automatically deactivates ten minutes after the host's death."
|
||||
|
||||
/obj/item/implant/tracking/is_shown_on_console(obj/machinery/computer/prisoner/management/console)
|
||||
if(imp_in.stat == DEAD && imp_in.timeofdeath + lifespan_postmortem < world.time)
|
||||
@@ -67,6 +65,18 @@
|
||||
///The id of the timer that's qdeleting us
|
||||
var/timerid
|
||||
|
||||
implant_info = "Automatically activates upon implantation, typically via firearm. \
|
||||
Acts as a dedicated, tracking-only beacon and direct-to-brain prisoner messaging system. \
|
||||
Dissolves into absorbable elements after 5 minutes."
|
||||
|
||||
implant_lore = "The Robust Corp EYE-5/TRAC Fugitive Monitoring Implant is a subdermal tracking beacon \
|
||||
designed to be delivered via high-velocity projectile. \
|
||||
Much like the original EYE-5 Convict Parole Monitoring Implant, \
|
||||
interfaces with prisoner management equipment, serving as both a beacon that can \
|
||||
be tracked via locator equipment, and a provider of one-way communication from prisoner management staff \
|
||||
to implanted targets, relaying messages directly to targets' brains. \
|
||||
Dissolves into bio-safe elements after five minutes."
|
||||
|
||||
/obj/item/implant/tracking/c38/implant(mob/living/target, mob/user, silent, force)
|
||||
. = ..()
|
||||
timerid = QDEL_IN_STOPPABLE(src, lifespan)
|
||||
|
||||
Reference in New Issue
Block a user