license: "CC0-1.0"
copyright: "Original sound by Nox_Sound on freesound.org. Converted to ogg and edited by themias."
source: "https://freesound.org/people/Nox_Sound/sounds/556648/"
-
+
- files: [ "toolbox_insert.ogg" ]
license: "CC0-1.0"
copyright: "Original sound by j1987 on freesound.org. Converted to ogg and edited by themias."
source: "https://freesound.org/people/j1987/sounds/532137/"
-
+
- files: [ "toolbox_remove.ogg" ]
license: "CC0-1.0"
copyright: "Original sound by kooust on freesound.org. Converted to ogg and edited by themias."
source: "https://freesound.org/people/kooust/sounds/452712/"
+
+- files: [ "flask_open1.ogg" ]
+ license: "CC-BY-3.0"
+ copyright: "Original sound by kwahmah_02 on freesound.org. Converted to ogg and edited by Prole0 (GitHub)"
+ source: "https://freesound.org/s/277503/"
+
+- files: [ "flask_close1.ogg" ]
+ license: "CC-BY-NC-4.0"
+ copyright: "Original sound by QEDionium on freesound.org. Coverted to ogg and edited by Prole0 (GitHub)"
+ source: "https://freesound.org/s/489803/"
id: FlaskBase
abstract: true
components:
- - type: Drink
+ - type: SolutionContainerManager
+ solutions:
+ drink:
+ maxVol: 30
+ - type: Sprite
+ state: icon
+ sprite: Objects/Consumable/Drinks/flask.rsi
- type: PhysicalComposition
materialComposition:
Steel: 300
solution: drink
- type: entity
- parent: FlaskBase
+ id: DrinkFlaskVisualsOpenable
+ abstract: true
+ components:
+ - type: GenericVisualizer
+ visuals:
+ enum.OpenableVisuals.Opened:
+ enum.OpenableVisuals.Layer:
+ True: {state: "icon_open"}
+ False: {state: "icon"}
+ - type: Appearance
+ - type: Sprite
+ layers:
+ - state: icon
+ map: ["enum.OpenableVisuals.Layer"]
+ - type: Openable
+ sound:
+ collection: flaskOpenSounds
+ closeable: true
+ closeSound:
+ collection: flaskCloseSounds
+
+# Flasks
+
+- type: entity
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkShinyFlask
name: shiny flask
description: A shiny metal flask. It appears to have a Greek symbol inscribed on it.
sprite: Objects/Consumable/Drinks/shinyflask.rsi
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkMREFlask
+ suffix: Full
name: MRE flask
description: An old military flask, filled with the finest contents for soldiers.
components:
solution: drink
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkDetFlask
name: inspector's flask
description: A metal flask with a leather band and golden badge belonging to the inspector.
sprite: Objects/Consumable/Drinks/detflask.rsi
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkHosFlask
name: hos's flask
description: A metal flask, fit for a hard working HoS.
sprite: Objects/Consumable/Drinks/hosflask.rsi
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkFlask
name: captain's flask
description: A metal flask belonging to the captain.
sprite: Objects/Consumable/Drinks/flask.rsi
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkFlaskBar
name: bar flask
description: A metal flask often given out by the bartender on loan. Don't forget to return it!
- type: entity
parent: FlaskBase
id: DrinkFlaskOld
- name: flask
- description: ''
+ name: old flask
+ description: A decrepit old flask, its lid seems to be missing.
components:
- type: Sprite
sprite: Objects/Consumable/Drinks/flask_old.rsi
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkLithiumFlask
name: lithium flask
description: A flask with a Lithium Atom symbol on it.
sprite: Objects/Consumable/Drinks/lithiumflask.rsi
- type: entity
- parent: FlaskBase
+ parent: [FlaskBase, DrinkFlaskVisualsOpenable]
id: DrinkVacuumFlask
name: vacuum flask
description: Keeping your drinks at the perfect temperature since 1892.
components:
- type: Sprite
sprite: Objects/Consumable/Drinks/vacuumflask.rsi
-
-- type: entity
- parent: FlaskBase
- id: Pitcher
- name: metal pitcher
- description: A stainless steel insulated pitcher. Everyone's best friend in the morning.
- components:
- - type: SolutionContainerManager
- solutions:
- drink:
- maxVol: 60
- - type: Sprite
- sprite: Objects/Consumable/Drinks/pitcher.rsi
- layers:
- - state: icon
- map: ["enum.SolutionContainerLayers.Base"]
- - state: fill-6
- map: ["enum.SolutionContainerLayers.Fill"]
- visible: false
- - type: Appearance
- - type: SolutionContainerVisuals
- maxFillLevels: 6
- fillBaseName: fill-
- inHandsMaxFillLevels: 2
- inHandsFillBaseName: -fill-
- type: PhysicalComposition
materialComposition:
Steel: 75
+
+- type: entity
+ parent: DrinkBase
+ id: Pitcher
+ name: metal pitcher
+ description: A stainless steel insulated pitcher. Everyone's best friend in the morning.
+ components:
+ - type: SolutionContainerManager
+ solutions:
+ drink:
+ maxVol: 60
+ - type: Sprite
+ sprite: Objects/Consumable/Drinks/pitcher.rsi
+ layers:
+ - state: icon
+ map: ["enum.SolutionContainerLayers.Base"]
+ - state: fill-6
+ map: ["enum.SolutionContainerLayers.Fill"]
+ visible: false
+ - type: Appearance
+ - type: SolutionContainerVisuals
+ maxFillLevels: 6
+ fillBaseName: fill-
+ inHandsMaxFillLevels: 2
+ inHandsFillBaseName: -fill-
+ - type: PhysicalComposition
+ materialComposition:
+ Steel: 300
+ - type: FitsInDispenser
+ solution: drink
id: bottleCloseSounds
files:
- /Audio/Items/bottle_close1.ogg
+
+- type: soundCollection
+ id: flaskCloseSounds
+ files:
+ - /Audio/Items/flask_close1.ogg
id: pop
files:
- /Audio/Items/pop.ogg
+
+- type: soundCollection
+ id: flaskOpenSounds
+ files:
+ - /Audio/Items/flask_open1.ogg
{
"version": 1,
- "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github), icon_open by Prole0 (GitHub)",
"size": {
"x": 32,
"y": 32
{
"name": "icon"
},
+ {
+ "name": "icon_open"
+ },
{
"name": "inhand-left",
"directions": 4
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
\ No newline at end of file
+{
+ "version": 1,
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, icon_open & inhands by Prole0 (GitHub)",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "license": "CC-BY-SA-3.0",
+ "states": [
+ {
+ "name": "icon"
+ },
+ {
+ "name": "icon_open"
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
+ }
+ ]
+}
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
\ No newline at end of file
+{
+ "version": 1,
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, icon_open & inhands by Prole0 (GitHub)",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "license": "CC-BY-SA-3.0",
+ "states": [
+ {
+ "name": "icon"
+ },
+ {
+ "name": "icon_open"
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
+ }
+ ]
+}
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
\ No newline at end of file
+{
+ "version": 1,
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by Prole0 (GitHub)",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "license": "CC-BY-SA-3.0",
+ "states": [
+ {
+ "name": "icon"
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
+ }
+ ]
+}
{
"version": 1,
- "license": "CC-BY-SA-3.0",
- "copyright": "Sprited by MrGreen06#0618 (discord)",
+ "copyright": "Sprited by MrGreen06#0618 (discord), icon modified & icon_open/inhands by Prole0 (GitHub)",
"size": {
"x": 32,
"y": 32
},
+ "license": "CC-BY-SA-3.0",
"states": [
{
"name": "icon"
+ },
+ {
+ "name": "icon_open"
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
}
]
}
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
\ No newline at end of file
+{
+ "version": 1,
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, icon_open & inhands by Prole0 (GitHub)",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "license": "CC-BY-SA-3.0",
+ "states": [
+ {
+ "name": "icon"
+ },
+ {
+ "name": "icon_open"
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
+ }
+ ]
+}
{
"version": 1,
+ "copyright": "Created by EmoGarbage, inhands by TiniestShark (github), icon_open by Prole0 (GitHub)",
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
- "copyright": "Created by EmoGarbage, inhands by TiniestShark (github)",
"states": [
{
"name": "icon"
},
+ {
+ "name": "icon_open"
+ },
{
"name": "inhand-left",
"directions": 4
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
\ No newline at end of file
+{
+ "version": 1,
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, icon_open & inhands by Prole0 (GitHub)",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "license": "CC-BY-SA-3.0",
+ "states": [
+ {
+ "name": "icon"
+ },
+ {
+ "name": "icon_open"
+ },
+ {
+ "name": "inhand-left",
+ "directions": 4
+ },
+ {
+ "name": "inhand-right",
+ "directions": 4
+ }
+ ]
+}
{
"version": 1,
- "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
+ "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github), icon_open by Prole0 (GitHub)",
"license": "CC-BY-SA-3.0",
"size":
{
{
"name": "icon"
},
+ {
+ "name": "icon_open"
+ },
{
"name": "inhand-left",
"directions": 4