From 28efecee33caad5841e1d5b662d4acdff232bdf2 Mon Sep 17 00:00:00 2001 From: nikothedude <59709059+nikothedude@users.noreply.github.com> Date: Thu, 14 May 2026 20:14:52 -0400 Subject: [PATCH] Gives dep. guards a voucher instead of a taser, allows voucher redeeming via lathes (#5576) ## About The Pull Request Title. ## Why It's Good For The Game Allows for dep. guards to expand their loadouts more. It really doesnt make them any better, because honestly, the taser is kind of the optimal choice already. ## Proof Of Testing
Screenshots/Videos image
## Changelog :cl: add: Dep. guards now have a primary security voucher instead of a taser /:cl: --- .../modules/goofsec/code/department_guards.dm | 10 +++++----- .../code/modules/security/sec_vouchers_vendor.dm | 14 +++++++++++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/modular_skyrat/modules/goofsec/code/department_guards.dm b/modular_skyrat/modules/goofsec/code/department_guards.dm index cd22b5fbf00..92be75fa9f6 100644 --- a/modular_skyrat/modules/goofsec/code/department_guards.dm +++ b/modular_skyrat/modules/goofsec/code/department_guards.dm @@ -221,7 +221,7 @@ l_pocket = /obj/item/restraints/handcuffs backpack_contents = list( /obj/item/melee/baton/security/loaded/departmental/science = 1, - /obj/item/gun/energy/e_gun/advtaser = 1, + /obj/item/security_voucher/primary = 1, /obj/item/holosign_creator/security = 1 ) @@ -327,7 +327,7 @@ l_pocket = /obj/item/restraints/handcuffs backpack_contents = list( /obj/item/melee/baton/security/loaded/departmental/medical = 1, - /obj/item/gun/energy/e_gun/advtaser = 1, + /obj/item/security_voucher/primary = 1, /obj/item/holosign_creator/security = 1 ) @@ -433,7 +433,7 @@ l_pocket = /obj/item/restraints/handcuffs backpack_contents = list( /obj/item/melee/baton/security/loaded/departmental/engineering = 1, - /obj/item/gun/energy/e_gun/advtaser = 1, + /obj/item/security_voucher/primary = 1, /obj/item/holosign_creator/security = 1 ) @@ -540,7 +540,7 @@ l_pocket = /obj/item/restraints/handcuffs backpack_contents = list( /obj/item/melee/baton/security/loaded/departmental/cargo = 1, - /obj/item/gun/energy/e_gun/advtaser = 1, + /obj/item/security_voucher/primary = 1, /obj/item/holosign_creator/security = 1 ) @@ -639,7 +639,7 @@ r_pocket = /obj/item/reagent_containers/spray/pepper backpack_contents = list( /obj/item/melee/baton/security/loaded/departmental/service = 1, - /obj/item/gun/energy/e_gun/advtaser = 1, + /obj/item/security_voucher/primary = 1, /obj/item/holosign_creator/security = 1 ) glasses = /obj/item/clothing/glasses/hud/security/sunglasses diff --git a/modular_zubbers/code/modules/security/sec_vouchers_vendor.dm b/modular_zubbers/code/modules/security/sec_vouchers_vendor.dm index 2c0bb100902..36c772d049e 100644 --- a/modular_zubbers/code/modules/security/sec_vouchers_vendor.dm +++ b/modular_zubbers/code/modules/security/sec_vouchers_vendor.dm @@ -1,11 +1,16 @@ /obj/item/security_voucher name = "security voucher" - desc = "A token to redeem a piece of equipment. Use it on a SecTech vendor." + desc = "A token to redeem a piece of equipment." icon = 'modular_zubbers/icons/obj/security_voucher.dmi' icon_state = "security_voucher_primary" w_class = WEIGHT_CLASS_TINY +/obj/item/security_voucher/examine(mob/user) + . = ..() + + . += span_notice("You can redeem it at a [EXAMINE_HINT("security equipment vendor")] or [EXAMINE_HINT("any lathe")].") + /obj/item/security_voucher/primary name = "security primary voucher" icon_state = "security_voucher_primary" @@ -19,6 +24,11 @@ AddElement(/datum/element/voucher_redeemer, /obj/item/security_voucher/primary, /datum/voucher_set/security/primary) AddElement(/datum/element/voucher_redeemer, /obj/item/security_voucher/utility, /datum/voucher_set/security/utility) +/obj/machinery/rnd/production/techfab/Initialize(mapload) + . = ..() + + AddElement(/datum/element/voucher_redeemer, /obj/item/security_voucher/primary, /datum/voucher_set/security/primary) + AddElement(/datum/element/voucher_redeemer, /obj/item/security_voucher/utility, /datum/voucher_set/security/utility) /datum/voucher_set/security blackbox_key = "security_voucher_redeemed" @@ -27,8 +37,6 @@ /datum/voucher_set/security/utility -/datum/voucher_set/security/brig_physician - /datum/voucher_set/security/primary/disabler name = "Disabler" description = "The standard issue energy gun of Nanotrasen security forces. Comes with it's own holster."