Medical items sound support + sounds (#6871)

This commit is contained in:
Leeroy
2022-02-27 10:02:00 +03:00
committed by GitHub
parent fc667f8f44
commit fb858ab514
10 changed files with 65 additions and 10 deletions

View File

@@ -1,23 +1,36 @@
- type: entity
parent: BaseItem
id: BaseHealingItem
abstract: true
components:
- type: Sprite
sprite: Objects/Specific/Medical/medical.rsi
- type: Item
sprite: Objects/Specific/Medical/medical.rsi
HeldPrefix: ointment
- type: entity
name: ointment
description: Used to treat those nasty burns.
parent: BaseItem
parent: BaseHealingItem
id: Ointment
components:
- type: Tag
tags:
- Ointment
- type: Sprite
sprite: Objects/Specific/Medical/medical.rsi
state: ointment
- type: Item
sprite: Objects/Specific/Medical/medical.rsi
HeldPrefix: ointment
- type: Healing
damageContainer: Biological
damage:
groups:
Burn: -10 # 5 for each type in the group
healingBeginSound:
path: "/Audio/Items/Medical/ointment_begin.ogg"
healingEndSound:
path: "/Audio/Items/Medical/ointment_end.ogg"
- type: Stack
stackType: Ointment
max: 5
@@ -26,7 +39,7 @@
- type: entity
name: bruise pack
description: A therapeutic gel pack and bandages designed to treat blunt-force trauma.
parent: Ointment
parent: BaseHealingItem
id: Brutepack
components:
- type: Tag
@@ -40,13 +53,17 @@
groups:
Brute: -15 # 5 for each type in the group
bloodlossModifier: -3 # a little bit of bloodloss healing.
healingBeginSound:
path: "/Audio/Items/Medical/brutepack_begin.ogg"
healingEndSound:
path: "/Audio/Items/Medical/brutepack_end.ogg"
- type: Stack
stackType: Brutepack
- type: entity
name: roll of gauze
description: Some sterile gauze to wrap around bloody stumps.
parent: Ointment
parent: BaseHealingItem
id: Gauze
components:
- type: Tag
@@ -61,6 +78,10 @@
Slash: -2.5
Piercing: -2.5
bloodlossModifier: -10
healingBeginSound:
path: "/Audio/Items/Medical/brutepack_begin.ogg"
healingEndSound:
path: "/Audio/Items/Medical/brutepack_end.ogg"
- type: Stack
stackType: Gauze