]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Briefcase gun for lawyers (#40210)
authorMissKay1994 <15877268+MissKay1994@users.noreply.github.com>
Thu, 13 Nov 2025 21:27:56 +0000 (16:27 -0500)
committerGitHub <noreply@github.com>
Thu, 13 Nov 2025 21:27:56 +0000 (21:27 +0000)
* 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 <slambamactionman@gmail.com>
Resources/Locale/en-US/store/uplink-catalog.ftl
Resources/Prototypes/Catalog/uplink_catalog.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml
Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/base.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/bolt-open.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/icon-muzzle.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-left-muzzle.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-right-muzzle.png [new file with mode: 0644]
Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/meta.json [new file with mode: 0644]

index 7ae8ddd4f97bdcb3a490dfad564f0e4c5f5620f8..3e070b835d7b8c91fa80d77b7001bf8b14395be0 100644 (file)
@@ -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!
index f245b1082c41d78c7ded411c0083cf3d7b83796f..6ef172010562f6feabf26766ff79ca1a006ef998 100644 (file)
   - !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
index 15ddb7b38e859b7500a9aa2b86e3e6f0f21ef1ef..4ca2e0c0f526944526d067e703c57b5189e3109b 100644 (file)
     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 (file)
index 0000000..6f16433
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/base.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/bolt-open.png b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/bolt-open.png
new file mode 100644 (file)
index 0000000..6f16433
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/bolt-open.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/icon-muzzle.png b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/icon-muzzle.png
new file mode 100644 (file)
index 0000000..26f4220
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/icon-muzzle.png differ
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 (file)
index 0000000..6d2b281
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-left-muzzle.png differ
diff --git a/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-right-muzzle.png b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-right-muzzle.png
new file mode 100644 (file)
index 0000000..1d8ef08
Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Guns/SMGs/briefcase.rsi/inhand-right-muzzle.png differ
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 (file)
index 0000000..3aaf214
--- /dev/null
@@ -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"
+    }
+  ]
+}