mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
15baf7873a
## 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>
71 lines
3.5 KiB
Plaintext
71 lines
3.5 KiB
Plaintext
//Exile implants will allow you to use the station gate, but not return home.
|
|
//This will allow security to exile badguys/for badguys to exile their kill targets
|
|
|
|
/obj/item/implant/exile
|
|
name = "exile implant"
|
|
desc = "Prevents you from returning from away missions."
|
|
actions_types = null
|
|
implant_flags = IMPLANT_TYPE_SECURITY
|
|
hud_icon_state = "hud_imp_exile"
|
|
|
|
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 or employees from using teleporters to escape their grasp."
|
|
|
|
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)
|
|
. = ..()
|
|
if(!. || !isliving(target))
|
|
return FALSE
|
|
var/mob/living/living_target = target
|
|
ADD_TRAIT(living_target, TRAIT_NO_TELEPORT, IMPLANT_TRAIT)
|
|
return TRUE
|
|
|
|
/obj/item/implant/exile/noteleport/removed(mob/target, silent = FALSE, special = FALSE)
|
|
. = ..()
|
|
if(!. || !isliving(target))
|
|
return FALSE
|
|
var/mob/living/living_target = target
|
|
REMOVE_TRAIT(living_target, TRAIT_NO_TELEPORT, IMPLANT_TRAIT)
|
|
return TRUE
|
|
|
|
/obj/item/implanter/exile
|
|
name = "implanter (exile)"
|
|
imp_type = /obj/item/implant/exile
|
|
|
|
/obj/item/implanter/exile/noteleport
|
|
name = "implanter (anti-teleportation)"
|
|
imp_type = /obj/item/implant/exile/noteleport
|
|
|
|
/obj/item/implantcase/exile
|
|
name = "implant case - 'Exile'"
|
|
desc = "A glass case containing an exile implant."
|
|
imp_type = /obj/item/implant/exile
|
|
|
|
/obj/item/implantcase/exile/noteleport
|
|
name = "implant case - 'Anti-Teleportation'"
|
|
desc = "A glass case containing an anti-teleportation implant."
|
|
imp_type = /obj/item/implant/exile/noteleport
|