add: medical patches (#194)

* add: medical patches

* removing some comments

* some fixes

* oops
This commit is contained in:
RinKeeper
2024-03-20 22:51:28 +03:00
committed by GitHub
parent 4442e2b625
commit 3a55a8afbe
14 changed files with 344 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
## Entity
patch-component-target-getting-injected = Someone trying to put a patch on you
patch-component-injecting-user = You are trying to put a patch on {$target}.
patch-component-inject-other-message = You put a patch on {$other}.
patch-component-inject-self-message = You put a patch on yourself.
patch-component-empty-message = It's empty!
patch-component-feel-prick-message = You feel a little sting
patch-cant-inject = Can't put a patch on {$target}!
patch-cant-inject-now = Can't put a patch now

View File

@@ -0,0 +1,13 @@
## Entity
patch-component-injecting-user = Вы приклеиваете пластырь.
patch-component-inject-other-message = Вы приклеили пластырь к {$other}.
patch-component-inject-self-message = Вы наложили на себя пластырь.
patch-component-empty-message = Пластырь пуст!
patch-component-feel-prick-message = Вы чувствуете небольшое жжение.
patch-cant-inject = Вы не моежете прикрепить пластырь к {$target}!
patch-cant-inject-now = Вы не можете наложить пластырь сейчас
## mob-inject doafter messages
injector-component-injecting-target = {CAPITALIZE(THE($user))} пытается приклеить пластырь на вас!

View File

@@ -18,3 +18,9 @@ ent-BaseLightTube = { ent-BaseItem }
.desc = { ent-BaseItem.desc }
ent-HandheldHealthAnalyzerEmpty = { ent-HandheldHealthAnalyzer }
.desc = { ent-HandheldHealthAnalyzer.desc }
ent-Patch = пластырь
.desc = Медицинский пластырь, доставляющий реагенты сквозь кожу прямо в кровь.
ent-BurnPatch = пластырь от ожогов
.desc = Инновационный пластырь для ускоренного лечения мелких ожогов.
ent-BrutePatch = пластырь от ушибов
.desc = Компоненты пластыря непрерывно поступают к источнику боли, заживляя мелкие порезы и царапины.

View File

@@ -12,5 +12,8 @@
SyringeBicaridine: 1
SyringeDermaline: 1
Eftpos: 2
Patch: 20
BrutePatch: 10
BurnPatch: 10
emaggedInventory:
SyringeEphedrine: 1

View File

@@ -0,0 +1,68 @@
- type: entity
parent: BaseItem
id: BasePatch
abstract: true
components:
- type: Sprite
sprite: Objects/Specific/Medical/patch.rsi
layers:
- state: patch
- state: patch1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- type: Item
sprite: Objects/Specific/Medical/patch.rsi
- type: SolutionContainerManager
solutions:
patch:
maxVol: 40
- type: RefillableSolution
solution: patch
- type: ExaminableSolution
solution: patch
- type: Appearance
- type: SolutionContainerVisuals
- type: Patch
OnlyMobs: false
- type: StaticPrice
price: 30
- type: entity
name: patch
parent: BasePatch
description: a medicated patch that can deliver drugs directly into the bloodstream through the layers of the skin.
id: Patch
components:
- type: StaticPrice
price: 10
- type: SolutionContainerVisuals
maxFillLevels: 4
fillBaseName: patch
- type: entity
name: brute patch
parent: Patch
description: This innovative medical patch utilizes advanced biomimetic technology to significantly accelerate the healing of minor cuts and scrapes.
id: BrutePatch
components:
- type: SolutionContainerManager
solutions:
patch:
maxVol: 40
reagents:
- ReagentId: Bicaridine
Quantity: 10
- type: entity
name: burn patch
parent: Patch
description: This type of patch contains a drug reservoir made of a substance that heals burns.
id: BurnPatch
components:
- type: SolutionContainerManager
solutions:
patch:
maxVol: 40
reagents:
- ReagentId: Dermaline
Quantity: 10

View File

@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Copyright (c) 2024 RinKeeper",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "patch"
},
{
"name": "patch1"
},
{
"name": "patch2"
},
{
"name": "patch3"
},
{
"name": "patch4"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B