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
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<string> acc
"Kitchen",
"Maintenance",
"Medical",
"Paramedic", // DeltaV - Add Paramedic access
"Quartermaster",
"Research",
"ResearchDirector",
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/medical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
- ChiefMedicalOfficer
- Medical
- Chemistry
- Paramedic # DeltaV - Add Paramedic access
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@
- Atmospherics
- Mail # Nyanotrasen - MailCarrier, see Resources/Prototypes/Nyanotrasen/Roles/Jobs/Cargo/mail-carrier.yml
- Orders # DeltaV - Orders, see Resources/Prototypes/DeltaV/Access/cargo.yml
- Paramedic # DeltaV - Add Paramedic access
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Cargo/cargo_vending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: CrateVendingMachineRestockChemVendFilled
cost: 3820
cost: 6800 #Delta V - was 3820, see rebase PR #53
category: Medical
group: market

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,31 @@
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
## Delta V - begin change of 2 -> 4, see rebase PR #53
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
## Delta V - end change of 2 -> 4
emaggedInventory:
ToxinChemistryBottle: 1
ToxinChemistryBottle: 6 # Delta V - changed from 1 -> 6
# DeltaV - Added other chems from emagging chem dispenser
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 # DeltaV - Add Portafibs, see Prototypes/DeltaV/Entities/Objects/Devices/Medical/portafib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
- type: StorageFill
contents:
- id: BoxSurvivalMedical
- id: CheapRollerBedSpawnFolded
- id: EmergencyRollerBedSpawnFolded
- 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 @@ -6,5 +6,6 @@
- type: StorageFill
contents:
- id: BoxSurvivalMedical
- id: CheapRollerBedSpawnFolded
- id: EmergencyRollerBedSpawnFolded
- 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 @@ -6,5 +6,6 @@
- type: StorageFill
contents:
- id: BoxSurvivalMedical
- id: CheapRollerBedSpawnFolded
- id: EmergencyRollerBedSpawnFolded
- 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" ] ] # DeltaV - Change Medical access to Paramedic


# Chemical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- Maintenance
- Chemistry
- ChiefMedicalOfficer
- Paramedic # DeltaV - Add Paramedic access

- type: startingGear
id: CMOGear
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Maintenance
extendedAccess:
- Chemistry
- Paramedic # DeltaV - Add Paramedic access

- 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 @@ -20,6 +20,7 @@
- Medical
- Maintenance
- External
- Paramedic # DeltaV - Add Paramedic access
extendedAccess:
- Chemistry

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 Station 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