From 4bac7a1f84be964daf57569b7dadcad4123b1e9b Mon Sep 17 00:00:00 2001 From: Focstor <111702496+Focstor@users.noreply.github.com> Date: Sun, 10 Nov 2024 15:05:56 +0300 Subject: [PATCH] updateFIX --- .../catalog/fills/crates/security.ftl | 2 ++ .../_Sunrise/Catalog/Cargo/cargo_security.yml | 10 ++++++++++ .../Catalog/Fills/Crates/security.yml | 19 ++++++++++++++++++- .../Entities/Clothing/OuterClothing/armor.yml | 5 +++++ 4 files changed, 35 insertions(+), 1 deletion(-) diff --git a/Resources/Locale/ru-RU/_prototypes/_sunrise/catalog/fills/crates/security.ftl b/Resources/Locale/ru-RU/_prototypes/_sunrise/catalog/fills/crates/security.ftl index 36f74cccc42..27011fb1cf1 100644 --- a/Resources/Locale/ru-RU/_prototypes/_sunrise/catalog/fills/crates/security.ftl +++ b/Resources/Locale/ru-RU/_prototypes/_sunrise/catalog/fills/crates/security.ftl @@ -2,3 +2,5 @@ ent-CrateSecurityWebbing = ящик с РПС охраны .desc = Ящик, содержащий две РПС охраны. Чтобы открыть необходим уровень доступа Служба безопасности. ent-CrateSecurityGlovesCombat = ящик с боевыми перчатками .desc = Ящик, содержащий трое боевых перчаток. Чтобы открыть необходим уровень доступа Служба безопасности. +ent-CrateSecuritySWAT = ящик с бронёй SWAT + .desc = Ящик, Содержит комплект Спецназа. Две брони SWAT, два шлема спецназа, два противогаза спецназа и боевые магнитные ботинки. Чтобы открыть необходим уровень доступа Службы Безопастности. \ No newline at end of file diff --git a/Resources/Prototypes/_Sunrise/Catalog/Cargo/cargo_security.yml b/Resources/Prototypes/_Sunrise/Catalog/Cargo/cargo_security.yml index 45ad31cd84c..7dd17764b90 100644 --- a/Resources/Prototypes/_Sunrise/Catalog/Cargo/cargo_security.yml +++ b/Resources/Prototypes/_Sunrise/Catalog/Cargo/cargo_security.yml @@ -17,3 +17,13 @@ cost: 3500 category: cargoproduct-category-name-security group: market + +- type: cargoProduct + id: SecuritySWAT + icon: + sprite: _Sunrise/Clothing/OuterClothing/Armor/swat_armor.rsi + state: icon + product: CrateSecuritySWAT + cost: 8000 + category: cargoproduct-category-name-security + group: market \ No newline at end of file diff --git a/Resources/Prototypes/_Sunrise/Catalog/Fills/Crates/security.yml b/Resources/Prototypes/_Sunrise/Catalog/Fills/Crates/security.yml index e101c9ea2ea..452531b8d7a 100644 --- a/Resources/Prototypes/_Sunrise/Catalog/Fills/Crates/security.yml +++ b/Resources/Prototypes/_Sunrise/Catalog/Fills/Crates/security.yml @@ -18,4 +18,21 @@ - type: StorageFill contents: - id: ClothingHandsGlovesCombat - amount: 3 \ No newline at end of file + amount: 3 + +- type: entity + id: CrateSecuritySWAT + parent: CrateSecgear + name: SWAT armor crate + description: Contains a SWAT kit. 2 heavy armor suit, 2 special forces helmet, 2special forces gas mask and 2 combat magnetic boots. To open it, the Security Service access level is required. + components: + - type: StorageFill + contents: + - id: ClothingOuterArmorSWAT + amount: 2 + - id: ClothingMaskGasSwat + amount: 2 + - id: ClothingShoesBootsMagCombat + amount: 2 + - id: ClothingHeadHelmetSwat + amount: 2 \ No newline at end of file diff --git a/Resources/Prototypes/_Sunrise/Entities/Clothing/OuterClothing/armor.yml b/Resources/Prototypes/_Sunrise/Entities/Clothing/OuterClothing/armor.yml index 3bd0fb6fb13..e66d8bed721 100644 --- a/Resources/Prototypes/_Sunrise/Entities/Clothing/OuterClothing/armor.yml +++ b/Resources/Prototypes/_Sunrise/Entities/Clothing/OuterClothing/armor.yml @@ -62,6 +62,11 @@ Heat: 0.65 Radiation: 0.75 Caustic: 0.75 + - type: ExplosionResistance + damageCoefficient: 0.9 + - type: ClothingSpeedModifier + walkModifier: 1 + sprintModifier: 0.85 - type: GroupExamine - type: ProtectedFromStepTriggers slots: WITHOUT_POCKET \ No newline at end of file