Add water cups to water coolers (#22073)

* add water cup bin to water cooler

* Fix punctuation, and add proper components/tags on init

* I forgor and refactoring event construction
This commit is contained in:
Tom Richardson
2023-12-06 08:47:20 +11:00
committed by GitHub
parent 09a78efc4c
commit f11d94eb84
5 changed files with 59 additions and 11 deletions

View File

@@ -309,12 +309,6 @@
name: water cup
description: A paper water cup.
components:
- type: SolutionContainerManager
solutions:
drink:
reagents:
- ReagentId: Water
Quantity: 20
- type: Drink
- type: Sprite
sprite: Objects/Consumable/Drinks/water_cup.rsi
@@ -326,5 +320,8 @@
- type: SolutionContainerVisuals
maxFillLevels: 1
fillBaseName: icon-
- type: Tag
tags:
- Trash
- type: TrashOnSolutionEmpty
solution: drink

View File

@@ -127,6 +127,27 @@
reagents:
- ReagentId: Water
Quantity: 500
- type: ContainerContainer
containers:
bin-container: !type:Container
- type: Bin
initialContents:
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
- DrinkWaterCup
whitelist:
requireAll: true
components:
- FitsInDispenser
tags:
- Trash
- type: entity
parent: StorageTank