Skip to content

Commit

Permalink
Add brigmed hypo+case+fix
Browse files Browse the repository at this point in the history
..magboot spawn chance on brigmedic locker. Someone accidentally gave it a 0.1 chance to spawn lol.
  • Loading branch information
KillerTheFlareon committed Feb 5, 2025
1 parent 4f38820 commit b920aa7
Show file tree
Hide file tree
Showing 16 changed files with 186 additions and 2 deletions.
1 change: 0 additions & 1 deletion Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
- id: ClothingUniformJumpskirtBrigmedic
- id: ClothingUniformJumpskirtOfLife
- id: ClothingShoesBootsMagSec
prob: 0.1
- id: MedkitFilled
- id: MedkitCombatFilled
prob: 0.6
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: entity
id: SecurityHypoKitFilled
suffix: Filled
parent: SecurityHypoKit
components:
- type: StorageFill
contents:
- id: BrigHypo
- id: ReinforcedEmptyChemistryVial
amount: 8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- type: entity
id: DefibrillatorBrigmedical
parent: [ BaseDefibrillator, PowerCellSlotTinyItem ]
parent: [ BaseDefibrillator, PowerCellSlotTinyItem, BaseSecurityContraband]
name: Brigmedic Defibrillator
description: Hand-held device that can save lives, and act as a weapon in a pinch.
components:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
- type: entity
name: Miniature Hypospray
parent: [BaseItem, BaseSecurityContraband]
description: A compact sterile injector for rapid chemical injection in combat situations.
id: BrigHypo
components:
- type: Sprite
sprite: _Starlight/Objects/Specific/Medical/hypospray.rsi
state: hypo
- type: Item
sprite: _Starlight/Objects/Specific/Medical/hypospray.rsi
size: Tiny
- type: SolutionContainerManager
solutions:
hypospray:
maxVol: 5
- type: RefillableSolution
solution: hypospray
- type: ExaminableSolution
solution: hypospray
- type: Hypospray
onlyAffectsMobs: false
- type: UseDelay
delay: 0.5
- type: StaticPrice
price: 750
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,34 @@
- type: PhysicalComposition
materialComposition:
Plastic: 150
- type: Tag
tags:
- Medkit

- type: entity
name: Miniature Hypospray Case
description: A blast-resistant case to protect fragile glassware within for use inside the hypospray. #this is a lie since I can't add explosive damage resist.
parent: BaseStorageItem
id: SecurityHypoKit
components:
- type: Sprite
sprite: _Starlight/Objects/Specific/Medical/firstaidkits.rsi
state: HypoKit
- type: Storage
whitelist:
tags:
- Vial
components:
- Hypospray
grid:
- 0,0,2,2
- type: Item
size: Normal
sprite: _Starlight/Objects/Specific/Medical/firstaidkits.rsi
heldPrefix: HypoKit
- type: PhysicalComposition
materialComposition:
Plastic: 150
- type: Tag
tags:
- Medkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# TODO: Have a seperate lid state that can be popped on and off (not as a seperate item) that changes whether the vial can be spilled or not.

- type: entity
name: Reinforced Vial
parent: BaseItem
id: ReinforcedEmptyChemistryVial
description: A small vial made with blast-resistant glass. #My workaround for being unable to make a container explosion-proof.
components:
- type: Tag
tags:
- Trash
- CentrifugeCompatible
- Vial
- type: PhysicalComposition
materialComposition:
Glass: 25
- type: FitsInDispenser
solution: beaker
- type: SpaceGarbage
- type: Sprite
sprite: Objects/Specific/Chemistry/vial.rsi
layers:
- state: vial-1
- state: vial-1-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 6
fillBaseName: vial-1-
inHandsMaxFillLevels: 4
inHandsFillBaseName: -fill-
- type: Drink
solution: beaker
- type: SolutionContainerManager
solutions:
beaker:
maxVol: 30
- type: MixableSolution
solution: beaker
- type: RefillableSolution
solution: beaker
- type: DrainableSolution
solution: beaker
- type: ExaminableSolution
solution: beaker
- type: DrawableSolution
solution: beaker
- type: SolutionTransfer
maxTransferAmount: 30
canChangeTransferAmount: true
- type: SolutionItemStatus
solution: beaker
- type: UserInterface
interfaces:
enum.TransferAmountUiKey.Key:
type: TransferAmountBoundUserInterface
- type: Item
size: Tiny
sprite: Objects/Specific/Chemistry/vial.rsi
shape:
- 0,0,0,0
- type: MeleeWeapon
soundNoDamage:
path: "/Audio/Effects/Fluids/splat.ogg"
damage:
types:
Blunt: 0
- type: TrashOnSolutionEmpty
solution: beaker
- type: StaticPrice
price: 100
- type: DamageOnLand
damage:
types:
Blunt: 5
- type: DamageOtherOnHit
damage:
types:
Blunt: 2
- type: Spillable
solution: beaker
- type: DnaSubstanceTrace
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@
- Flash
- SecurityMedkit
- DefibrillatorBrigmedical
- SecurityHypoKitFilled
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
Expand Up @@ -17,6 +17,17 @@
{
"name": "BrigKube-inhand-left",
"directions": 4
},
{
"name": "HypoKit"
},
{
"name": "HypoKit-inhand-right",
"directions": 4
},
{
"name": "HypoKit-inhand-left",
"directions": 4
}
]
}
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,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from vgstation at commit https://github.com/vgstation-coders/vgstation13/commit/1cdfb0230cc96d0ba751fa002d04f8aa2f25ad7d and then modified by Killer Tamashi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "hypo"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BELT",
"directions": 4
}
]
}

0 comments on commit b920aa7

Please sign in to comment.