Skip to content

Commit

Permalink
Добавленны пластыри,коробка для пластырей
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelasto committed Oct 26, 2023
1 parent 51c6f17 commit 82fe2d8
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 21 deletions.
32 changes: 32 additions & 0 deletions Resources/Locale/ru-RU/ADT/Objects/specific/medstuff.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { "" }
176 changes: 176 additions & 0 deletions Resources/Prototypes/ADT/Entities/Objects/Specific/Medical/patch.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions Resources/Prototypes/ADT/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

- type: Tag
id: SpeedLoader357

- type: Tag
id: Patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
Bloodpack: 5
EpinephrineChemistryBottle: 3
Syringe: 5
ADTPatchHealing: 2
ADTPatchBurn: 2
ADTPatchHealingMini: 4
ADTPatchBurnMini: 4
ADTPatchPack: 2
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
capacity: 60
whitelist:
tags:
- Patch
- Wrench
- Bottle
- Spray
Expand Down
42 changes: 21 additions & 21 deletions Resources/Textures/ADT/Objects/Specific/Medical/patch.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}

0 comments on commit 82fe2d8

Please sign in to comment.