From 82fe2d8c64d9c003bf13a005247365e0dde22a21 Mon Sep 17 00:00:00 2001 From: Xelasto Date: Thu, 26 Oct 2023 17:03:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=20=D0=BF=D0=BB=D0=B0=D1=81=D1=82=D1=8B=D1=80?= =?UTF-8?q?=D0=B8,=D0=BA=D0=BE=D1=80=D0=BE=D0=B1=D0=BA=D0=B0=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=BF=D0=BB=D0=B0=D1=81=D1=82=D1=8B=D1=80=D0=B5?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru-RU/ADT/Objects/specific/medstuff.ftl | 32 ++++ .../Objects/Specific/Medical/patch.yml | 176 ++++++++++++++++++ Resources/Prototypes/ADT/tags.yml | 3 + .../VendingMachines/Inventories/medical.yml | 5 + .../Entities/Clothing/Belt/belts.yml | 1 + .../Specific/Medical/patch.rsi/meta.json | 42 ++--- 6 files changed, 238 insertions(+), 21 deletions(-) create mode 100644 Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/patch.yml diff --git a/Resources/Locale/ru-RU/ADT/Objects/specific/medstuff.ftl b/Resources/Locale/ru-RU/ADT/Objects/specific/medstuff.ftl index a35a514fc41..f2b857dbabc 100644 --- a/Resources/Locale/ru-RU/ADT/Objects/specific/medstuff.ftl +++ b/Resources/Locale/ru-RU/ADT/Objects/specific/medstuff.ftl @@ -9,3 +9,35 @@ ent-ADTCombatHypo = боевой гипоспрей ent-ADTHandDefibrillator = боевой переносной Дефибрилятор .desc = Облегченная версия дефибрилятора, возращает в жизни лучше и быстрее, хоть разряд опаснее. Можно надеть на шею .suffix = { "" } + +ent-ADTPatchPack = коробка для пластырей + .desc = Коробка для хранения медицинских пластырей. + .suffix = { "" } + +ent-ADTPatchPackFilled = коробка для пластырей + .desc = Коробка для хранения медицинских пластырей. + .suffix = { "Заполненный" } + +ent-ADTPatchHealing = заживляющий пластырь + .desc = Помогает при грубых травмах. + .suffix = { "" } + +ent-ADTPatchHealingMini = заживляющий мини-пластырь + .desc = Помогает при грубых травмах. + .suffix = { "" } + +ent-ADTPatchBurn = пластырь от ожогов + .desc = Помогает при ожоговых травмах. + .suffix = { "" } + +ent-ADTPatchBurnMini = мини-пластырь от ожогов + .desc = Помогает при ожоговых травмах. + .suffix = { "" } + +ent-ADTPatchHonk = хонк пластырь + .desc = Чудо клоунской медицины, повышает уровень веселья в крови. + .suffix = { "" } + +ent-ADTCratePatchPack = набор пластырей + .desc = Набор содержащий 4 коробки с пластырями + .suffix = { "" } diff --git a/Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/patch.yml b/Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/patch.yml new file mode 100644 index 00000000000..cbea3009d9c --- /dev/null +++ b/Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/patch.yml @@ -0,0 +1,176 @@ +#PatchPack +- type: entity + name: patch pack + id: ADTPatchPack + parent: BaseStorageItem + description: It's a container for storing medical patches. + components: + - type: Sprite + sprite: ADT/Objects/Specific/Medical/patch.rsi + scale: 1.3, 1.3 + state: patchpack + - type: Item + size: 10 + - type: Storage + capacity: 18 + quickInsert: true + areaInsert: true + whitelist: + tags: + - Patch +#PatchPackFilled +- type: entity + name: patch pack + id: ADTPatchPackFilled + suffix: Filled + parent: ADTPatchPack + components: + - type: StorageFill + contents: + - id: ADTPatchHealing + amount: 1 + - id: ADTPatchBurn + amount: 1 + - id: ADTPatchHealingMini + amount: 2 + - id: ADTPatchBurnMini + amount: 2 +#BasePatch +- type: entity + name: patch + parent: BaseItem + description: + id: ADTBasePatch + components: + - type: Sprite + sprite: ADT/Objects/Specific/Medical/patch.rsi + layers: + - state: patch0 + map: ["enum.SolutionContainerLayers.Fill"] + - type: Item + sprite: ADT/Objects/Specific/Medical/patch.rsi + size: 3 + - type: SolutionContainerManager + solutions: + pen: + maxVol: 15 + - type: Hypospray + solutionName: pen + transferAmount: 15 + - type: Appearance + - type: SolutionContainerVisuals + maxFillLevels: 1 + changeColor: false + emptySpriteName: patchused + - type: Tag + tags: + - Patch +#Patch healing +- type: entity + name: healing patch + parent: ADTBasePatch + id: ADTPatchHealing + description: Helps with brute injuries. + components: + - type: Sprite + layers: + - state: patch2 + map: ["enum.SolutionContainerLayers.Fill"] + - type: SolutionContainerManager + solutions: + pen: + maxVol: 15 + reagents: + - ReagentId: Bicaridine + Quantity: 14 +#Patch healing small +- type: entity + name: healing mini-patch + parent: ADTBasePatch + id: ADTPatchHealingMini + description: Helps with brute injuries. + components: + - type: Sprite + layers: + - state: patch1 + map: ["enum.SolutionContainerLayers.Fill"] + - type: SolutionContainerManager + solutions: + pen: + maxVol: 15 + reagents: + - ReagentId: Bicaridine + Quantity: 7 +#Patch burn +- type: entity + name: burn patch + parent: ADTBasePatch + id: ADTPatchBurn + description: Helps with burn injuries. + components: + - type: Sprite + layers: + - state: patch4 + map: ["enum.SolutionContainerLayers.Fill"] + - type: SolutionContainerManager + solutions: + pen: + maxVol: 15 + reagents: + - ReagentId: Dermaline + Quantity: 9 +#Patch burn small +- type: entity + name: burn mini-patch. + parent: ADTBasePatch + id: ADTPatchBurnMini + description: Helps with burn injuries. + components: + - type: Sprite + layers: + - state: patch3 + map: ["enum.SolutionContainerLayers.Fill"] + - type: SolutionContainerManager + solutions: + pen: + maxVol: 15 + reagents: + - ReagentId: Dermaline + Quantity: 4.5 +#honk honk? +- type: entity + name: honk patch + parent: ADTBasePatch + id: ADTPatchHonk + description: Miracle honk-medicine, increases the level of fun in the blood. + components: + - type: Sprite + layers: + - state: patch20 + map: ["enum.SolutionContainerLayers.Fill"] + - type: SolutionContainerManager + solutions: + pen: + maxVol: 15 + reagents: + - ReagentId: Honk + Quantity: 6 +#patch crate +- type: entity + id: ADTCratePatchPack + parent: CrateMedical + components: + - type: StorageFill + contents: + - id: ADTPatchPackFilled + amount: 4 +#Cargo +- type: cargoProduct + id: ADTCratePatchPack + icon: + sprite: ADT/Objects/Specific/Medical/patch.rsi + state: patchpack + product: ADTCratePatchPack + cost: 1600 + category: Medical + group: market diff --git a/Resources/Prototypes/ADT/tags.yml b/Resources/Prototypes/ADT/tags.yml index 2edc06d71fa..5c6fd4cab13 100644 --- a/Resources/Prototypes/ADT/tags.yml +++ b/Resources/Prototypes/ADT/tags.yml @@ -21,3 +21,6 @@ - type: Tag id: SpeedLoader357 + +- type: Tag + id: Patch diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/medical.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/medical.yml index 43e7cf7c941..114df99d822 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/medical.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/medical.yml @@ -7,3 +7,8 @@ Bloodpack: 5 EpinephrineChemistryBottle: 3 Syringe: 5 + ADTPatchHealing: 2 + ADTPatchBurn: 2 + ADTPatchHealingMini: 4 + ADTPatchBurnMini: 4 + ADTPatchPack: 2 diff --git a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml index 6850c5e2066..466b0f1f8fe 100644 --- a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml +++ b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml @@ -242,6 +242,7 @@ capacity: 60 whitelist: tags: + - Patch - Wrench - Bottle - Spray diff --git a/Resources/Textures/ADT/Objects/Specific/Medical/patch.rsi/meta.json b/Resources/Textures/ADT/Objects/Specific/Medical/patch.rsi/meta.json index f803b702f8b..34e30f9a4f5 100644 --- a/Resources/Textures/ADT/Objects/Specific/Medical/patch.rsi/meta.json +++ b/Resources/Textures/ADT/Objects/Specific/Medical/patch.rsi/meta.json @@ -14,67 +14,67 @@ "name": "patchused" }, { - "name": "patch0", + "name": "patch0" }, { - "name": "patch1", + "name": "patch1" }, { - "name": "patch2", + "name": "patch2" }, { - "name": "patch3", + "name": "patch3" }, { - "name": "patch4", + "name": "patch4" }, { - "name": "patch5", + "name": "patch5" }, { - "name": "patch6", + "name": "patch6" }, { - "name": "patch7", + "name": "patch7" }, { - "name": "patch8", + "name": "patch8" }, { - "name": "patch9", + "name": "patch9" }, { - "name": "patch10", + "name": "patch10" }, { - "name": "patch11", + "name": "patch11" }, { - "name": "patch12", + "name": "patch12" }, { - "name": "patch13", + "name": "patch13" }, { - "name": "patch14", + "name": "patch14" }, { - "name": "patch15", + "name": "patch15" }, { - "name": "patch16", + "name": "patch16" }, { - "name": "patch17", + "name": "patch17" }, { - "name": "patch18", + "name": "patch18" }, { - "name": "patch19", + "name": "patch19" }, { - "name": "patch20", + "name": "patch20" } ] }