]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
A beer can and a wine can (#24365)
authorRumiTiger <154005209+RumiTiger@users.noreply.github.com>
Thu, 1 Feb 2024 06:41:23 +0000 (09:41 +0300)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2024 06:41:23 +0000 (17:41 +1100)
* A beer can and a wine can

* fix wrong file locations

Signed-off-by: c4llv07e <kseandi@gmail.com>
* Update drinks_cans.yml

* A beer can and a wine can

* Update drinks_cans.yml

* A beer can and a wine can

* replace sprites

Signed-off-by: c4llv07e <kseandi@gmail.com>
* Update meta.json

* Update meta.json

* Update Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/meta.json

* Update Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/meta.json

---------

Signed-off-by: c4llv07e <kseandi@gmail.com>
Co-authored-by: c4llv07e <kseandi@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/Food_Drinks/drinks_soda.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cans.yml
Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon_open.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon_open.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/meta.json [new file with mode: 0644]

index 6c8d9468a2e9c0210c49e46d615c7fdac69c9859..793121e2f2cec33a716f759fc1d8cce008356b7b 100644 (file)
@@ -35,5 +35,7 @@
     DrinkWhiskeyBottleFull: 5
     DrinkWineBottleFull: 5
     DrinkChampagneBottleFull: 2 #because the premium drink
+    DrinkBeerCan: 5
+    DrinkWineCan: 5
   emaggedInventory:
     DrinkPoisonWinebottleFull: 2
index 751fc08554322725be2b518d9dd6b98e9636c365..c8a941c1281352b7f2f52ef4cf65014bed113bea 100644 (file)
@@ -38,6 +38,8 @@
       - DrinkTeacup
       - DrinkGreenTea
       - DrinkWaterCup
+      - DrinkBeerCan
+      - DrinkWineCan
     chance: 0.8
     offset: 0.0
     #rare
index d028c46221c34e02f5433eac1b98606025020374..38ebc132c9fc1f7c6f9e92a9b866903f8efe5b3f 100644 (file)
     sprite: Objects/Consumable/Drinks/pwrgame.rsi
   - type: Item
     sprite: Objects/Consumable/Drinks/pwrgame.rsi
+
+- type: entity
+  parent: DrinkCanBaseFull
+  id: DrinkBeerCan
+  name: beer can
+  description: Small joy, big taste, no worries!
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        maxVol: 30
+        reagents:
+        - ReagentId: Beer
+          Quantity: 30
+  - type: Drink
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/beer_can.rsi
+  - type: Item
+    sprite: Objects/Consumable/Drinks/beer_can.rsi
+
+- type: entity
+  parent: DrinkCanBaseFull
+  id: DrinkWineCan
+  name: wine can
+  description: Your way to forgetting all worries and having fun!
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        maxVol: 30
+        reagents:
+        - ReagentId: Wine
+          Quantity: 30
+  - type: Drink
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/wine_can.rsi
+  - type: Item
+    sprite: Objects/Consumable/Drinks/wine_can.rsi
diff --git a/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon.png b/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon.png
new file mode 100644 (file)
index 0000000..9974e5c
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon_open.png b/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon_open.png
new file mode 100644 (file)
index 0000000..ad64ae3
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/icon_open.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/beer_can.rsi/meta.json
new file mode 100644 (file)
index 0000000..b712e50
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "version": 1,
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Github #DrMelon",
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "icon_open"
+        }
+    ]
+}
diff --git a/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon.png b/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon.png
new file mode 100644 (file)
index 0000000..54d5ff6
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon_open.png b/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon_open.png
new file mode 100644 (file)
index 0000000..81a8cc7
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/icon_open.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/wine_can.rsi/meta.json
new file mode 100644 (file)
index 0000000..b712e50
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "version": 1,
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Github #DrMelon",
+    "states": [
+        {
+            "name": "icon"
+        },
+        {
+            "name": "icon_open"
+        }
+    ]
+}