]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[tweak] More drinks in Solar's Best Hot Drinks (#15701)
authorlzk228 <124214523+lzk228@users.noreply.github.com>
Mon, 24 Apr 2023 02:27:28 +0000 (05:27 +0300)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 02:27:28 +0000 (20:27 -0600)
* coffee

* desc

* 10 -> 5

Resources/Prototypes/Catalog/VendingMachines/Inventories/coffee.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cups.yml

index ff2f34485613a7056ea72a071f26b58963ecc65b..acb15b217cd285dd4cc4f347a9da14f60546bf2d 100644 (file)
@@ -1,5 +1,9 @@
 - type: vendingMachineInventory
   id: HotDrinksMachineInventory
   startingInventory:
-    DrinkHotCoffee: 10
-    DrinkTeacup: 10
+    DrinkHotCoffee: 5
+    DrinkCafeLatte: 5
+    DrinkTeacup: 5
+    DrinkGreenTea: 5
+  emaggedInventory:
+    DrinkNothing: 2
index c91593bfc2fe8748c716d11fbedd8329ed5f7f33..7b7309e30401f12b155e4a9902bae0db72ba485f 100644 (file)
   - type: TrashOnEmpty
     solution: drink
 
+- type: entity
+  parent: DrinkBaseCup
+  id: DrinkCafeLatte
+  name: Cafe latte
+  description: Light coffee-creamy drink. It has latte art on it.
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        reagents:
+        - ReagentId: CafeLatte
+          Quantity: 20
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/hot_coffee.rsi
+    layers:
+      - state: icon-0
+      - map: ["enum.SolutionContainerLayers.Fill"]
+        state: icon-4
+  - type: Appearance
+  - type: SolutionContainerVisuals
+    maxFillLevels: 4
+    fillBaseName: icon-
+  - type: TrashOnEmpty
+    solution: drink
+
 - type: entity
   parent: DrinkBaseCup
   id: DrinkTeacup
   - type: TrashOnEmpty
     solution: drink
 
+- type: entity
+  parent: DrinkBaseCup
+  id: DrinkGreenTea
+  name: Green tea
+  description: A plain white porcelain teacup.
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        reagents:
+        - ReagentId: GreenTea
+          Quantity: 20
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/teacup.rsi
+    layers:
+      - state: icon-0
+      - map: ["enum.SolutionContainerLayers.Fill"]
+        state: icon-4
+  - type: Appearance
+  - type: SolutionContainerVisuals
+    maxFillLevels: 4
+    fillBaseName: icon-
+  - type: TrashOnEmpty
+    solution: drink
+
+- type: entity
+  parent: DrinkBaseCup
+  id: DrinkNothing
+  name: Nothing
+  description: Is that cup empty?
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        reagents:
+        - ReagentId: Nothing
+          Quantity: 20
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/hot_coffee.rsi
+    layers:
+      - state: icon-0
+      - map: ["enum.SolutionContainerLayers.Fill"]
+        state: icon-4
+  - type: Appearance
+  - type: SolutionContainerVisuals
+    maxFillLevels: 4
+    fillBaseName: icon-
+  - type: TrashOnEmpty
+    solution: drink
+
 - type: entity
   parent: DrinkBaseCup
   id: DrinkLean