From 118dec69a8279cf6096f2d86cf00fd09ead492bd Mon Sep 17 00:00:00 2001 From: ynot01 Date: Fri, 27 Jan 2023 19:13:13 -0500 Subject: [PATCH] Security nerf: Mindshield firing pins no longer printable (#17634) * fpin nerf * Update packs.dm * Update packs.dm --- code/game/objects/items/storage/boxes.dm | 9 +++++++++ code/modules/cargo/packs.dm | 9 ++++++++- code/modules/research/designs/weapon_designs.dm | 10 ---------- code/modules/research/techweb/all_nodes.dm | 2 +- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm index c36c0c54e881..bcef3d1ac8e8 100644 --- a/code/game/objects/items/storage/boxes.dm +++ b/code/game/objects/items/storage/boxes.dm @@ -670,6 +670,15 @@ for(var/i in 1 to 5) new /obj/item/firing_pin(src) +/obj/item/storage/box/secfiringpins + name = "box of mindshield firing pins" + desc = "A box full of mindshield firing pins, to allow newly-developed firearms to operate." + illustration = "id" + +/obj/item/storage/box/secfiringpins/PopulateContents() + for(var/i in 1 to 5) + new /obj/item/firing_pin/implant/mindshield(src) + /obj/item/storage/box/lasertagpins name = "box of laser tag firing pins" desc = "A box full of laser tag firing pins, to allow newly-developed firearms to require wearing brightly coloured plastic armor before being able to be used." diff --git a/code/modules/cargo/packs.dm b/code/modules/cargo/packs.dm index 1dba9f3c2751..163a3cbae92d 100644 --- a/code/modules/cargo/packs.dm +++ b/code/modules/cargo/packs.dm @@ -413,11 +413,18 @@ name = "Standard Firing Pins Crate" desc = "Upgrade your arsenal with 10 standard firing pins. Requires Security access to open." cost = 2000 - access_view = ACCESS_ARMORY contains = list(/obj/item/storage/box/firingpins, /obj/item/storage/box/firingpins) crate_name = "firing pins crate" +/datum/supply_pack/security/secfiringpins + name = "Mindshield Firing Pins Crate" + desc = "Upgrade your arsenal with 10 mindshield firing pins. Requires Security access to open." + cost = 3000 + contains = list(/obj/item/storage/box/secfiringpins, + /obj/item/storage/box/secfiringpins) + crate_name = "firing pins crate" + /datum/supply_pack/security/justiceinbound name = "Standard Justice Enforcer Crate" desc = "This is it. The Bee's Knees. The Creme of the Crop. The Pick of the Litter. The best of the best of the best. The Crown Jewel of Nanotrasen. The Alpha and the Omega of security headwear. Guaranteed to strike fear into the hearts of each and every criminal aboard the station. Also comes with a security gasmask. Requires Security access to open." diff --git a/code/modules/research/designs/weapon_designs.dm b/code/modules/research/designs/weapon_designs.dm index 62323d510c9d..f4e2b9910728 100644 --- a/code/modules/research/designs/weapon_designs.dm +++ b/code/modules/research/designs/weapon_designs.dm @@ -99,16 +99,6 @@ category = list("Firing Pins") departmental_flags = DEPARTMENTAL_FLAG_SECURITY -/datum/design/pin_mindshield - name = "Mindshield Firing Pin" - desc = "This is a security firing pin which only authorizes users who are mindshield-implanted." - id = "pin_loyalty" - build_type = PROTOLATHE - materials = list(/datum/material/silver = 600, /datum/material/diamond = 600, /datum/material/uranium = 200) - build_path = /obj/item/firing_pin/implant/mindshield - category = list("Firing Pins") - departmental_flags = DEPARTMENTAL_FLAG_SECURITY - /datum/design/stunmine/sec //mines ported from BeeStation name = "Stun Mine" desc = "A basic non-lethal stunning mine. Stuns anyone who walks over it." diff --git a/code/modules/research/techweb/all_nodes.dm b/code/modules/research/techweb/all_nodes.dm index c73b86ca485e..d6ec541d9846 100644 --- a/code/modules/research/techweb/all_nodes.dm +++ b/code/modules/research/techweb/all_nodes.dm @@ -654,7 +654,7 @@ display_name = "Advanced Weapon Development Technology" description = "Our weapons are breaking the rules of reality by now." prereq_ids = list("adv_engi", "weaponry") - design_ids = list("pin_loyalty", "borg_transform_security", "platingmkii", "platingmkiv", "holo_sight") + design_ids = list("borg_transform_security", "platingmkii", "platingmkiv", "holo_sight") research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 10000) /datum/techweb_node/advmine