mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
## About The Pull Request In similar fashion to what was done with crafting recipes last year, this year it's time for techweb designs and printed items to be audited. This is mostly just about consistency, we've a lot of items that can be printed by protolathes, autolathes, circuit printers and techfab etc. However they almost all (except most stacks, mainly) have custom materials that do not match in one way or another with the materials used by the design, which is what this PR is for. "But items printed from lathes etc. already get the mats used to make them." Yes, they do, however that isn't the case for items of the same type that were spawned in some other way (cargo shuttle, space/maints loot, mapped, admins), this create a subtle discrepancy. It isn't a huge deal (in spite of the size of this PR, ton of designs), but given that I have done something similar with crafting recipes before, I may as well give it a second arc of some sort and bring things to completion. And fix a few possible oversights. TL;DR consistency and stuff ## Why It's Good For The Game Consistency, unit test checks to make it harder not to be consistent in the future. Still has a few TODOs like: - [x] Fixed newly printed, fully charged RCDs costing less than the RCD cartridges required to fully charge one. EDIT: I had to tweak the newly added RDD as well because it suffered from the same fundamental issue. - [x] Fixed plates being made of iron and yet shattering like ceramic ones. A new subtype for metallic ones has been made. ## Changelog 🆑 refactor: Refactored a few things with techweb designs (the ones for autolathes, protolathes, circuit printers, mechfabs etc.) to make sure that the materials of items that can be made from these designs more closely match the materials used to make them. fix: Lizard fries no longer need a plate to be made, like all other treats that used to require plates in a distant past. balance: Tweaked the materials cost of RCD, RDD and RCD cartridges. image: Oven trays now have a more metallic hue. balance: Plates printed printed from lathes won't shatter like ceramic ones, in virtue of them being made out of iron instead. /🆑
72 lines
3.6 KiB
Plaintext
72 lines
3.6 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"
|
|
custom_materials = list(/datum/material/iron = HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium = SMALL_MATERIAL_AMOUNT * 3)
|
|
|
|
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
|