From 8c3111cffd99974752268d567ffc8403561c11df Mon Sep 17 00:00:00 2001 From: MissKay1994 <15877268+MissKay1994@users.noreply.github.com> Date: Thu, 13 Nov 2025 16:27:56 -0500 Subject: [PATCH] Briefcase gun for lawyers (#40210) * definitely not a gun * You only imagined this tag * Brace with your gut * Definitely did not procrastinate for eternity * Suing javascript formatting * Tear down the system * Yay for hardcoding * EVIL COURT * Attributions for skreee * Move new sprites into own folder --------- Co-authored-by: SlamBamActionman --- .../Locale/en-US/store/uplink-catalog.ftl | 3 ++ .../Prototypes/Catalog/uplink_catalog.yml | 17 ++++++++ .../Objects/Weapons/Guns/SMGs/smgs.yml | 39 ++++++++++++++++++ .../Weapons/Guns/SMGs/briefcase.rsi/base.png | Bin 0 -> 342 bytes .../Guns/SMGs/briefcase.rsi/bolt-open.png | Bin 0 -> 342 bytes .../Guns/SMGs/briefcase.rsi/icon-muzzle.png | Bin 0 -> 103 bytes .../SMGs/briefcase.rsi/inhand-left-muzzle.png | Bin 0 -> 116 bytes .../briefcase.rsi/inhand-right-muzzle.png | Bin 0 -> 115 bytes .../Weapons/Guns/SMGs/briefcase.rsi/meta.json | 28 +++++++++++++ 9 files changed, 87 insertions(+) create mode 100644 Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/base.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/bolt-open.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/icon-muzzle.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-left-muzzle.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-right-muzzle.png create mode 100644 Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/meta.json diff --git a/Resources/Locale/en-US/store/uplink-catalog.ftl b/Resources/Locale/en-US/store/uplink-catalog.ftl index 7ae8ddd4f9..3e070b835d 100644 --- a/Resources/Locale/en-US/store/uplink-catalog.ftl +++ b/Resources/Locale/en-US/store/uplink-catalog.ftl @@ -498,3 +498,6 @@ uplink-smuggler-satchel-desc = A handy, suspicious looking satchel. Just flat en uplink-acolyte-armor-name = Acolyte Armor uplink-acolyte-armor-desc = The must have of any self respecting cult leader. An evil looking piece of armor, made of bones, and surprisingly resistant to damage. + +uplink-briefcase-gun-name = Briefcase Gun +uplink-briefcase-gun-desc = An indistinct briefcase with a highly compact C-20K mounted inside it. Careful not the grip the handle too tight! diff --git a/Resources/Prototypes/Catalog/uplink_catalog.yml b/Resources/Prototypes/Catalog/uplink_catalog.yml index f245b1082c..6ef1720105 100644 --- a/Resources/Prototypes/Catalog/uplink_catalog.yml +++ b/Resources/Prototypes/Catalog/uplink_catalog.yml @@ -2301,3 +2301,20 @@ - !type:BuyerJobCondition whitelist: - MedicalDoctor + +- type: listing + id: uplinkBriefcaseGun + name: uplink-briefcase-gun-name + description: uplink-briefcase-gun-desc + productEntity: WeaponSubMachineGunBriefcase + discountCategory: veryRareDiscounts + discountDownTo: + Telecrystal: 10 + cost: + Telecrystal: 15 + categories: + - UplinkJob + conditions: + - !type:BuyerJobCondition + whitelist: + - Lawyer diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml index 15ddb7b38e..4ca2e0c0f5 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml @@ -283,3 +283,42 @@ steps: 6 zeroVisible: true - type: Appearance + +- type: entity + name: brown briefcase + parent: [BaseWeaponSubMachineGun] + id: WeaponSubMachineGunBriefcase + description: Useful for carrying items in your hands. + suffix: Gun + components: + - type: Item + size: Ginormous + inhandVisuals: + left: + - sprite: Objects/Storage/Briefcases/briefcase_brown.rsi + state: inhand-left + - state: inhand-left-muzzle + right: + - sprite: Objects/Storage/Briefcases/briefcase_brown.rsi + state: inhand-right + - state: inhand-right-muzzle + - type: Sprite + sprite: Objects/Weapons/Guns/SMGs/briefcase.rsi + layers: + - sprite: Objects/Storage/Briefcases/briefcase_brown.rsi + state: icon + - state: icon-muzzle + map: ["enum.GunVisualLayers.Base"] + - type: Gun + fireRate: 9 + minAngle: 25 + maxAngle: 32 + availableModes: + - FullAuto + soundGunshot: + path: /Audio/Weapons/Guns/Gunshots/atreides.ogg + - type: ChamberMagazineAmmoProvider + autoEject: false + - type: Appearance + - type: StaticPrice + price: 5000 diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/base.png b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/base.png new file mode 100644 index 0000000000000000000000000000000000000000..6f164336daa0cdbea236f7251e0fed37c2276aa5 GIT binary patch literal 342 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^T<0-i38ArY;~ z2@C2<_b}^kl{tO&NTlSB8wzE$zgr(o`@h7hDTV#O zf!5>uAK0~7cF8zgV0>|~_f2(*rJk7^+X`iaMeOk_9`Ne1hxYwv+myot0>9tYq!k1` zRDBZ1Q@VX#UDA(l{mjdi3)&dYl#9##PpbI-S>3sC7K`)yHR3!@Z{Aqw9$)6?J7@aC zYp3s9d^LFZxwlbAnpuZs&Y7J7M>ZsulpbN26WAd0hsVRQd)li&261U+FA)b}t>$K} zcNzzznRqVbe0zJno{ig5ZqKyCR~D`2Hh*?(HT!yIjz|yQy)4cR*AlKU9=^}0Z~u4c m8jWRF7@ve(1bJVFf#LCiVoARF8C2<_b}^kl{tO&NTlSB8wzE$zgr(o`@h7hDTV#O zf!5>uAK0~7cF8zgV0>|~_f2(*rJk7^+X`iaMeOk_9`Ne1hxYwv+myot0>9tYq!k1` zRDBZ1Q@VX#UDA(l{mjdi3)&dYl#9##PpbI-S>3sC7K`)yHR3!@Z{Aqw9$)6?J7@aC zYp3s9d^LFZxwlbAnpuZs&Y7J7M>ZsulpbN26WAd0hsVRQd)li&261U+FA)b}t>$K} zcNzzznRqVbe0zJno{ig5ZqKyCR~D`2Hh*?(HT!yIjz|yQy)4cR*AlKU9=^}0Z~u4c m8jWRF7@ve(1bJVFf#LCiVoARF8cxArY-_ z&oS~cFmNz0_^!X!@SU290wY63!YxLI9l4Aqaf}Srhm5R&iWxjz{an^LB{Ts5hvOMg literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-left-muzzle.png b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-left-muzzle.png new file mode 100644 index 0000000000000000000000000000000000000000..6d2b28171b898fed54b71a952a99d2111e3c3e1f GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=jKx9jP7LeL$-D$|^gLZ0Ln`LH zJ!i%^p%F)~~XoU;bR^>p=fS?83{1OVwZ B8~FeL literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/meta.json b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/meta.json new file mode 100644 index 0000000000..3aaf214aae --- /dev/null +++ b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/meta.json @@ -0,0 +1,28 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "briefcase base made by ps3moira (github) and modified by MissKay1994(github), weapon states by MissKay1994(github)", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon-muzzle" + }, + { + "name": "inhand-left-muzzle", + "directions": 4 + }, + { + "name": "inhand-right-muzzle", + "directions": 4 + }, + { + "name": "bolt-open" + }, + { + "name": "base" + } + ] +} -- 2.51.2