Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update drinks_cups.yml #570

Merged
merged 10 commits into from
Nov 10, 2024
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Base for future bottles
- type: entity
name: Green Bottle
parent: CP14BaseVial
parent: CP14BaseVialFragile
id: CP14GreenBottle
suffix: Empty
categories: [ ForkFiltered ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
- type: entity
parent: DrinkBaseMug
parent: BaseItem
id: CP14DrinkBaseMug
abstract: true
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: Objects/Consumable/Drinks/mug.rsi
layers:
- state: icon-0
- map: ["enum.SolutionContainerLayers.Fill"]
state: icon-3
visible: false
- type: MeleeWeapon
soundNoDamage:
path: "/Audio/Effects/Fluids/splat.ogg"
damage:
types:
Blunt: 0
- type: SolutionContainerManager
solutions:
mug:
maxVol: 10
- type: CP14SolutionTemperature
- type: MixableSolution
solution: mug
- type: FitsInDispenser
solution: mug
- type: RefillableSolution
solution: mug
- type: DrainableSolution
solution: mug
- type: ExaminableSolution
solution: mug
- type: DrawableSolution
solution: mug
- type: InjectableSolution
solution: mug
- type: SolutionItemStatus
solution: mug
- type: TrashOnSolutionEmpty
solution: mug
- type: UserInterface
interfaces:
enum.TransferAmountUiKey.Key:
type: TransferAmountBoundUserInterface
- type: Spillable
solution: mug
- type: Drink
solution: mug
- type: Appearance
- type: Injector
solutionName: mug
injectOnly: false
ignoreMobs: true
minTransferAmount: 1
maxTransferAmount: 10
transferAmount: 1
toggleState: 1 # draw
- type: SolutionContainerVisuals
maxFillLevels: 3
fillBaseName: icon-

- type: entity
parent: CP14DrinkBaseMug
id: CP14MetalBeerMug
name: Metal mug
categories: [ ForkFiltered ]
Expand All @@ -9,7 +72,7 @@
sprite: _CP14/Objects/Consumable/Drinks/beer_mug_4.rsi

- type: entity
parent: DrinkBaseMug
parent: CP14DrinkBaseMug
id: CP14WoodenBeerMug
name: Wooden mug
categories: [ ForkFiltered ]
Expand All @@ -19,7 +82,7 @@
sprite: _CP14/Objects/Consumable/Drinks/beer_mug_1.rsi

- type: entity
parent: DrinkBaseMug
parent: CP14DrinkBaseMug
id: CP14SteelBeerMug
name: Beer mug
categories: [ ForkFiltered ]
Expand All @@ -29,7 +92,7 @@
sprite: _CP14/Objects/Consumable/Drinks/beer_mug_2.rsi

- type: entity
parent: DrinkBaseMug
parent: CP14DrinkBaseMug
id: CP14SteelWoodBeerMug
name: Beer mug
categories: [ ForkFiltered ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
type: TransferAmountBoundUserInterface
- type: Drink
solution: vial
- type: Spillable
solution: vial
- type: Appearance
- type: Damageable
damageContainer: Inorganic
Expand Down
Loading