]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Bartender limited reagents fixup (#24598)
authorHanz <41141796+Hanzdegloker@users.noreply.github.com>
Sat, 27 Jan 2024 17:49:26 +0000 (12:49 -0500)
committerGitHub <noreply@github.com>
Sat, 27 Jan 2024 17:49:26 +0000 (09:49 -0800)
Fixed up bartending after the limited reagents update

Resources/Prototypes/Catalog/Cargo/cargo_materials.yml
Resources/Prototypes/Catalog/Cargo/cargo_service.yml
Resources/Prototypes/Catalog/Fills/Crates/service.yml
Resources/Prototypes/Catalog/Fills/Lockers/service.yml
Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml
Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_bottles.yml
Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/water.rsi/icon.png

index bebc3fc3075d9a75326e6b6e7bc5ffdd1a7c990d..e23a756ca062e16f987ade409befc32a28d1104e 100644 (file)
@@ -87,7 +87,7 @@
   cost: 1500
   category: Materials
   group: market
-  
+
 - type: cargoProduct
   id: MaterialWaterTank
   icon:
index ab9e1c32351255308875e4a206651048ade6c2d1..cc0ee7b996bbd7669db34da3ddcb119c7bc7398b 100644 (file)
   category: Service
   group: market
 
+- type: cargoProduct
+  id: ServiceSodaDispenser
+  icon:
+    sprite: Objects/Consumable/Drinks/generic_jug.rsi
+    state: icon
+  product: CrateServiceSodaDispenser
+  cost: 850
+  category: Service
+  group: market
+
+- type: cargoProduct
+  id: ServiceBoozeDispenser
+  icon:
+    sprite: Objects/Consumable/Drinks/generic_jug.rsi
+    state: icon
+  product: CrateServiceBoozeDispenser
+  cost: 750
+  category: Service
+  group: market
+
 - type: cargoProduct
   id: ServiceBoxes
   icon:
   product: CrateJanitorBiosuit
   cost: 800
   category: Service
-  group: market  
+  group: market
 
 - type: cargoProduct
   id: ServiceFoodCartHot
   product: FoodCartHot
   cost: 2000
   category: Service
-  group: market  
+  group: market
 
 - type: cargoProduct
   id: ServiceFoodCartCold
 
 - type: cargoProduct
   id: ServiceAnimalCarrier
-  icon: 
+  icon:
     sprite: Objects/Storage/petcarrier.rsi
     state: icon
   product: PetCarrier
index f78219d33e7308727590c7fb0a343531cca1c7ce..707a3929db504729b43769f48510dece8fc06408 100644 (file)
       - id: BookHowToSurvive
       - id: BookChemicalCompendium
 
+- type: entity
+  id: CrateServiceSodaDispenser
+  parent: CrateGenericSteel
+  name: soda dispenser refill crate
+  description: Contains refills for soda dispensers.
+  components:
+    - type: StorageFill
+      contents:
+      - id: DrinkCoffeeJug
+      - id: DrinkColaBottleFull
+      - id: DrinkCreamCartonXL
+      - id: DrinkDrGibbJug
+      - id: DrinkEnergyDrinkJug
+      - id: DrinkGreenTeaJug
+      - id: DrinkIceJug
+      - id: DrinkJuiceLimeCartonXL
+      - id: DrinkJuiceOrangeCartonXL
+      - id: DrinkLemonLimeJug
+      - id: DrinkRootBeerJug
+      - id: DrinkSodaWaterBottleFull
+      - id: DrinkSpaceMountainWindBottleFull
+      - id: DrinkSpaceUpBottleFull
+      - id: DrinkSugarJug
+      - id: DrinkTeaJug
+      - id: DrinkTonicWaterBottleFull
+      - id: DrinkWaterMelonJuiceJug
+
+- type: entity
+  id: CrateServiceBoozeDispenser
+  parent: CrateGenericSteel
+  name: booze dispenser refill crate
+  description: Contains refills for booze dispensers.
+  components:
+    - type: StorageFill
+      contents:
+      - id: DrinkAleBottleFullGrowler
+      - id: DrinkBeerGrowler
+      - id: DrinkCoffeeLiqueurBottleFull
+      - id: DrinkCognacBottleFull
+      - id: DrinkGinBottleFull
+      - id: DrinkMeadJug
+      - id: DrinkRumBottleFull
+      - id: DrinkTequilaBottleFull
+      - id: DrinkVermouthBottleFull
+      - id: DrinkVodkaBottleFull
+      - id: DrinkWhiskeyBottleFull
+      - id: DrinkWineBottleFull
+
 - type: entity
   id: CrateServiceBox
   parent: CratePlastic
index ddb77102674808cb3a4f1317fa5972facc62177b..e5dbe2d524148cf657333e23fcb9541e80fb618c 100644 (file)
@@ -9,6 +9,8 @@
       - id: WeaponShotgunDoubleBarreledRubber
       - id: DrinkShaker
       - id: ClothingEyesHudBeer
+      - id: HandLabeler
+        amount: 1
       - id: DrinkBottleBeer
         prob: 0.5
       - id: DrinkBottleBeer
index 62b166ebc16295670cf105761e0d7dd4c09b3e3a..d337d23f2ab075e7f348388c680db58481ef27e1 100644 (file)
@@ -1,43 +1,37 @@
 - type: reagentDispenserInventory
   id: SodaDispenserInventory
   inventory:
-  - DrinkIceJug
   - DrinkCoffeeJug
-  - DrinkCreamCartonXL
-  - DrinkTeaJug
-  - DrinkGreenTeaJug
-  - DrinkIcedTeaJug
   - DrinkColaBottleFull
-  - DrinkSpaceMountainWindBottleFull
+  - DrinkCreamCartonXL
   - DrinkDrGibbJug
+  - DrinkEnergyDrinkJug
+  - DrinkGreenTeaJug
+  - DrinkIceJug
+  - DrinkJuiceLimeCartonXL
+  - DrinkJuiceOrangeCartonXL
+  - DrinkLemonLimeJug
   - DrinkRootBeerJug
-  - DrinkSpaceUpBottleFull
-  - DrinkTonicWaterBottleFull
   - DrinkSodaWaterBottleFull
-  - DrinkLemonLimeJug
+  - DrinkSpaceMountainWindBottleFull
+  - DrinkSpaceUpBottleFull
   - DrinkSugarJug
-  - DrinkJuiceOrangeCartonXL
-  - DrinkJuiceLimeCartonXL
+  - DrinkTeaJug
+  - DrinkTonicWaterBottleFull
   - DrinkWaterMelonJuiceJug
 
 - type: reagentDispenserInventory
   id: BoozeDispenserInventory
   inventory:
-  - DrinkLemonLimeJug
-  - DrinkSugarJug
-  - DrinkJuiceOrangeCartonXL
-  - DrinkJuiceLimeCartonXL
-  - DrinkTonicWaterBottleFull
-  - DrinkSodaWaterBottleFull
+  - DrinkAleBottleFullGrowler
   - DrinkBeerGrowler
   - DrinkCoffeeLiqueurBottleFull
-  - DrinkWhiskeyBottleFull
-  - DrinkWineBottleFull
-  - DrinkVodkaBottleFull
+  - DrinkCognacBottleFull
   - DrinkGinBottleFull
+  - DrinkMeadJug
   - DrinkRumBottleFull
   - DrinkTequilaBottleFull
   - DrinkVermouthBottleFull
-  - DrinkCognacBottleFull
-  - DrinkAleBottleFullGrowler
-  - DrinkMeadJug
+  - DrinkVodkaBottleFull
+  - DrinkWhiskeyBottleFull
+  - DrinkWineBottleFull
index 7c6b1bf78fd0c4191c8a35dc6476f35dfce34249..6c8d9468a2e9c0210c49e46d615c7fdac69c9859 100644 (file)
@@ -7,6 +7,7 @@
     DrinkVacuumFlask: 5
     DrinkFlaskBar: 5
     DrinkShaker: 5
+    CustomDrinkJug: 2 #to allow for custom drinks in the soda/booze dispensers
     DrinkAbsintheBottleFull: 2
     DrinkAleBottleFull: 5
     DrinkBeerBottleFull: 5
index 6c0c719c7ac2707c1a5a6e5aa20fd82821d0e270..b90f9ffa5c34d643e6e510567b81c9558975b568 100644 (file)
@@ -16,7 +16,7 @@
         maxVol: 100
   - type: Sprite
     state: icon
-    sprite: Objects/Consumable/Drinks/water.rsi # fallback to boring water jug
+    sprite: Objects/Consumable/Drinks/generic_jug.rsi # fallback to generic plastic jug
   - type: Item
     size: Normal
   - type: Damageable
         reagents:
         - ReagentId: Cognac
           Quantity: 100
+  - type: Label
+    currentLabel: cognac
   - type: Sprite
     sprite: Objects/Consumable/Drinks/cognacbottle.rsi
 
         reagents:
         - ReagentId: Cola
           Quantity: 100
+  - type: Label
+    currentLabel: cola
   - type: Sprite
     sprite: Objects/Consumable/Drinks/colabottle.rsi
 
         reagents:
         - ReagentId: Gin
           Quantity: 100
+  - type: Label
+    currentLabel: gin
   - type: Sprite
     sprite: Objects/Consumable/Drinks/ginbottle.rsi
 
         reagents:
         - ReagentId: CoffeeLiqueur
           Quantity: 100
+  - type: Label
+    currentLabel: coffee liqueur
   - type: Sprite
     sprite: Objects/Consumable/Drinks/coffeeliqueurbottle.rsi
 
         - ReagentId: SpaceMountainWind
           Quantity: 100
   - type: Drink
+  - type: Label
+    currentLabel: space mountain wind
   - type: Sprite
     sprite: Objects/Consumable/Drinks/space_mountain_wind_bottle.rsi
 
         - ReagentId: SpaceUp
           Quantity: 100
   - type: Drink
+  - type: Label
+    currentLabel: space-up
   - type: Sprite
     sprite: Objects/Consumable/Drinks/space-up_bottle.rsi
 
         reagents:
         - ReagentId: Vodka
           Quantity: 100
+  - type: Label
+    currentLabel: vodka
   - type: Sprite
     sprite: Objects/Consumable/Drinks/vodkabottle.rsi
 
         reagents:
         - ReagentId: Beer
           Quantity: 150
+  - type: Label
+    currentLabel: beer
   - type: Sprite
     sprite: Objects/Consumable/Drinks/beer.rsi
 
+
 - type: entity
   parent: DrinkBottlePlasticBaseFull
   id: DrinkAleBottleFull
         reagents:
         - ReagentId: Ale
           Quantity: 50
+
   - type: Sprite
     sprite: Objects/Consumable/Drinks/alebottle.rsi
 
         reagents:
         - ReagentId: Ale
           Quantity: 150
+  - type: Label
+    currentLabel: ale
   - type: Sprite
     sprite: Objects/Consumable/Drinks/alebottle.rsi
 
         reagents:
         - ReagentId: SodaWater
           Quantity: 150
+  - type: Label
+    currentLabel: soda water
 
 - type: entity
   parent: DrinkWaterBottleFull
         reagents:
         - ReagentId: TonicWater
           Quantity: 150
+  - type: Label
+    currentLabel: tonic water
 
 # Cartons, TODO: this needs to be moved elsewhere eventually, since cartons shouldnt smash into glass shards
 
         - ReagentId: JuiceLime
           Quantity: 150
   - type: Drink
+  - type: Label
+    currentLabel: lime juice
   - type: Sprite
     sprite: Objects/Consumable/Drinks/limejuice.rsi
 
         - ReagentId: JuiceOrange
           Quantity: 150
   - type: Drink
+  - type: Label
+    currentLabel: orange juice
   - type: Sprite
     sprite: Objects/Consumable/Drinks/orangejuice.rsi
 
         - ReagentId: Cream
           Quantity: 150
   - type: Drink
+  - type: Label
+    currentLabel: cream
   - type: Sprite
     sprite: Objects/Consumable/Drinks/cream.rsi
 
         - ReagentId: LemonLime
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: lemon-lime
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: Ice
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: ice
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: Coffee
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: coffee
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: Tea
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: tea
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: GreenTea
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: green tea
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: DrGibb
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: dr gibb
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: RootBeer
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: root beer
 
 - type: entity
   parent: DrinkBottlePlasticBaseFull
         - ReagentId: JuiceWatermelon
           Quantity: 300
   - type: Drink
+  - type: Label
+    currentLabel: watermelon juice
+
+- type: entity
+  parent: DrinkBottlePlasticBaseFull
+  id: DrinkEnergyDrinkJug
+  name: red bool jug
+  description: A jug of Red Bool, with enough caffine to kill a whole station.
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        maxVol: 100
+        reagents:
+        - ReagentId: EnergyDrink
+          Quantity: 100
+  - type: Drink
+  - type: Label
+    currentLabel: red bool
+
+- type: entity
+  parent: DrinkBottlePlasticBaseFull
+  id: CustomDrinkJug
+  name: beverage jug
+  description: A jug for storing custom made drinks.
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        maxVol: 150
+  - type: Drink
diff --git a/Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/icon.png b/Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/icon.png
new file mode 100644 (file)
index 0000000..2cafc19
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/generic_jug.rsi/meta.json
new file mode 100644 (file)
index 0000000..db0ac60
--- /dev/null
@@ -0,0 +1 @@
+{"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"}]}
\ No newline at end of file
index f1c273ac71383a110cddf0f5b292599da629bcee..91b094a4df960db8bedcd57909e0e7df2f6461dc 100644 (file)
Binary files a/Resources/Textures/Objects/Consumable/Drinks/water.rsi/icon.png and b/Resources/Textures/Objects/Consumable/Drinks/water.rsi/icon.png differ