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

Paramedic Lockers, Portafibs, and Chemvend Tweaks #53

Merged
merged 12 commits into from
Oct 5, 2023
3 changes: 2 additions & 1 deletion Resources/Prototypes/Access/medical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- type: accessLevel
id: Chemistry
name: id-card-access-level-chemistry

- type: accessLevel
id: Paramedic
name: id-card-access-level-paramedic
Expand All @@ -20,3 +20,4 @@
- ChiefMedicalOfficer
- Medical
- Chemistry
- Paramedic
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Brig
- Engineering
- Medical
- Paramedic
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
- Quartermaster
- Salvage
- Cargo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@
id: ChemVendInventory
startingInventory:
Jug: 4
JugAluminium: 2
JugCarbon: 2
JugChlorine: 2
JugCopper: 2
JugEthanol: 2
JugFluorine: 2
JugHydrogen: 2
JugIodine: 2
JugIron: 2
JugLithium: 2
JugMercury: 2
JugNitrogen: 2
JugOxygen: 2
JugPhosphorus: 2
JugPotassium: 2
JugRadium: 2
JugSilicon: 2
JugSodium: 2
JugSugar: 2
JugSulfur: 2
JugAluminium: 4
JugCarbon: 4
JugChlorine: 4
JugCopper: 4
JugEthanol: 4
JugFluorine: 4
JugHydrogen: 4
JugIodine: 4
JugIron: 4
JugLithium: 4
JugMercury: 4
JugNitrogen: 4
JugOxygen: 4
JugPhosphorus: 4
JugPotassium: 4
JugRadium: 4
JugSilicon: 4
JugSodium: 4
JugSugar: 4
JugSulfur: 4
emaggedInventory:
ToxinChemistryBottle: 1
ToxinChemistryBottle: 6
EpinephrineChemistryBottle: 6
NapalmChemistryBottle: 6
UltravasculineChemistryBottle: 6
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
Bloodpack: 5
EpinephrineChemistryBottle: 3
Syringe: 5
Portafib: 1
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@
- id: BoxSurvivalMedical
- id: CheapRollerBedSpawnFolded
- id: BodyBag_Folded
- id: Portafib
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
- id: BoxSurvivalMedical
- id: CheapRollerBedSpawnFolded
- id: BodyBag_Folded
- id: Portafib
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
- id: BoxSurvivalMedical
- id: CheapRollerBedSpawnFolded
- id: BodyBag_Folded
- id: Portafib
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
- type: entity
id: Portafib
parent: [ BaseItem, PowerCellSlotSmallItem ]
name: portafib
description: Less weight, same great ZZZAP!
components:
- type: Sprite
sprite: DeltaV/Objects/Medical/portafib.rsi
layers:
- state: icon
- state: screen
map: [ "enum.ToggleVisuals.Layer" ]
visible: false
shader: unshaded
- state: ready
map: ["enum.PowerDeviceVisualLayers.Powered"]
shader: unshaded
- type: GenericVisualizer
visuals:
enum.ToggleVisuals.Toggled:
enum.ToggleVisuals.Layer:
True: { visible: true }
False: { visible: false }
enum.DefibrillatorVisuals.Ready:
enum.PowerDeviceVisualLayers.Powered:
True: { visible: true }
False: { visible: false }
- type: Item
size: 20
- type: ItemCooldown
- type: MultiHandedItem
- type: Speech
- type: Defibrillator
zapHeal:
types:
Asphyxiation: -40
- type: PowerCellDraw
useRate: 140
- type: Appearance
- type: DoAfter
- type: UseDelay
- type: StaticPrice
price: 100
- type: GuideHelp
guides:
- Medical Doctor

- type: entity
id: PortafibEmpty
parent: Portafib
suffix: Empty
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
- type: entity
id: NapalmChemistryBottle
name: napalm bottle
parent: BaseChemistryEmptyBottle
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 30
reagents:
- ReagentId: Napalm
Quantity: 30
- type: Tag
tags:
- Bottle

- type: entity
id: UltravasculineChemistryBottle
name: ultravasculine bottle
parent: BaseChemistryEmptyBottle
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 30
reagents:
- ReagentId: Ultravasculine
Quantity: 30
- type: Tag
tags:
- Bottle
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
stateDoorOpen: paramed_open
stateDoorClosed: paramed_door
- type: AccessReader
access: [ [ "Medical" ] ]
access: [ [ "Paramedic" ] ]
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved


# Chemical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
department: Medical
time: 36000 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
time: 144000 #40 hrs
weight: 10
startingGear: CMOGear
icon: "JobIconChiefMedicalOfficer"
Expand All @@ -25,6 +25,7 @@
canBeAntag: false
access:
- Medical
- Paramedic
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
- Command
- Maintenance
- Chemistry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Maintenance
extendedAccess:
- Chemistry
- Paramedic
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved

- type: startingGear
id: DoctorGear
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
supervisors: job-supervisors-cmo
access:
- Medical
- Paramedic
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
- Maintenance
- External
extendedAccess:
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 rosieposieee (github) for Space Staiton 14 inspired by and as a reskin of assets for defib by EmoGarbage404 (github)",
"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