Skip to content

Commit

Permalink
Advanced Compact Defib
Browse files Browse the repository at this point in the history
  • Loading branch information
Tryded committed Jan 12, 2025
1 parent 7d0797a commit 35f4b3e
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
- type: entity
id: DefibrillatorCompactAdvanced
parent: BaseDefibrillator
name: advanced compact defibrillator
description: A belt-equipped state-of-the-art defibrillator that can be rapidly deployed in all enviroments. Uses an experimental self-charging cell, meaning that it will (probably) never stop working.
components:
- type: Sprite
sprite: DeltaV/Objects/Medical/advancedcompactdefib.rsi
layers:
- state: icon
- state: screen
map: [ "enum.ToggleVisuals.Layer" ]
visible: false
shader: unshaded
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleVisuals.Toggled:
enum.ToggleVisuals.Layer:
True: { visible: true }
False: { visible: false }
- type: Clothing
slots: [belt]
- type: Item
size: Normal
- type: MultiHandedItem
- type: StaticPrice
price: 500
- type: Tag
tags:
- HighRiskItem
- type: StealTarget
stealGroup: DefibrillatorCompactAdvanced
7 changes: 7 additions & 0 deletions Resources/Prototypes/_DV/Objectives/stealTargetGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
sprite: _DV/Mobs/Pets/silvia.rsi
state: silvia

- type: stealTargetGroup
id: DefibrillatorCompactAdvanced
name: steal-target-groups-defibrillator-compact-advanced
sprite:
sprite: DeltaV/Objects/Medical/advancedcompactdefib.rsi
state: icon

# Ninja

- type: stealTargetGroup
Expand Down
12 changes: 11 additions & 1 deletion Resources/Prototypes/_DV/Objectives/traitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@
- type: StealCondition
stealGroup: AnimalSilvia
owner: job-name-cmo


- type: entity
parent: BaseTraitorStealObjective
id: CMODefibStealObjective
components:
- type: NotJobRequirement
job: ChiefMedicalOfficer
- type: StealCondition
stealGroup: DefibrillatorCompactAdvanced
owner: job-name-cmo

# Mystagogue steal objective
- type: entity
parent: BaseTraitorStealObjective
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Taken from Paradise Staiton in commit https://github.com/ParadiseSS13/Paradise/pull/15783/commits/7b342f4476bfface771aaa74db5e701dab64131d inhand sprites by Tryded",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BELT",
"directions": 4
},
{
"name": "screen"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35f4b3e

Please sign in to comment.