Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nukie med bundle now costs 24 tc and contains a unique defibrillator #32720

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Resources/Locale/en-US/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ uplink-chemistry-kit-desc = A starter kit for the aspiring chemist, includes tox
uplink-knives-kit-name = Throwing Knives Kit
uplink-knives-kit-desc = A set of 4 syndicate branded throwing knives, perfect for embedding into the body of your victims.

uplink-meds-bundle-name = Medical Bundle
uplink-meds-bundle-desc = All you need to get your comrades back in the fight: mainly a combat medkit, a defibrillator and three combat medipens.
uplink-meds-bundle-name = Interdyne Medical Bundle
uplink-meds-bundle-desc = An assortment of autoinjectors and premium medical equipment to cover for every possible situation. Contains an elite compact defibrillator that can be used as a weapon.

uplink-ammo-bundle-name = Ammo Bundle
uplink-ammo-bundle-desc = Reloading! Contains 4 magazines for the C-20r, 4 drums for the Bulldog, and 2 ammo boxes for the L6 SAW.
Expand Down
16 changes: 11 additions & 5 deletions Resources/Prototypes/Catalog/Fills/Backpacks/duffelbag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,19 @@
components:
- type: StorageFill
contents:
- id: DefibrillatorSyndicate
- id: MedkitCombatFilled
- id: Defibrillator
amount: 4
- id: Tourniquet
amount: 4
- id: CombatMedipen
amount: 3
- id: ClothingHandsGlovesNitrile
- id: SyringeTranexamicAcid
- id: SyringeHyronalin
amount: 4
- id: PunctAutoInjector
amount: 4
- id: PyraAutoInjector
amount: 4
- id: AirlossAutoInjector
amount: 4

- type: entity
parent: ClothingBackpackDuffelSyndicateBundle
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,9 @@
productEntity: ClothingBackpackDuffelSyndicateMedicalBundleFilled
discountCategory: rareDiscounts
discountDownTo:
Telecrystal: 12
Telecrystal: 16
cost:
Telecrystal: 20
Telecrystal: 24
categories:
- UplinkChemicals
conditions:
Expand Down
66 changes: 66 additions & 0 deletions Resources/Prototypes/Entities/Objects/Specific/Medical/defib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,69 @@
id: DefibrillatorOneHandedUnpowered
parent: BaseDefibrillator
suffix: One-Handed, Unpowered

- type: entity
id: DefibrillatorCompact # This should be a research item at some point
parent: [ BaseDefibrillator, PowerCellSlotMediumItem ]
name: compact defibrillator
description: Now in fun size!
components:
- type: Sprite
sprite: Objects/Specific/Medical/defibsmall.rsi
layers:
- state: icon
- state: screen
map: [ "enum.ToggleVisuals.Layer" ]
visible: false
shader: unshaded
- state: ready
map: ["enum.PowerDeviceVisualLayers.Powered"]
shader: unshaded
- type: Item
size: Normal
- type: ToggleCellDraw
- type: PowerCellDraw
useRate: 100
- type: Defibrillator
zapHeal:
types:
Asphyxiation: -40
doAfterDuration: 6
- type: DoAfter
- type: UseDelay

- type: entity
id: DefibrillatorSyndicate
parent: DefibrillatorCompact
name: interdyne defibrillator
description: Doubles as a self-defense weapon against war-crime inclined tiders.
components:
- type: Sprite
sprite: Objects/Specific/Medical/defibsyndi.rsi
layers:
- state: icon
- state: screen
map: [ "enum.ToggleVisuals.Layer" ]
visible: false
shader: unshaded
- state: ready
map: ["enum.PowerDeviceVisualLayers.Powered"]
shader: unshaded
- type: MeleeWeapon
damage:
types:
Blunt: 8
- type: ItemToggleMeleeWeapon
activatedSoundOnHit:
path: /Audio/Items/Defib/defib_zap.ogg
params:
variation: 0.250
activatedSoundOnHitNoDamage:
path: /Audio/Items/Defib/defib_zap.ogg
params:
variation: 0.250
volume: -10
activatedDamage:
types:
Blunt: 8
Shock: 16
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
transferAmount: 20
onlyAffectsMobs: false
injectOnly: true

- type: SolutionContainerManager
solutions:
pen:
Expand All @@ -284,6 +283,102 @@
- type: Tag
tags: []

- type: entity
name: puncturase auto-injector
parent: ChemicalMedipen
id: PunctAutoInjector
description: A rapid dose of puncturase and tranexamic acid, intended for combat applications.
components:
- type: Sprite
sprite: Objects/Specific/Medical/medipen.rsi
layers:
- state: punctpen
map: ["enum.SolutionContainerLayers.Fill"]
- type: SolutionContainerVisuals
maxFillLevels: 1
changeColor: false
emptySpriteName: punctpen_empty
- type: Hypospray
solutionName: pen
transferAmount: 15
onlyAffectsMobs: false
injectOnly: true
- type: SolutionContainerManager
solutions:
pen:
maxVol: 15
reagents:
- ReagentId: Puncturase
Quantity: 10
- ReagentId: TranexamicAcid
Quantity: 5
- type: Tag
tags: []

- type: entity
name: pyrazine auto-injector
parent: ChemicalMedipen
id: PyraAutoInjector
description: A rapid dose of pyrazine and dermaline, intended for combat applications.
components:
- type: Sprite
sprite: Objects/Specific/Medical/medipen.rsi
layers:
- state: pyrapen
map: ["enum.SolutionContainerLayers.Fill"]
- type: SolutionContainerVisuals
maxFillLevels: 1
changeColor: false
emptySpriteName: pyrapen_empty
- type: Hypospray
solutionName: pen
transferAmount: 20
onlyAffectsMobs: false
injectOnly: true
- type: SolutionContainerManager
solutions:
pen:
maxVol: 20
reagents:
- ReagentId: Pyrazine
Quantity: 10
- ReagentId: Dermaline
Quantity: 10
- type: Tag
tags: []

- type: entity
name: airloss auto-injector
parent: ChemicalMedipen
id: AirlossAutoInjector
description: A rapid dose of saline and dexalin plus, intended to get someone up quickly.
components:
- type: Sprite
sprite: Objects/Specific/Medical/medipen.rsi
layers:
- state: dexpen
map: ["enum.SolutionContainerLayers.Fill"]
- type: SolutionContainerVisuals
maxFillLevels: 1
changeColor: false
emptySpriteName: dexpen_empty
- type: Hypospray
solutionName: pen
transferAmount: 40
onlyAffectsMobs: false
injectOnly: true
- type: SolutionContainerManager
solutions:
pen:
maxVol: 40
reagents:
- ReagentId: Saline
Quantity: 20
- ReagentId: DexalinPlus
Quantity: 20
- type: Tag
tags: []

- type: entity
name: space medipen
parent: ChemicalMedipen
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by EmoGarbage404 (github) for Space Staiton 14 and modified by alzore_(Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "ready"
},
{
"name": "screen"
}
]
}
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.
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,28 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by EmoGarbage404 (github) for Space Staiton 14 and modified by alzore_(Discord)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "ready"
},
{
"name": "screen"
}
]
}
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.
18 changes: 18 additions & 0 deletions Resources/Textures/Objects/Specific/Medical/medipen.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,24 @@
},
{
"name": "medipen-inhand-right"
},
{
"name": "punctpen"
},
{
"name": "punctpen_empty"
},
{
"name": "pyrapen"
},
{
"name": "pyrapen_empty"
},
{
"name": "dexpen"
},
{
"name": "dexpen_empty"
}
]
}
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.
Loading