]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Entity] Shotgun Safe (#15433)
authorNim <128169402+Nimfar11@users.noreply.github.com>
Sun, 16 Apr 2023 05:55:22 +0000 (08:55 +0300)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2023 05:55:22 +0000 (23:55 -0600)
* Shotgun Case

I noticed that in the game there were sprite gun cases, but they were not used in any way. I fixed this, made kits with weapons for the Security Office, which can now be put in the Armory.

* rename

Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Resources/Prototypes/Entities/Structures/Storage/Closets/Lockers/lockers.yml

index bd90f7c6f64da26fc35df9dc903f90745129f905..c9c681f1b90c8a398dc80d6fe14f483ef4a56eda 100644 (file)
       - id: ClothingHeadHelmetBombSuit
       - id: ClothingOuterSuitBomb
       - id: ClothingMaskGas
+
+- type: entity
+  id: ShotgunSafeDisabler
+  suffix: Disabler
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponDisabler
+        amount: 5
+
+- type: entity
+  id: ShotgunSafePistolMK58
+  suffix: MK58
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponPistolMk58
+        amount: 4
+      - id: MagazinePistol
+        amount: 8
+
+- type: entity
+  id: ShotgunSafeRifleLecter
+  suffix: Lecter
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponRifleLecter
+        amount: 2
+      - id: MagazineRifle
+        amount: 4
+
+- type: entity
+  id: ShotgunSafeSubMachineGunVector
+  suffix: Vector
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponSubMachineGunVector
+        amount: 2
+      - id: MagazineMagnumSubMachineGun
+        amount: 4
+
+- type: entity
+  id: ShotgunSafeShotgunEnforcer
+  suffix: Enforcer
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponShotgunEnforcer
+        amount: 2
+      - id: MagazineShotgun
+        amount: 4
+
+- type: entity
+  id: ShotgunSafeShotgunKammerer
+  suffix: Kammerer
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponShotgunKammerer
+        amount: 2
+      - id: MagazineShotgun
+        amount: 4
+
+- type: entity
+  id: ShotgunSafeSubMachineGunWt550
+  suffix: Wt550
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponSubMachineGunWt550
+        amount: 2
+      - id: MagazineMagnumSubMachineGun
+        amount: 4
+
+- type: entity
+  id: ShotgunSafeLaserCarbine
+  suffix: Laser Carbine
+  parent: ShotgunSafe
+  components:
+  - type: StorageFill
+    contents:
+      - id: WeaponLaserCarbine
+        amount: 3
index a2bbed49437d9ec5e76b7384c7f47b8554847bea..da60004f20d393173edc5a7f4da883602aae2e0f 100644 (file)
   - type: AccessReader
     access: [["Security"]]
 
+- type: entity
+  id: ShotgunSafe
+  parent: LockerBaseSecure
+  name: shotgun safe
+  components:
+  - type: Appearance
+    visuals:
+    - type: StorageVisualizer
+      state: shotguncase
+      state_open: shotguncase_open
+      state_closed: shotguncase_door
+  - type: AccessReader
+    access: [["Security"]]
+
 # Detective
 - type: entity
   id: LockerDetective