Water bottle dispenser fix & Bottle Yaml Organizing (#37108)

* A New Parent/Category For The Soda & Tonic Water Bottle

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* New Parent For water bottle & Cleanup

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* More Cleanup

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Details

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Organizing For Additions

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Streamlining waterbottle to be compatible with DrinkBottleVisualsAll Parent

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Replacing/Renaming Parents

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* New Tonic/Soda Water Bottle Sprites

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Misc Fixes

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* New Parent for Small Glass Bottles & Organizing

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Organizing & uSize Parity.

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* File Parity

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Merged Categories & Misc Fixes

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Removed Silly

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Parent Name Parity & Cleanup

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

* Large Glass Bottles Category & Cleanup

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>

---------

Signed-off-by: Prole <172158352+Prole0@users.noreply.github.com>
This commit is contained in:
Prole
2025-05-06 11:13:33 -07:00
committed by GitHub
parent 62984fc309
commit 6cdc436f5f
28 changed files with 298 additions and 146 deletions

View File

@@ -44,6 +44,97 @@
solution: drink
- type: Shakeable
- type: entity
parent: DrinkBase
id: DrinkBottlePlasticSmallBaseFull
abstract: true
suffix: Full
components:
- type: Item
size: Small
- type: Tag
tags:
- DrinkCup
- type: SolutionContainerManager
solutions:
drink:
maxVol: 30
- type: FitsInDispenser
solution: drink
- type: Openable
sound:
collection: bottleOpenSounds
closeable: true
closeSound:
collection: bottleCloseSounds
- type: Sprite
state: icon
sprite: Objects/Consumable/Drinks/waterbottle.rsi
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 5
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpillBehavior { }
- type: DnaSubstanceTrace
- type: PressurizedSolution
solution: drink
- type: TrashOnSolutionEmpty
solution: drink
- type: Shakeable
- type: PhysicalComposition
materialComposition:
Plastic: 100
- type: entity
parent: DrinkBottlePlasticSmallBaseFull
id: DrinkBottleGlassSmallBaseFull
abstract: true
components:
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
- type: Sprite
sprite: Objects/Consumable/Drinks/beer.rsi
- type: DamageOnLand
damage:
types:
Blunt: 5
- type: DamageOtherOnHit
damage:
types:
Blunt: 4
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 5
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpillBehavior { }
- !type:SpawnEntitiesBehavior
spawn:
BrokenBottle:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Tool
qualities:
- Rolling
speedModifier: 0.75
- type: PhysicalComposition
materialComposition:
Glass: 100
- type: entity
parent: DrinkBottlePlasticBaseFull
id: DrinkBottleGlassBaseFull
@@ -125,6 +216,8 @@
maxFillLevels: 5
fillBaseName: fill-
# Large Glass Bottles
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassBaseFull]
id: DrinkAbsintheBottleFull
@@ -224,24 +317,6 @@
sprite: Objects/Consumable/Drinks/cognacbottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkColaBottleFull
name: Space Cola bottle
description: Cola. In spaaace!
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: Cola
Quantity: 100
- type: Label
currentLabel: reagent-name-cola
- type: Sprite
sprite: Objects/Consumable/Drinks/colabottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassBaseFull]
id: DrinkGrenadineBottleFull
@@ -399,44 +474,6 @@
sprite: Objects/Consumable/Drinks/rumbottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkSpaceMountainWindBottleFull
name: Space Solar Wind bottle
description: Blows right through you like a solar wind.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: SpaceMountainWind
Quantity: 100
- type: Drink
- type: Label
currentLabel: reagent-name-space-mountain-wind
- type: Sprite
sprite: Objects/Consumable/Drinks/space_mountain_wind_bottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkSpaceUpBottleFull
name: Space-Up bottle
description: Tastes like a hull breach in your mouth.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: SpaceUp
Quantity: 100
- type: Drink
- type: Label
currentLabel: reagent-name-space-up
- type: Sprite
sprite: Objects/Consumable/Drinks/space-up_bottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassBaseFull]
id: DrinkTequilaBottleFull
@@ -531,34 +568,6 @@
- Wine
- DrinkBottle
# Small Bottles
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassBaseFull]
id: DrinkBeerBottleFull
name: beer bottle # beer it is. coffee. beer? coff-ee? be-er? c-o... b-e
description: An alcoholic beverage made from malted grains, hops, yeast, and water.
components:
- type: Item
size: Small
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
reagents:
- ReagentId: Beer
Quantity: 50
- type: Label
currentLabel: reagent-name-beer
- type: Sprite
sprite: Objects/Consumable/Drinks/beer.rsi
- type: Openable
closeable: false
- type: Tag
tags:
- Beer
- DrinkBottle
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassBaseFull]
id: DrinkBeerGrowler # Needs to be renamed DrinkBeerBottleFull
@@ -584,29 +593,7 @@
- DrinkBottle
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkAleBottleFull
name: Magm-Ale bottle
description: A true dorf's drink of choice.
components:
- type: Item
size: Small
- type: SolutionContainerManager
solutions:
drink:
maxVol: 50
reagents:
- ReagentId: Ale
Quantity: 50
- type: Label
currentLabel: reagent-name-ale
- type: Sprite
sprite: Objects/Consumable/Drinks/alebottle.rsi
- type: Openable
closeable: false
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
parent: [DrinkBottleVisualsAll, DrinkBottleGlassBaseFull]
id: DrinkAleBottleFullGrowler
name: Magm-Ale growler
description: A true dorf's drink of choice. XL growler bottle.
@@ -625,42 +612,64 @@
- type: Openable
closeable: false
# Large Plastic Bottles
- type: entity
parent: [DrinkBottleVisualsOpenable, DrinkBottlePlasticBaseFull]
id: DrinkWaterBottleFull
name: water bottle
description: Simple clean water of unknown origin. You think that maybe you dont want to know it.
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkColaBottleFull
name: Space Cola bottle
description: Cola. In spaaace!
components:
- type: Item
size: Small
- type: SolutionContainerManager
solutions:
drink:
maxVol: 30
reagents:
- ReagentId: Water
Quantity: 30
- ReagentId: Cola
Quantity: 100
- type: Label
currentLabel: reagent-name-water
- type: Drink
currentLabel: reagent-name-cola
- type: Sprite
sprite: Objects/Consumable/Drinks/waterbottle.rsi
layers:
- state: icon
map: ["enum.OpenableVisuals.Layer"]
- state: icon-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- type: Appearance
- type: SolutionContainerVisuals
maxFillLevels: 5
fillBaseName: icon-
inHandsMaxFillLevels: 2
inHandsFillBaseName: -fill-
sprite: Objects/Consumable/Drinks/colabottle.rsi
- type: Sealable
- type: entity
parent: DrinkWaterBottleFull
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkSpaceMountainWindBottleFull
name: Space Solar Wind bottle
description: Blows right through you like a solar wind.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: SpaceMountainWind
Quantity: 100
- type: Label
currentLabel: reagent-name-space-mountain-wind
- type: Sprite
sprite: Objects/Consumable/Drinks/space_mountain_wind_bottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkSpaceUpBottleFull
name: Space-Up bottle
description: Tastes like a hull breach in your mouth.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: SpaceUp
Quantity: 100
- type: Label
currentLabel: reagent-name-space-up
- type: Sprite
sprite: Objects/Consumable/Drinks/space-up_bottle.rsi
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkSodaWaterBottleFull
name: soda water bottle
description: Like water, but angry!
@@ -668,15 +677,18 @@
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
maxVol: 100
reagents:
- ReagentId: SodaWater
Quantity: 150
Quantity: 100
- type: Sprite
sprite: Objects/Consumable/Drinks/sodawater-bottle.rsi
- type: Label
currentLabel: reagent-name-soda-water
- type: Sealable
- type: entity
parent: DrinkWaterBottleFull
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticBaseFull]
id: DrinkTonicWaterBottleFull
name: tonic water bottle
description: Like soda water, but angrier maybe? Often sweeter.
@@ -684,15 +696,82 @@
- type: SolutionContainerManager
solutions:
drink:
maxVol: 150
maxVol: 100
reagents:
- ReagentId: TonicWater
Quantity: 150
Quantity: 100
- type: Sprite
sprite: Objects/Consumable/Drinks/tonic-bottle.rsi
- type: Label
currentLabel: reagent-name-tonic-water
- type: Sealable
# Small Bottles
- type: entity
parent: [DrinkBottleVisualsOpenable, DrinkBottleGlassBaseFull]
parent: [DrinkBottleVisualsAll, DrinkBottlePlasticSmallBaseFull]
id: DrinkWaterBottleFull
name: water bottle
description: Simple clean water of unknown origin. You think that maybe you dont want to know it.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: Water
Quantity: 30
- type: Sprite
sprite: Objects/Consumable/Drinks/waterbottle.rsi
- type: SolutionContainerVisuals
inHandsMaxFillLevels: 2
inHandsFillBaseName: -fill-
- type: Label
currentLabel: reagent-name-water
- type: Sealable
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassSmallBaseFull]
id: DrinkBeerBottleFull
name: beer bottle # beer it is. coffee. beer? coff-ee? be-er? c-o... b-e
description: An alcoholic beverage made from malted grains, hops, yeast, and water.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: Beer
Quantity: 50
- type: Label
currentLabel: reagent-name-beer
- type: Sprite
sprite: Objects/Consumable/Drinks/beer.rsi
- type: Openable
closeable: false
- type: Tag
tags:
- Beer
- type: entity
parent: [DrinkBottleVisualsAll, DrinkBottleGlassSmallBaseFull]
id: DrinkAleBottleFull
name: Magm-Ale bottle
description: A true dorf's drink of choice.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: Ale
Quantity: 50
- type: Label
currentLabel: reagent-name-ale
- type: Sprite
sprite: Objects/Consumable/Drinks/alebottle.rsi
- type: Openable
closeable: false
- type: entity
parent: [DrinkBottleVisualsOpenable, DrinkBottleGlassSmallBaseFull]
id: DrinkSakeBottleFull
name: small sake bottle
description: The regret of the next morning seems to be nipping on the bottle too.

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

View File

@@ -0,0 +1,35 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "modified from space-up_bottle.rsi and inspired by sodawater.rsi by Prole0 (GitHub)",
"states": [
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "icon_empty"
},
{
"name": "fill-1"
},
{
"name": "fill-2"
},
{
"name": "fill-3"
},
{
"name": "fill-4"
},
{
"name": "fill-5"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

View File

@@ -0,0 +1,35 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "modified from space-up_bottle.rsi and inspired by tonic.rsi by Prole0 (GitHub)",
"states": [
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "icon_empty"
},
{
"name": "fill-1"
},
{
"name": "fill-2"
},
{
"name": "fill-3"
},
{
"name": "fill-4"
},
{
"name": "fill-5"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 B

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 B

After

Width:  |  Height:  |  Size: 414 B

View File

@@ -1,5 +1,6 @@
{
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi",
"version": 1,
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, icon, icon_empty, & icon_open modified from waterbottle.rsi by Prole0 (GitHub)",
"license": "CC-BY-SA-3.0",
"size":
{
@@ -15,19 +16,22 @@
"name": "icon_open"
},
{
"name": "icon-1"
"name": "icon_empty"
},
{
"name": "icon-2"
"name": "fill-1"
},
{
"name": "icon-3"
"name": "fill-2"
},
{
"name": "icon-4"
"name": "fill-3"
},
{
"name": "icon-5"
"name": "fill-4"
},
{
"name": "fill-5"
},
{
"name": "inhand-left",
@@ -53,6 +57,5 @@
"name": "inhand-right-fill-2",
"directions": 4
}
],
"version": 1
]
}