Standardize state names in drinks yml (#40316)

* drinks_base

* drinks_special

* drinks_fun

* drinks_cans - the holy minus diff

* bottles_glass and metamorphic

* mugs

* Solar's Best Hot Drinks

* misc drinks_cups

* slight addition to base

* lint fix

* metamorphic glass

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda
2025-10-07 11:05:30 -05:00
committed by GitHub
parent 70543885e7
commit ceedfb6d39
135 changed files with 155 additions and 392 deletions

View File

@@ -91,7 +91,7 @@
# map: ["enum.OpenableVisuals.Layer"] # map: ["enum.OpenableVisuals.Layer"]
## Bases for visuals ## Bases for visuals
# TODO standardize state names for fill levels and openable visuals # New drinks should mirror these state names to reduce clutter when creating new prototypes
# Basic visualizer for an openable entity. Requires DrinkBaseOpenable # Basic visualizer for an openable entity. Requires DrinkBaseOpenable
- type: entity - type: entity
@@ -103,13 +103,14 @@
visuals: visuals:
enum.OpenableVisuals.Opened: enum.OpenableVisuals.Opened:
enum.OpenableVisuals.Layer: enum.OpenableVisuals.Layer:
True: {state: "icon_open"} True: {state: "icon_open"} # lid off
False: {state: "icon"} False: {state: "icon"} # lid on
- type: Sprite - type: Sprite
layers: layers:
- state: icon - state: icon
map: ["enum.OpenableVisuals.Layer"] map: ["enum.OpenableVisuals.Layer"]
- type: ExaminableSolution - type: ExaminableSolution
solution: *sol
examinableWhileClosed: false # If you can't see the fill levels on the sprite, we can assume it's opaque examinableWhileClosed: false # If you can't see the fill levels on the sprite, we can assume it's opaque
heldOnly: true # If it's opaque, you probably can't see through the open lid from a distance heldOnly: true # If it's opaque, you probably can't see through the open lid from a distance
@@ -121,11 +122,12 @@
- type: Appearance - type: Appearance
- type: Sprite - type: Sprite
layers: layers:
- state: icon_empty - state: icon
- state: fill-1 - state: fill-1
map: ["enum.SolutionContainerLayers.Fill"] map: ["enum.SolutionContainerLayers.Fill"]
visible: false visible: false
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
solutionName: *sol
maxFillLevels: 5 maxFillLevels: 5
fillBaseName: fill- fillBaseName: fill-
inHandsMaxFillLevels: 3 inHandsMaxFillLevels: 3
@@ -139,7 +141,7 @@
components: components:
- type: Sprite - type: Sprite
layers: layers:
- state: icon_empty - state: icon
map: [ "enum.SolutionContainerLayers.Base" ] map: [ "enum.SolutionContainerLayers.Base" ]
- state: fill-1 - state: fill-1
map: [ "enum.SolutionContainerLayers.Fill" ] map: [ "enum.SolutionContainerLayers.Fill" ]
@@ -169,8 +171,8 @@
visuals: visuals:
enum.OpenableVisuals.Opened: enum.OpenableVisuals.Opened:
enum.OpenableVisuals.Layer: enum.OpenableVisuals.Layer:
True: {state: "icon_open"} True: {state: "icon_open"} # lid off
False: {state: "icon_empty"} False: {state: "icon_empty"} # lid on
- type: Sprite - type: Sprite
layers: layers:
- state: icon_empty - state: icon_empty

View File

@@ -106,7 +106,7 @@
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/alco-bottle.rsi sprite: Objects/Consumable/Drinks/alco-bottle.rsi
layers: layers:
- state: icon_blue # todo add "icon_empty" state - state: icon_empty
map: ["enum.OpenableVisuals.Layer"] map: ["enum.OpenableVisuals.Layer"]
- state: fill-6 - state: fill-6
map: ["enum.SolutionContainerLayers.Fill"] map: ["enum.SolutionContainerLayers.Fill"]
@@ -260,7 +260,7 @@
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/alco-bottle.rsi sprite: Objects/Consumable/Drinks/alco-bottle.rsi
layers: layers:
- state: icon_green # todo icon_empty - state: icon_empty
map: ["enum.OpenableVisuals.Layer"] map: ["enum.OpenableVisuals.Layer"]
- state: fill-6 - state: fill-6
map: ["enum.SolutionContainerLayers.Fill"] map: ["enum.SolutionContainerLayers.Fill"]

View File

@@ -9,7 +9,7 @@
solutions: solutions:
drink: drink:
maxVol: 30 maxVol: 30
grindable: grindable: &grindable
reagents: # 5u -> 1/2 steel sheet (10u) reagents: # 5u -> 1/2 steel sheet (10u)
- ReagentId: Aluminium # Fun fact: soda can makeup is approx. 75% aluminium and 25% tin/iron. - ReagentId: Aluminium # Fun fact: soda can makeup is approx. 75% aluminium and 25% tin/iron.
Quantity: 4 Quantity: 4
@@ -51,12 +51,7 @@
reagents: reagents:
- ReagentId: Cola - ReagentId: Cola
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Tag - type: Tag
tags: tags:
- Cola - Cola
@@ -76,12 +71,7 @@
solutions: solutions:
drink: drink:
maxVol: 30 maxVol: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Tag - type: Tag
tags: tags:
- Cola - Cola
@@ -101,12 +91,7 @@
reagents: reagents:
- ReagentId: IcedTea - ReagentId: IcedTea
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/ice_tea_can.rsi sprite: Objects/Consumable/Drinks/ice_tea_can.rsi
- type: Item - type: Item
@@ -125,12 +110,7 @@
reagents: reagents:
- ReagentId: LemonLime - ReagentId: LemonLime
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/lemon-lime.rsi sprite: Objects/Consumable/Drinks/lemon-lime.rsi
- type: Item - type: Item
@@ -149,12 +129,7 @@
reagents: reagents:
- ReagentId: LemonLimeCranberry - ReagentId: LemonLimeCranberry
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/lemon-lime-cranberry.rsi sprite: Objects/Consumable/Drinks/lemon-lime-cranberry.rsi
- type: Item - type: Item
@@ -206,12 +181,7 @@
reagents: reagents:
- ReagentId: GrapeSoda - ReagentId: GrapeSoda
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/purple_can.rsi sprite: Objects/Consumable/Drinks/purple_can.rsi
- type: Item - type: Item
@@ -230,12 +200,7 @@
reagents: reagents:
- ReagentId: RootBeer - ReagentId: RootBeer
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/rootbeer.rsi sprite: Objects/Consumable/Drinks/rootbeer.rsi
- type: Item - type: Item
@@ -258,12 +223,7 @@
reagents: reagents:
- ReagentId: SodaWater - ReagentId: SodaWater
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/sodawater.rsi sprite: Objects/Consumable/Drinks/sodawater.rsi
- type: Item - type: Item
@@ -282,12 +242,7 @@
reagents: reagents:
- ReagentId: SpaceMountainWind - ReagentId: SpaceMountainWind
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/space_mountain_wind.rsi sprite: Objects/Consumable/Drinks/space_mountain_wind.rsi
- type: Item - type: Item
@@ -306,12 +261,7 @@
reagents: reagents:
- ReagentId: SpaceUp - ReagentId: SpaceUp
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/space-up.rsi sprite: Objects/Consumable/Drinks/space-up.rsi
- type: Item - type: Item
@@ -330,12 +280,7 @@
reagents: reagents:
- ReagentId: SolDry - ReagentId: SolDry
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/sol_dry.rsi sprite: Objects/Consumable/Drinks/sol_dry.rsi
- type: Item - type: Item
@@ -354,12 +299,7 @@
reagents: reagents:
- ReagentId: Starkist - ReagentId: Starkist
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/starkist.rsi sprite: Objects/Consumable/Drinks/starkist.rsi
- type: Item - type: Item
@@ -378,12 +318,7 @@
reagents: reagents:
- ReagentId: TonicWater - ReagentId: TonicWater
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/tonic.rsi sprite: Objects/Consumable/Drinks/tonic.rsi
- type: Item - type: Item
@@ -402,12 +337,7 @@
reagents: reagents:
- ReagentId: FourteenLoko - ReagentId: FourteenLoko
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/fourteen_loko.rsi sprite: Objects/Consumable/Drinks/fourteen_loko.rsi
- type: Item - type: Item
@@ -426,12 +356,7 @@
reagents: reagents:
- ReagentId: ChangelingSting - ReagentId: ChangelingSting
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/changelingsting.rsi sprite: Objects/Consumable/Drinks/changelingsting.rsi
- type: Item - type: Item
@@ -450,12 +375,7 @@
reagents: reagents:
- ReagentId: DrGibb - ReagentId: DrGibb
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/dr_gibb.rsi sprite: Objects/Consumable/Drinks/dr_gibb.rsi
- type: Item - type: Item
@@ -478,12 +398,7 @@
Quantity: 20 Quantity: 20
- ReagentId: Ice - ReagentId: Ice
Quantity: 5 Quantity: 5
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/robustnukie.rsi sprite: Objects/Consumable/Drinks/robustnukie.rsi
- type: Item - type: Item
@@ -502,12 +417,7 @@
reagents: reagents:
- ReagentId: EnergyDrink - ReagentId: EnergyDrink
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/energy_drink.rsi sprite: Objects/Consumable/Drinks/energy_drink.rsi
- type: Item - type: Item
@@ -526,12 +436,7 @@
reagents: reagents:
- ReagentId: ShamblersJuice - ReagentId: ShamblersJuice
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/shamblersjuice.rsi sprite: Objects/Consumable/Drinks/shamblersjuice.rsi
- type: Item - type: Item
@@ -550,12 +455,7 @@
reagents: reagents:
- ReagentId: PwrGame - ReagentId: PwrGame
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/pwrgame.rsi sprite: Objects/Consumable/Drinks/pwrgame.rsi
- type: Item - type: Item
@@ -574,12 +474,7 @@
reagents: reagents:
- ReagentId: Beer - ReagentId: Beer
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/beer_can.rsi sprite: Objects/Consumable/Drinks/beer_can.rsi
- type: Item - type: Item
@@ -602,12 +497,7 @@
reagents: reagents:
- ReagentId: Wine - ReagentId: Wine
Quantity: 30 Quantity: 30
grindable: grindable: *grindable
reagents:
- ReagentId: Aluminium
Quantity: 4
- ReagentId: Iron
Quantity: 1
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/wine_can.rsi sprite: Objects/Consumable/Drinks/wine_can.rsi
- type: Item - type: Item

View File

@@ -22,22 +22,16 @@
# A mug is a type of cup.[2] # A mug is a type of cup.[2]
- type: entity - type: entity
abstract: true abstract: true
parent: [ DrinkBaseMaterialPorcelain, DrinkBaseCup ] # todo Should use DrinkVisualsFill, but inheritors have no in-hand and state names are wrong parent: [ DrinkBaseMaterialPorcelain, DrinkBaseCup, DrinkVisualsFill ]
id: DrinkBaseMug id: DrinkBaseMug
name: mug name: mug
description: A mug. description: A mug.
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/mug.rsi sprite: Objects/Consumable/Drinks/mug.rsi
layers:
- state: icon-0
- state: icon-3
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- type: Appearance
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 3 maxFillLevels: 3
fillBaseName: icon- inHandsFillBaseName: null
## Misc Cups ## Misc Cups
@@ -53,18 +47,13 @@
price: 125 price: 125
- type: entity - type: entity
parent: DrinkBaseMug parent: DrinkBaseMug # a teacup is basically a mug
id: DrinkTeacupEmpty id: DrinkTeacupEmpty
name: teacup name: teacup
description: A plain white porcelain teacup. description: A plain white porcelain teacup.
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/teacup.rsi sprite: Objects/Consumable/Drinks/teacup.rsi
layers:
- state: icon-0
- state: icon-4
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 4 maxFillLevels: 4
@@ -76,20 +65,11 @@
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/glass_coupe_shape.rsi sprite: Objects/Consumable/Drinks/glass_coupe_shape.rsi
layers:
- state: icon # todo add "icon_empty" state to match DrinkVisualsFillOverlay
map: [ "enum.SolutionContainerLayers.Base" ]
- state: fill1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- state: icon-front
map: [ "enum.SolutionContainerLayers.Overlay" ]
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
fillBaseName: fill # todo rename to "fill-" to match DrinkVisualsFillOverlay
inHandsMaxFillLevels: 1 inHandsMaxFillLevels: 1
- type: entity - type: entity
parent: [DrinkBaseMaterialCardboard, DrinkBaseCup] # TODO should use DrinkVisualsFill but state names are wrong and no inhand parent: [DrinkBaseMaterialCardboard, DrinkBaseCup, DrinkBaseEmptyTrash, DrinkVisualsFill]
id: DrinkWaterCup id: DrinkWaterCup
name: water cup name: water cup
description: A paper water cup. description: A paper water cup.
@@ -102,22 +82,14 @@
size: Tiny size: Tiny
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/water_cup.rsi sprite: Objects/Consumable/Drinks/water_cup.rsi
layers:
- state: icon-0
- state: icon-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 1 maxFillLevels: 1
fillBaseName: icon- inHandsFillBaseName: null
- type: Tag - type: Tag
tags: tags:
- Trash - Trash
- DrinkCup - DrinkCup
- WhitelistChameleon - WhitelistChameleon
- type: Appearance
- type: TrashOnSolutionEmpty
solution: drink
- type: Clothing - type: Clothing
slots: slots:
- HEAD - HEAD
@@ -240,16 +212,13 @@
- ReagentId: HotCocoa - ReagentId: HotCocoa
Quantity: 20 Quantity: 20
- type: Icon - type: Icon
sprite: Objects/Consumable/Drinks/hot_coco.rsi sprite: Objects/Consumable/Drinks/mug.rsi
state: icon-vend state: icon-vend-brown
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/hot_coco.rsi
layers: layers:
- state: icon-0 - state: icon
- map: ["enum.SolutionContainerLayers.Fill"] - state: fill-3
state: icon-4 map: ["enum.SolutionContainerLayers.Fill"]
- type: SolutionContainerVisuals
maxFillLevels: 4
- type: TrashOnSolutionEmpty - type: TrashOnSolutionEmpty
solution: drink solution: drink
@@ -267,16 +236,13 @@
- ReagentId: Coffee - ReagentId: Coffee
Quantity: 20 Quantity: 20
- type: Icon - type: Icon
sprite: Objects/Consumable/Drinks/hot_coffee.rsi sprite: Objects/Consumable/Drinks/mug.rsi
state: icon-vend state: icon-vend-brown
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/hot_coffee.rsi
layers: layers:
- state: icon-0 - state: icon
- map: ["enum.SolutionContainerLayers.Fill"] - state: fill-3
state: icon-4 map: ["enum.SolutionContainerLayers.Fill"]
- type: SolutionContainerVisuals
maxFillLevels: 4
- type: TrashOnSolutionEmpty - type: TrashOnSolutionEmpty
solution: drink solution: drink
@@ -293,16 +259,17 @@
reagents: reagents:
- ReagentId: CafeLatte - ReagentId: CafeLatte
Quantity: 20 Quantity: 20
- type: Icon
sprite: Objects/Consumable/Drinks/cafe_latte.rsi
state: icon-vend
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/cafe_latte.rsi sprite: Objects/Consumable/Drinks/cafe_latte.rsi
layers: layers:
- state: icon_empty - state: icon
- state: fill-1 - state: fill-1
map: ["enum.SolutionContainerLayers.Fill"] map: ["enum.SolutionContainerLayers.Fill"]
- type: Appearance
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 1 maxFillLevels: 1
fillBaseName: fill-
changeColor: false changeColor: false
- type: TrashOnSolutionEmpty - type: TrashOnSolutionEmpty
solution: drink solution: drink

View File

@@ -8,9 +8,9 @@
collection: packetOpenSounds collection: packetOpenSounds
- type: Sprite - type: Sprite
layers: layers:
- state: icon - state: icon_empty
map: ["enum.OpenableVisuals.Layer"] map: ["enum.OpenableVisuals.Layer"]
- state: fill6 - state: fill-6
map: [ "enum.SolutionContainerLayers.Fill" ] # already has liquid, so no visible: false map: [ "enum.SolutionContainerLayers.Fill" ] # already has liquid, so no visible: false
- state: icon-front - state: icon-front
map: [ "enum.SolutionContainerLayers.Overlay" ] map: [ "enum.SolutionContainerLayers.Overlay" ]
@@ -20,13 +20,6 @@
maxVol: 30 maxVol: 30
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 6 maxFillLevels: 6
fillBaseName: fill # TODO rename to "fill-"
- type: GenericVisualizer
visuals:
enum.OpenableVisuals.Opened:
enum.OpenableVisuals.Layer:
True: {state: "icon_open"}
False: {state: "icon"}
- type: TrashOnSolutionEmpty - type: TrashOnSolutionEmpty
solution: drink solution: drink
@@ -97,8 +90,6 @@
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/jar_what.rsi sprite: Objects/Consumable/Drinks/jar_what.rsi
- type: ExaminableSolution
solution: drink
- type: FitsInDispenser - type: FitsInDispenser
solution: drink solution: drink
- type: Tag - type: Tag

View File

@@ -4,35 +4,23 @@
# Transformable container - normal glass # Transformable container - normal glass
- type: entity - type: entity
parent: [DrinkBaseMaterialGlass, DrinkBaseCup] # todo parent to DrinkVisualsFillOverlay after in-hands are added parent: [DrinkBaseMaterialGlass, DrinkBaseCup, DrinkVisualsFillOverlay]
id: DrinkGlass id: DrinkGlass
name: metamorphic glass name: metamorphic glass
description: A metamorphic glass that automagically turns into a glass appropriate for the drink within. There's a sanded off patent number on the bottom. description: A metamorphic glass that automagically turns into a glass appropriate for the drink within. There's a sanded off patent number on the bottom.
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/glass_clear.rsi sprite: Objects/Consumable/Drinks/glass_clear.rsi
layers:
- state: icon # TODO add "icon_empty" state to match "DrinkVisualsFillOverlay"
map: [ "enum.SolutionContainerLayers.Base" ]
- state: fill1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- state: icon-front
map: [ "enum.SolutionContainerLayers.Overlay" ]
- type: Appearance
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
drink: drink:
maxVol: 30 maxVol: 30
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 9 maxFillLevels: 9
fillBaseName: fill # todo rename to "fill-", add in-hands, then add parent "DrinkVisualsFillOverlay"
metamorphic: true metamorphic: true
metamorphicDefaultSprite: metamorphicDefaultSprite:
sprite: Objects/Consumable/Drinks/glass_clear.rsi sprite: Objects/Consumable/Drinks/glass_clear.rsi
state: icon state: icon
inHandsMaxFillLevels: 3
inHandsFillBaseName: -fill-
- type: Tag - type: Tag
tags: tags:
- DrinkCup # Do these tags - DrinkCup # Do these tags
@@ -47,14 +35,6 @@
components: components:
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/jar.rsi sprite: Objects/Consumable/Drinks/jar.rsi
layers:
- state: icon
map: [ "enum.SolutionContainerLayers.Base" ]
- state: fill1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- state: icon-front
map: [ "enum.SolutionContainerLayers.Overlay" ]
- type: SolutionContainerManager - type: SolutionContainerManager
solutions: solutions:
drink: drink:

View File

@@ -12,17 +12,8 @@
size: Tiny size: Tiny
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/shotglass.rsi sprite: Objects/Consumable/Drinks/shotglass.rsi
layers:
- state: icon # TODO add "icon_empty" state to match "DrinkVisualsFillOverlay"
map: [ "enum.SolutionContainerLayers.Base" ]
- state: fill1
map: [ "enum.SolutionContainerLayers.Fill" ]
visible: false
- state: icon-front
map: [ "enum.SolutionContainerLayers.Overlay" ]
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 2 maxFillLevels: 2
fillBaseName: fill # TODO rename to "fill-" to match "DrinkVisualsFillOverlay"
inHandsMaxFillLevels: 1 inHandsMaxFillLevels: 1
- type: FitsInDispenser - type: FitsInDispenser
solution: drink solution: drink
@@ -184,11 +175,6 @@
maxVol: 60 maxVol: 60
- type: Sprite - type: Sprite
sprite: Objects/Consumable/Drinks/pitcher.rsi sprite: Objects/Consumable/Drinks/pitcher.rsi
layers:
- state: icon # TODO add "icon_empty" state to match "DrinkVisualsFill"
- state: fill-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- type: SolutionContainerVisuals - type: SolutionContainerVisuals
maxFillLevels: 6 maxFillLevels: 6
inHandsMaxFillLevels: 2 inHandsMaxFillLevels: 2

View File

@@ -96,7 +96,7 @@
color: "#664300" color: "#664300"
metamorphicSprite: metamorphicSprite:
sprite: Objects/Consumable/Drinks/cafe_latte.rsi sprite: Objects/Consumable/Drinks/cafe_latte.rsi
state: icon_empty state: icon
metamorphicMaxFillLevels: 1 metamorphicMaxFillLevels: 1
metamorphicFillBaseName: fill- metamorphicFillBaseName: fill-
metamorphicChangeColor: false metamorphicChangeColor: false

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

View File

@@ -12,9 +12,6 @@
{ {
"name": "icon" "name": "icon"
}, },
{
"name": "icon_empty"
},
{ {
"name": "fill-1" "name": "fill-1"
}, },
@@ -25,6 +22,9 @@
{ {
"name": "inhand-left", "name": "inhand-left",
"directions": 4 "directions": 4
},
{
"name": "icon-vend"
} }
] ]
} }

View File

@@ -14,31 +14,31 @@
"name": "icon-front" "name": "icon-front"
}, },
{ {
"name": "fill1" "name": "fill-1"
}, },
{ {
"name": "fill2" "name": "fill-2"
}, },
{ {
"name": "fill3" "name": "fill-3"
}, },
{ {
"name": "fill4" "name": "fill-4"
}, },
{ {
"name": "fill5" "name": "fill-5"
}, },
{ {
"name": "fill6" "name": "fill-6"
}, },
{ {
"name": "fill7" "name": "fill-7"
}, },
{ {
"name": "fill8" "name": "fill-8"
}, },
{ {
"name": "fill9" "name": "fill-9"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

@@ -14,19 +14,19 @@
"name": "icon-front" "name": "icon-front"
}, },
{ {
"name": "fill1" "name": "fill-1"
}, },
{ {
"name": "fill2" "name": "fill-2"
}, },
{ {
"name": "fill3" "name": "fill-3"
}, },
{ {
"name": "fill4" "name": "fill-4"
}, },
{ {
"name": "fill5" "name": "fill-5"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

@@ -8,7 +8,7 @@
"copyright": "Created by discord: brainfood#7460 / github: brainfood1183. Inhands by Tiniest Shark (Github)", "copyright": "Created by discord: brainfood#7460 / github: brainfood1183. Inhands by Tiniest Shark (Github)",
"states": [ "states": [
{ {
"name": "icon" "name": "icon_empty"
}, },
{ {
"name": "icon_open" "name": "icon_open"
@@ -17,22 +17,22 @@
"name": "icon-front" "name": "icon-front"
}, },
{ {
"name": "fill1" "name": "fill-1"
}, },
{ {
"name": "fill2" "name": "fill-2"
}, },
{ {
"name": "fill3" "name": "fill-3"
}, },
{ {
"name": "fill4" "name": "fill-4"
}, },
{ {
"name": "fill5" "name": "fill-5"
}, },
{ {
"name": "fill6" "name": "fill-6"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

View File

@@ -1,28 +0,0 @@
{
"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-0"
},
{
"name": "icon-1"
},
{
"name": "icon-2"
},
{
"name": "icon-3"
},
{
"name": "icon-4"
},
{
"name": "icon-vend"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

View File

@@ -1,28 +0,0 @@
{
"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-0"
},
{
"name": "icon-1"
},
{
"name": "icon-2"
},
{
"name": "icon-3"
},
{
"name": "icon-4"
},
{
"name": "icon-vend"
}
]
}

View File

Before

Width:  |  Height:  |  Size: 116 B

After

Width:  |  Height:  |  Size: 116 B

View File

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 141 B

View File

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 148 B

View File

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

View File

Before

Width:  |  Height:  |  Size: 152 B

After

Width:  |  Height:  |  Size: 152 B

View File

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View File

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

View File

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

View File

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

View File

@@ -14,31 +14,31 @@
"name": "icon-front" "name": "icon-front"
}, },
{ {
"name": "fill1" "name": "fill-1"
}, },
{ {
"name": "fill2" "name": "fill-2"
}, },
{ {
"name": "fill3" "name": "fill-3"
}, },
{ {
"name": "fill4" "name": "fill-4"
}, },
{ {
"name": "fill5" "name": "fill-5"
}, },
{ {
"name": "fill6" "name": "fill-6"
}, },
{ {
"name": "fill7" "name": "fill-7"
}, },
{ {
"name": "fill8" "name": "fill-8"
}, },
{ {
"name": "fill9" "name": "fill-9"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

@@ -8,7 +8,7 @@
"copyright": "Created by discord: brainfood#7460 / github: brainfood1183. Inhands by Tiniest Shark (Github)", "copyright": "Created by discord: brainfood#7460 / github: brainfood1183. Inhands by Tiniest Shark (Github)",
"states": [ "states": [
{ {
"name": "icon" "name": "icon_empty"
}, },
{ {
"name": "icon_open" "name": "icon_open"
@@ -17,22 +17,22 @@
"name": "icon-front" "name": "icon-front"
}, },
{ {
"name": "fill1" "name": "fill-1"
}, },
{ {
"name": "fill2" "name": "fill-2"
}, },
{ {
"name": "fill3" "name": "fill-3"
}, },
{ {
"name": "fill4" "name": "fill-4"
}, },
{ {
"name": "fill5" "name": "fill-5"
}, },
{ {
"name": "fill6" "name": "fill-6"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

Before

Width:  |  Height:  |  Size: 511 B

After

Width:  |  Height:  |  Size: 511 B

View File

Before

Width:  |  Height:  |  Size: 545 B

After

Width:  |  Height:  |  Size: 545 B

View File

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 543 B

View File

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

View File

@@ -8,16 +8,16 @@
"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)",
"states": [ "states": [
{ {
"name": "icon-0" "name": "icon"
}, },
{ {
"name": "icon-1" "name": "fill-1"
}, },
{ {
"name": "icon-2" "name": "fill-2"
}, },
{ {
"name": "icon-3" "name": "fill-3"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",
@@ -26,6 +26,9 @@
{ {
"name": "inhand-right", "name": "inhand-right",
"directions": 4 "directions": 4
},
{
"name": "icon-vend-brown"
} }
] ]
} }

View File

@@ -8,16 +8,16 @@
"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)",
"states": [ "states": [
{ {
"name": "icon-0" "name": "icon"
}, },
{ {
"name": "icon-1" "name": "fill-1"
}, },
{ {
"name": "icon-2" "name": "fill-2"
}, },
{ {
"name": "icon-3" "name": "fill-3"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 303 B

View File

@@ -8,16 +8,16 @@
"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)",
"states": [ "states": [
{ {
"name": "icon-0" "name": "icon"
}, },
{ {
"name": "icon-1" "name": "fill-1"
}, },
{ {
"name": "icon-2" "name": "fill-2"
}, },
{ {
"name": "icon-3" "name": "fill-3"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

Before

Width:  |  Height:  |  Size: 511 B

After

Width:  |  Height:  |  Size: 511 B

View File

Before

Width:  |  Height:  |  Size: 545 B

After

Width:  |  Height:  |  Size: 545 B

View File

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 543 B

View File

Before

Width:  |  Height:  |  Size: 368 B

After

Width:  |  Height:  |  Size: 368 B

View File

@@ -8,16 +8,16 @@
"copyright": "https://github.com/unitystation/unitystation/blob/221bbcc50edf4e63dc71ac6fd5152664a6b6745a/UnityProject/Assets/Textures/items/drinks/mug_gromit.png | Created By https://github.com/ksivte, inhands and modification by TiniestShark (github)", "copyright": "https://github.com/unitystation/unitystation/blob/221bbcc50edf4e63dc71ac6fd5152664a6b6745a/UnityProject/Assets/Textures/items/drinks/mug_gromit.png | Created By https://github.com/ksivte, inhands and modification by TiniestShark (github)",
"states": [ "states": [
{ {
"name": "icon-0" "name": "icon"
}, },
{ {
"name": "icon-1" "name": "fill-1"
}, },
{ {
"name": "icon-2" "name": "fill-2"
}, },
{ {
"name": "icon-3" "name": "fill-3"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

@@ -8,16 +8,16 @@
"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)",
"states": [ "states": [
{ {
"name": "icon-0" "name": "icon"
}, },
{ {
"name": "icon-1" "name": "fill-1"
}, },
{ {
"name": "icon-2" "name": "fill-2"
}, },
{ {
"name": "icon-3" "name": "fill-3"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

View File

@@ -8,16 +8,16 @@
"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)",
"states": [ "states": [
{ {
"name": "icon-0" "name": "icon"
}, },
{ {
"name": "icon-1" "name": "fill-1"
}, },
{ {
"name": "icon-2" "name": "fill-2"
}, },
{ {
"name": "icon-3" "name": "fill-3"
}, },
{ {
"name": "inhand-left", "name": "inhand-left",

Some files were not shown because too many files have changed in this diff Show More