ent-CrateChemistrySupplies = Chemistry supplies crate
.desc = Basic chemistry supplies.
+ent-CrateChemistryVials = Vial supply crate
+ .desc = Crate filled with a box of vials.
+
ent-CrateMindShieldImplants = MindShield implant crate
.desc = Crate filled with 3 MindShield implants.
category: Medical
group: market
+- type: cargoProduct
+ id: MedicalChemistryVials
+ icon:
+ sprite: Objects/Specific/Chemistry/vial.rsi
+ state: vial
+ product: CrateChemistryVials
+ cost: 1000
+ category: Medical
+ group: market
+
- type: cargoProduct
id: EmergencyBurnKit
icon:
whitelist:
tags:
- BodyBag
+
+- type: entity
+ name: vial box
+ parent: BoxCardboard
+ id: BoxVial
+ description: A box full of vials.
+ components:
+ - type: Storage
+ grid:
+ - 0,0,2,1
+ - type: StorageFill
+ contents:
+ - id: BaseChemistryEmptyVial
+ amount: 6
+ - type: Sprite
+ layers:
+ - state: box
+ - state: vials
- id: BoxBottle
amount: 2
+- type: entity
+ id: CrateChemistryVials
+ parent: CrateMedical
+ components:
+ - type: StorageFill
+ contents:
+ - id: BoxVial
+
- type: entity
id: CrateMindShieldImplants
parent: CrateMedical
prob: 0.3
- id: BoxPillCanister
- id: BoxBottle
+ - id: BoxVial
- id: ChemBag
- id: ClothingHandsGlovesLatex
- id: ClothingHeadsetMedical
--- /dev/null
+# 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: vial
+ parent: BaseItem
+ id: BaseChemistryEmptyVial
+ description: A small vial.
+ components:
+ - type: Tag
+ tags:
+ - Trash
+ - 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-
+ - type: SolutionContainerManager
+ solutions:
+ drink:
+ maxVol: 30
+ canMix: true
+ - type: RefillableSolution
+ solution: drink
+ - type: DrainableSolution
+ solution: drink
+ - type: ExaminableSolution
+ solution: drink
+ - type: DrawableSolution
+ solution: drink
+ - type: SolutionTransfer
+ maxTransferAmount: 30
+ canChangeTransferAmount: true
+ - type: UserInterface
+ interfaces:
+ - key: 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: drink
+ - type: StaticPrice
+ price: 100
+ - type: DamageOnLand
+ damage:
+ types:
+ Blunt: 5
+ - type: DamageOtherOnHit
+ damage:
+ types:
+ Blunt: 2
+ - type: Damageable
+ damageContainer: Inorganic
+ - type: Destructible
+ thresholds:
+ - trigger:
+ !type:DamageTrigger
+ damage: 15
+ behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: GlassBreak
+ params:
+ volume: -4
+ - !type:SpillBehavior { }
+ - !type:SpawnEntitiesBehavior
+ spawn:
+ ShardGlass:
+ min: 0
+ max: 1
+ transferForensics: true
+ - !type:DoActsBehavior
+ acts: [ "Destruction" ]
+ - type: Spillable
+ solution: drink
{
"version": 1,
"license": "CC-BY-SA-3.0",
- "copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/blob/2b969adc2dfd3e9621bf3597c5cbffeb3ac8c9f0/icons/obj/chemical.dmi",
+ "copyright": "Drawn by Ubaser, taken inspiration by /tg/'s vials",
"size": {
"x": 32,
"y": 32
},
"states": [
- {
- "name": "lid_vial"
- },
{
"name": "vial"
},
{
"name": "inhand-right",
"directions": 4
+ },
+ {
+ "name": "vial-1"
+ },
+ {
+ "name": "vial-1-1"
+ },
+ {
+ "name": "vial-1-2"
+ },
+ {
+ "name": "vial-1-3"
+ },
+ {
+ "name": "vial-1-4"
+ },
+ {
+ "name": "vial-1-5"
+ },
+ {
+ "name": "vial-1-6"
}
]
}
{
"version": 1,
"license": "CC-BY-SA-3.0",
- "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/cc65477c04f7403ca8a457bd5bae69a01abadbf0, encryptokey was taken from Baystation12 at https://github.com/infinitystation/Baystation12/blob/073f678cdce92edb8fcd55f9ffc9f0523bf31506/icons/obj/radio.dmi and modified by lapatison. boxwidetoy, shelltoy, swab, flare, inflatable, trashbag, magazine, holo and forensic created by potato1234x (github) for ss14 based on toys.rsi, mouth_swab.rsi, flare.rsi, inflatable_wall.rsi, trashbag.rsi, caseless_pistol_mag.rsi, guardians.rsi and bureaucracy.rsi respectively, candle and darts created by TheShuEd for ss14",
+ "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/cc65477c04f7403ca8a457bd5bae69a01abadbf0, encryptokey was taken from Baystation12 at https://github.com/infinitystation/Baystation12/blob/073f678cdce92edb8fcd55f9ffc9f0523bf31506/icons/obj/radio.dmi and modified by lapatison. boxwidetoy, shelltoy, swab, flare, inflatable, trashbag, magazine, holo and forensic created by potato1234x (github) for ss14 based on toys.rsi, mouth_swab.rsi, flare.rsi, inflatable_wall.rsi, trashbag.rsi, caseless_pistol_mag.rsi, guardians.rsi and bureaucracy.rsi respectively, candle and darts created by TheShuEd for ss14, vials was drawn by Ubaser.",
"size": {
"x": 32,
"y": 32
},
{
"name": "darts"
+ },
+ {
+ "name": "vials"
}
]
}
{
"version": 1,
"license": "CC-BY-SA-3.0",
- "copyright": "Taken from baystation at https://github.com/Baystation12/Baystation12/commit/bc9fbb1722530596e3aa7522ee407280b323ad43",
+ "copyright": "Taken from baystation at https://github.com/Baystation12/Baystation12/commit/bc9fbb1722530596e3aa7522ee407280b323ad43, vials drawn by Ubaser.",
"size": {
"x": 32,
"y": 32
},
{
"name": "ziptie"
+ },
+ {
+ "name": "vials"
}
]
}