From b9d191c7e43a8e8b7fe402f05cea182a40be0f82 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Tue, 1 Apr 2025 11:26:17 +0300 Subject: [PATCH] Fix bandage (#1112) * CP14Biological * storePositionBuy --- .../Catalog/Cargo/Store/BradFamily/buy.yml | 22 +++++++++++++++++++ .../Entities/Objects/Materials/simple.yml | 2 +- .../Objects/Specific/Medical/healing.yml | 4 ++-- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/_CP14/Catalog/Cargo/Store/BradFamily/buy.yml b/Resources/Prototypes/_CP14/Catalog/Cargo/Store/BradFamily/buy.yml index 7b3b32e43c..2b12711323 100644 --- a/Resources/Prototypes/_CP14/Catalog/Cargo/Store/BradFamily/buy.yml +++ b/Resources/Prototypes/_CP14/Catalog/Cargo/Store/BradFamily/buy.yml @@ -141,6 +141,28 @@ - id: CP14VialSmallHealingMana amount: 5 +- type: storePositionBuy + id: CP14VialSmallHealingManaDepletion + code: HEAL_MANA_DEPLETION + price: 70 + iconOverride: + sprite: _CP14/Objects/Specific/Alchemy/vial_small.rsi + state: vial + factions: + - BradFamily + service: !type:CP14BuyItemsService + product: CP14WoodenChestFilledSmallHealingManaDepletion + +- type: entity + parent: CP14WoodenChest + id: CP14WoodenChestFilledSmallHealingManaDepletion + name: mana-depletion potions chest + components: + - type: StorageFill + contents: + - id: CP14VialSmallHealingManaDepletion + amount: 5 + - type: storePositionBuy id: CP14VialSmallSpeedUp diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Materials/simple.yml b/Resources/Prototypes/_CP14/Entities/Objects/Materials/simple.yml index f07505d52f..9ab6d0aa73 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Materials/simple.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Materials/simple.yml @@ -434,7 +434,7 @@ map: ["base"] - type: Healing damageContainers: - - Biological + - CP14Biological damage: types: Slash: -3 diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Specific/Medical/healing.yml b/Resources/Prototypes/_CP14/Entities/Objects/Specific/Medical/healing.yml index 91871d3c22..d834fa2bbf 100644 --- a/Resources/Prototypes/_CP14/Entities/Objects/Specific/Medical/healing.yml +++ b/Resources/Prototypes/_CP14/Entities/Objects/Specific/Medical/healing.yml @@ -20,7 +20,7 @@ node: cp14herbbandage - type: Healing damageContainers: - - Biological + - CP14Biological damage: types: Slash: -2 @@ -72,7 +72,7 @@ node: cp14gauze - type: Healing damageContainers: - - Biological + - CP14Biological damage: types: Slash: -6