]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Cargo] Added MK58 crate (#15204)
authorlzk228 <124214523+lzk228@users.noreply.github.com>
Sun, 9 Apr 2023 22:06:30 +0000 (01:06 +0300)
committerGitHub <noreply@github.com>
Sun, 9 Apr 2023 22:06:30 +0000 (16:06 -0600)
* Added crate with MK58 to request console

* fix price

* fix

Resources/Locale/en-US/prototypes/catalog/fills/crates/armory-crates.ftl
Resources/Prototypes/Catalog/Cargo/cargo_armory.yml
Resources/Prototypes/Catalog/Fills/Crates/armory.yml

index ea92aa9f0f9ee02fc614e5aba2cb662265404a31..b958ed61f3bdcc80b67996f474c16ae457432282 100644 (file)
@@ -9,3 +9,6 @@ ent-CrateTrackingImplants = Tracking implants
 
 ent-CrateArmoryLaser = lasers crate
     .desc = Contains three lethal, high-energy laser guns. Requires Armory access to open.
+
+ent-CrateArmoryPistols = pistols crate
+    .desc = Contains two standard NT pistols with four mags. Requires Armory access to open.
index d989e10fe88d2aa84fe4d99bd74a7dc4f871a359..ce380bd8399c4626344598b1efecc3afbd4ff56a 100644 (file)
   cost: 1600
   category: Armory
   group: market
+
+- type: cargoProduct
+  id: ArmoryPistol
+  icon:
+    sprite: Objects/Weapons/Guns/Pistols/mk58.rsi
+    state: icon
+  product: CrateArmoryPistols
+  cost: 1700
+  category: Armory
+  group: market
index fe37c3fb84315aa0d9d69c0afdd8802c708781e1..1ca078bd428bdbabfdcf9e51e553907ae794ebb0 100644 (file)
     contents:
       - id: WeaponLaserGun
         amount: 3
+
+- type: entity
+  id: CrateArmoryPistols
+  parent: CrateWeaponSecure
+  components:
+  - type: StorageFill
+    contents:
+    - id: WeaponPistolMk58
+      amount: 2
+    - id: MagazinePistol
+      amount: 4