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>
@@ -91,7 +91,7 @@
|
||||
# map: ["enum.OpenableVisuals.Layer"]
|
||||
|
||||
## 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
|
||||
- type: entity
|
||||
@@ -103,13 +103,14 @@
|
||||
visuals:
|
||||
enum.OpenableVisuals.Opened:
|
||||
enum.OpenableVisuals.Layer:
|
||||
True: {state: "icon_open"}
|
||||
False: {state: "icon"}
|
||||
True: {state: "icon_open"} # lid off
|
||||
False: {state: "icon"} # lid on
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
map: ["enum.OpenableVisuals.Layer"]
|
||||
- type: ExaminableSolution
|
||||
solution: *sol
|
||||
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
|
||||
|
||||
@@ -121,11 +122,12 @@
|
||||
- type: Appearance
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon_empty
|
||||
- state: icon
|
||||
- state: fill-1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: SolutionContainerVisuals
|
||||
solutionName: *sol
|
||||
maxFillLevels: 5
|
||||
fillBaseName: fill-
|
||||
inHandsMaxFillLevels: 3
|
||||
@@ -139,7 +141,7 @@
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon_empty
|
||||
- state: icon
|
||||
map: [ "enum.SolutionContainerLayers.Base" ]
|
||||
- state: fill-1
|
||||
map: [ "enum.SolutionContainerLayers.Fill" ]
|
||||
@@ -169,8 +171,8 @@
|
||||
visuals:
|
||||
enum.OpenableVisuals.Opened:
|
||||
enum.OpenableVisuals.Layer:
|
||||
True: {state: "icon_open"}
|
||||
False: {state: "icon_empty"}
|
||||
True: {state: "icon_open"} # lid off
|
||||
False: {state: "icon_empty"} # lid on
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon_empty
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/alco-bottle.rsi
|
||||
layers:
|
||||
- state: icon_blue # todo add "icon_empty" state
|
||||
- state: icon_empty
|
||||
map: ["enum.OpenableVisuals.Layer"]
|
||||
- state: fill-6
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
@@ -260,7 +260,7 @@
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/alco-bottle.rsi
|
||||
layers:
|
||||
- state: icon_green # todo icon_empty
|
||||
- state: icon_empty
|
||||
map: ["enum.OpenableVisuals.Layer"]
|
||||
- state: fill-6
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
solutions:
|
||||
drink:
|
||||
maxVol: 30
|
||||
grindable:
|
||||
grindable: &grindable
|
||||
reagents: # 5u -> 1/2 steel sheet (10u)
|
||||
- ReagentId: Aluminium # Fun fact: soda can makeup is approx. 75% aluminium and 25% tin/iron.
|
||||
Quantity: 4
|
||||
@@ -51,12 +51,7 @@
|
||||
reagents:
|
||||
- ReagentId: Cola
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Tag
|
||||
tags:
|
||||
- Cola
|
||||
@@ -76,12 +71,7 @@
|
||||
solutions:
|
||||
drink:
|
||||
maxVol: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Tag
|
||||
tags:
|
||||
- Cola
|
||||
@@ -101,12 +91,7 @@
|
||||
reagents:
|
||||
- ReagentId: IcedTea
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/ice_tea_can.rsi
|
||||
- type: Item
|
||||
@@ -125,12 +110,7 @@
|
||||
reagents:
|
||||
- ReagentId: LemonLime
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/lemon-lime.rsi
|
||||
- type: Item
|
||||
@@ -149,12 +129,7 @@
|
||||
reagents:
|
||||
- ReagentId: LemonLimeCranberry
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/lemon-lime-cranberry.rsi
|
||||
- type: Item
|
||||
@@ -206,12 +181,7 @@
|
||||
reagents:
|
||||
- ReagentId: GrapeSoda
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/purple_can.rsi
|
||||
- type: Item
|
||||
@@ -230,12 +200,7 @@
|
||||
reagents:
|
||||
- ReagentId: RootBeer
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/rootbeer.rsi
|
||||
- type: Item
|
||||
@@ -258,12 +223,7 @@
|
||||
reagents:
|
||||
- ReagentId: SodaWater
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/sodawater.rsi
|
||||
- type: Item
|
||||
@@ -282,12 +242,7 @@
|
||||
reagents:
|
||||
- ReagentId: SpaceMountainWind
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/space_mountain_wind.rsi
|
||||
- type: Item
|
||||
@@ -306,12 +261,7 @@
|
||||
reagents:
|
||||
- ReagentId: SpaceUp
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/space-up.rsi
|
||||
- type: Item
|
||||
@@ -330,12 +280,7 @@
|
||||
reagents:
|
||||
- ReagentId: SolDry
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/sol_dry.rsi
|
||||
- type: Item
|
||||
@@ -354,12 +299,7 @@
|
||||
reagents:
|
||||
- ReagentId: Starkist
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/starkist.rsi
|
||||
- type: Item
|
||||
@@ -378,12 +318,7 @@
|
||||
reagents:
|
||||
- ReagentId: TonicWater
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/tonic.rsi
|
||||
- type: Item
|
||||
@@ -402,12 +337,7 @@
|
||||
reagents:
|
||||
- ReagentId: FourteenLoko
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/fourteen_loko.rsi
|
||||
- type: Item
|
||||
@@ -426,12 +356,7 @@
|
||||
reagents:
|
||||
- ReagentId: ChangelingSting
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/changelingsting.rsi
|
||||
- type: Item
|
||||
@@ -450,12 +375,7 @@
|
||||
reagents:
|
||||
- ReagentId: DrGibb
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/dr_gibb.rsi
|
||||
- type: Item
|
||||
@@ -478,12 +398,7 @@
|
||||
Quantity: 20
|
||||
- ReagentId: Ice
|
||||
Quantity: 5
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/robustnukie.rsi
|
||||
- type: Item
|
||||
@@ -502,12 +417,7 @@
|
||||
reagents:
|
||||
- ReagentId: EnergyDrink
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/energy_drink.rsi
|
||||
- type: Item
|
||||
@@ -526,12 +436,7 @@
|
||||
reagents:
|
||||
- ReagentId: ShamblersJuice
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/shamblersjuice.rsi
|
||||
- type: Item
|
||||
@@ -550,12 +455,7 @@
|
||||
reagents:
|
||||
- ReagentId: PwrGame
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/pwrgame.rsi
|
||||
- type: Item
|
||||
@@ -574,12 +474,7 @@
|
||||
reagents:
|
||||
- ReagentId: Beer
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/beer_can.rsi
|
||||
- type: Item
|
||||
@@ -602,12 +497,7 @@
|
||||
reagents:
|
||||
- ReagentId: Wine
|
||||
Quantity: 30
|
||||
grindable:
|
||||
reagents:
|
||||
- ReagentId: Aluminium
|
||||
Quantity: 4
|
||||
- ReagentId: Iron
|
||||
Quantity: 1
|
||||
grindable: *grindable
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/wine_can.rsi
|
||||
- type: Item
|
||||
|
||||
@@ -22,22 +22,16 @@
|
||||
# A mug is a type of cup.[2]
|
||||
- type: entity
|
||||
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
|
||||
name: mug
|
||||
description: A mug.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/mug.rsi
|
||||
layers:
|
||||
- state: icon-0
|
||||
- state: icon-3
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: Appearance
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 3
|
||||
fillBaseName: icon-
|
||||
inHandsFillBaseName: null
|
||||
|
||||
## Misc Cups
|
||||
|
||||
@@ -53,18 +47,13 @@
|
||||
price: 125
|
||||
|
||||
- type: entity
|
||||
parent: DrinkBaseMug
|
||||
parent: DrinkBaseMug # a teacup is basically a mug
|
||||
id: DrinkTeacupEmpty
|
||||
name: teacup
|
||||
description: A plain white porcelain teacup.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/teacup.rsi
|
||||
layers:
|
||||
- state: icon-0
|
||||
- state: icon-4
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 4
|
||||
|
||||
@@ -76,20 +65,11 @@
|
||||
components:
|
||||
- type: Sprite
|
||||
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
|
||||
fillBaseName: fill # todo rename to "fill-" to match DrinkVisualsFillOverlay
|
||||
inHandsMaxFillLevels: 1
|
||||
|
||||
- type: entity
|
||||
parent: [DrinkBaseMaterialCardboard, DrinkBaseCup] # TODO should use DrinkVisualsFill but state names are wrong and no inhand
|
||||
parent: [DrinkBaseMaterialCardboard, DrinkBaseCup, DrinkBaseEmptyTrash, DrinkVisualsFill]
|
||||
id: DrinkWaterCup
|
||||
name: water cup
|
||||
description: A paper water cup.
|
||||
@@ -102,22 +82,14 @@
|
||||
size: Tiny
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/water_cup.rsi
|
||||
layers:
|
||||
- state: icon-0
|
||||
- state: icon-1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
visible: false
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 1
|
||||
fillBaseName: icon-
|
||||
inHandsFillBaseName: null
|
||||
- type: Tag
|
||||
tags:
|
||||
- Trash
|
||||
- DrinkCup
|
||||
- WhitelistChameleon
|
||||
- type: Appearance
|
||||
- type: TrashOnSolutionEmpty
|
||||
solution: drink
|
||||
- type: Clothing
|
||||
slots:
|
||||
- HEAD
|
||||
@@ -240,16 +212,13 @@
|
||||
- ReagentId: HotCocoa
|
||||
Quantity: 20
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Drinks/hot_coco.rsi
|
||||
state: icon-vend
|
||||
sprite: Objects/Consumable/Drinks/mug.rsi
|
||||
state: icon-vend-brown
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/hot_coco.rsi
|
||||
layers:
|
||||
- state: icon-0
|
||||
- map: ["enum.SolutionContainerLayers.Fill"]
|
||||
state: icon-4
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 4
|
||||
- state: icon
|
||||
- state: fill-3
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
- type: TrashOnSolutionEmpty
|
||||
solution: drink
|
||||
|
||||
@@ -267,16 +236,13 @@
|
||||
- ReagentId: Coffee
|
||||
Quantity: 20
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Drinks/hot_coffee.rsi
|
||||
state: icon-vend
|
||||
sprite: Objects/Consumable/Drinks/mug.rsi
|
||||
state: icon-vend-brown
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/hot_coffee.rsi
|
||||
layers:
|
||||
- state: icon-0
|
||||
- map: ["enum.SolutionContainerLayers.Fill"]
|
||||
state: icon-4
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 4
|
||||
- state: icon
|
||||
- state: fill-3
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
- type: TrashOnSolutionEmpty
|
||||
solution: drink
|
||||
|
||||
@@ -293,16 +259,17 @@
|
||||
reagents:
|
||||
- ReagentId: CafeLatte
|
||||
Quantity: 20
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Drinks/cafe_latte.rsi
|
||||
state: icon-vend
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/cafe_latte.rsi
|
||||
layers:
|
||||
- state: icon_empty
|
||||
- state: fill-1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
- type: Appearance
|
||||
- state: icon
|
||||
- state: fill-1
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 1
|
||||
fillBaseName: fill-
|
||||
changeColor: false
|
||||
- type: TrashOnSolutionEmpty
|
||||
solution: drink
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
collection: packetOpenSounds
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
- state: icon_empty
|
||||
map: ["enum.OpenableVisuals.Layer"]
|
||||
- state: fill6
|
||||
- state: fill-6
|
||||
map: [ "enum.SolutionContainerLayers.Fill" ] # already has liquid, so no visible: false
|
||||
- state: icon-front
|
||||
map: [ "enum.SolutionContainerLayers.Overlay" ]
|
||||
@@ -20,13 +20,6 @@
|
||||
maxVol: 30
|
||||
- type: SolutionContainerVisuals
|
||||
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
|
||||
solution: drink
|
||||
|
||||
@@ -97,8 +90,6 @@
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Drinks/jar_what.rsi
|
||||
- type: ExaminableSolution
|
||||
solution: drink
|
||||
- type: FitsInDispenser
|
||||
solution: drink
|
||||
- type: Tag
|
||||
|
||||
@@ -4,35 +4,23 @@
|
||||
|
||||
# Transformable container - normal glass
|
||||
- type: entity
|
||||
parent: [DrinkBaseMaterialGlass, DrinkBaseCup] # todo parent to DrinkVisualsFillOverlay after in-hands are added
|
||||
parent: [DrinkBaseMaterialGlass, DrinkBaseCup, DrinkVisualsFillOverlay]
|
||||
id: DrinkGlass
|
||||
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.
|
||||
components:
|
||||
- type: Sprite
|
||||
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
|
||||
solutions:
|
||||
drink:
|
||||
maxVol: 30
|
||||
- type: SolutionContainerVisuals
|
||||
maxFillLevels: 9
|
||||
fillBaseName: fill # todo rename to "fill-", add in-hands, then add parent "DrinkVisualsFillOverlay"
|
||||
metamorphic: true
|
||||
metamorphicDefaultSprite:
|
||||
sprite: Objects/Consumable/Drinks/glass_clear.rsi
|
||||
state: icon
|
||||
inHandsMaxFillLevels: 3
|
||||
inHandsFillBaseName: -fill-
|
||||
- type: Tag
|
||||
tags:
|
||||
- DrinkCup # Do these tags
|
||||
@@ -47,14 +35,6 @@
|
||||
components:
|
||||
- type: Sprite
|
||||
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
|
||||
solutions:
|
||||
drink:
|
||||
|
||||
@@ -12,17 +12,8 @@
|
||||
size: Tiny
|
||||
- type: Sprite
|
||||
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
|
||||
maxFillLevels: 2
|
||||
fillBaseName: fill # TODO rename to "fill-" to match "DrinkVisualsFillOverlay"
|
||||
inHandsMaxFillLevels: 1
|
||||
- type: FitsInDispenser
|
||||
solution: drink
|
||||
@@ -184,11 +175,6 @@
|
||||
maxVol: 60
|
||||
- type: Sprite
|
||||
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
|
||||
maxFillLevels: 6
|
||||
inHandsMaxFillLevels: 2
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
color: "#664300"
|
||||
metamorphicSprite:
|
||||
sprite: Objects/Consumable/Drinks/cafe_latte.rsi
|
||||
state: icon_empty
|
||||
state: icon
|
||||
metamorphicMaxFillLevels: 1
|
||||
metamorphicFillBaseName: fill-
|
||||
metamorphicChangeColor: false
|
||||
|
||||
|
After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 293 B |
|
Before Width: | Height: | Size: 293 B |
@@ -12,9 +12,6 @@
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "icon_empty"
|
||||
},
|
||||
{
|
||||
"name": "fill-1"
|
||||
},
|
||||
@@ -25,6 +22,9 @@
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon-vend"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 162 B |
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 163 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
@@ -14,31 +14,31 @@
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
|
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 127 B |
|
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 156 B |
|
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 179 B |
@@ -14,19 +14,19 @@
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
@@ -8,7 +8,7 @@
|
||||
"copyright": "Created by discord: brainfood#7460 / github: brainfood1183. Inhands by Tiniest Shark (Github)",
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
"name": "icon_empty"
|
||||
},
|
||||
{
|
||||
"name": "icon_open"
|
||||
@@ -17,22 +17,22 @@
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 318 B |
|
Before Width: | Height: | Size: 149 B |
|
Before Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 164 B |
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 318 B |
|
Before Width: | Height: | Size: 149 B |
|
Before Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 164 B |
|
Before Width: | Height: | Size: 295 B |
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B |
|
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
|
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 156 B |
@@ -14,31 +14,31 @@
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
@@ -8,7 +8,7 @@
|
||||
"copyright": "Created by discord: brainfood#7460 / github: brainfood1183. Inhands by Tiniest Shark (Github)",
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
"name": "icon_empty"
|
||||
},
|
||||
{
|
||||
"name": "icon_open"
|
||||
@@ -17,22 +17,22 @@
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
|
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 299 B |
@@ -8,16 +8,16 @@
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
|
||||
"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",
|
||||
@@ -26,6 +26,9 @@
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "icon-vend-brown"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
@@ -8,16 +8,16 @@
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
@@ -8,16 +8,16 @@
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 368 B After Width: | Height: | Size: 368 B |
@@ -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)",
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
@@ -8,16 +8,16 @@
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |
|
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
@@ -8,16 +8,16 @@
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, inhands by TiniestShark (github)",
|
||||
"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",
|
||||
|
||||
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 545 B After Width: | Height: | Size: 545 B |