]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Several new bartender tools (#27406)
authorNotSoDana <75203942+NotSoDana@users.noreply.github.com>
Sun, 28 Apr 2024 04:40:07 +0000 (06:40 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Apr 2024 04:40:07 +0000 (14:40 +1000)
* added bar specs

* specs in boozeomat

* added jigger in bartender guide

* fixed ice bucket

* cdn

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
12 files changed:
Resources/Prototypes/Catalog/VendingMachines/Inventories/boozeomat.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_special.yml
Resources/Prototypes/Entities/Objects/Misc/utensils.yml
Resources/ServerInfo/Guidebook/Service/Bartender.xml
Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/icon.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/utensils.rsi/meta.json

index bd8b04f982b646b3e039be299af7700d7d7ba1ce..a309b1d61df4a20c897dd2e188fa0f3859cbfd85 100644 (file)
@@ -7,6 +7,9 @@
     DrinkVacuumFlask: 5
     DrinkFlaskBar: 5
     DrinkShaker: 5
+    DrinkJigger: 5
+    DrinkIceBucket: 2
+    BarSpoon: 3
     CustomDrinkJug: 2 #to allow for custom drinks in the soda/booze dispensers
     DrinkAbsintheBottleFull: 2
     DrinkAleBottleFull: 5
index ad2e760141403ef8c1edb88d77f2f21e6a094470..d2c1249740e009fb16dcf60e0c2a1a1ba3659e4f 100644 (file)
   - type: Drink
   - type: Sprite
     sprite: Objects/Consumable/Drinks/jar_what.rsi
+
+- type: entity
+  id: BartenderMixer
+  abstract: true
+  components:
+  - type: DrainableSolution
+    solution: drink
+  - type: Drink
+  - type: DrawableSolution
+    solution: drink
+  - type: RefillableSolution
+    solution: drink
+  - type: SolutionTransfer
+    canChangeTransferAmount: true
+  - type: Spillable
+    solution: drink
+  - type: UserInterface
+    interfaces:
+      enum.TransferAmountUiKey.Key:
+        type: TransferAmountBoundUserInterface
+
+- type: entity
+  parent: [BaseItem, BartenderMixer]
+  id: DrinkJigger
+  name: jigger
+  description: Like a shaker, but smaller. Used to control the amount of ingredients.
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        maxVol: 20
+  - type: MixableSolution
+    solution: drink
+  - type: FitsInDispenser
+    solution: drink
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/jigger.rsi
+    state: icon
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 20
+
+- type: entity
+  parent: [BaseItem, BartenderMixer]
+  id: DrinkIceBucket
+  name: ice bucket
+  description: A special bucket of refreshy ice. Prohibited use for challenge with the same name!
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      drink:
+        reagents:
+        - ReagentId: Ice
+          Quantity: 200
+  - type: Sprite
+    sprite: Objects/Consumable/Drinks/icebucket.rsi
+    state: icon
+  - type: PhysicalComposition
+    materialComposition:
+      Steel: 75
index 4250669581f8687aeae8bd102cb448f242d01ec2..86667f094fdbb74863897e288db13fd0a5f19bd3 100644 (file)
     - Plastic
     - Trash
     - Knife
+
+- type: entity
+  parent: UtensilBase
+  id: BarSpoon
+  name: bar spoon
+  description: Your personal helper to mix drinks and changes lives.
+  components:
+  - type: Tag
+    tags:
+    - Metal
+  - type: Sprite
+    state: bar_spoon
+  - type: Item
+    heldPrefix: spoon
+  - type: Utensil
+    types:
+    - Spoon
+  - type: MeleeWeapon
+    wideAnimationRotation: 180
+    attackRate: 2
+    damage:
+      types:
+        Blunt: 2
+  - type: Shovel
+    speedModifier: 0.05 # nah
index 060c39fca31d3dec4ceca26944168d860e99ff27..b7599fc0d1cb6f943d0e1f30df48fc76e9a989fc 100644 (file)
@@ -18,6 +18,7 @@ Don't forget containers to serve them in!
 <GuideEntityEmbed Entity="DrinkGlass" Caption="Glass"/>
 <GuideEntityEmbed Entity="DrinkGlassCoupeShaped"/>
 <GuideEntityEmbed Entity="DrinkShaker"/>
+<GuideEntityEmbed Entity="DrinkJigger"/>
 </Box>
 
 ## Drinks
diff --git a/Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/icon.png b/Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/icon.png
new file mode 100644 (file)
index 0000000..228d098
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/icebucket.rsi/meta.json
new file mode 100644 (file)
index 0000000..f55a85d
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Made by Dezzzix; Discord: dezzzix",
+    "size": {
+      "x": 32,
+      "y": 32
+    },
+    "states": [
+      {
+        "name": "icon"
+      }
+    ]
+  }
diff --git a/Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/icon.png b/Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/icon.png
new file mode 100644 (file)
index 0000000..6c65ca0
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/icon.png differ
diff --git a/Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/jigger.rsi/meta.json
new file mode 100644 (file)
index 0000000..f55a85d
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Made by Dezzzix; Discord: dezzzix",
+    "size": {
+      "x": 32,
+      "y": 32
+    },
+    "states": [
+      {
+        "name": "icon"
+      }
+    ]
+  }
diff --git a/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-left.png b/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-left.png
new file mode 100644 (file)
index 0000000..fba15fa
Binary files /dev/null and b/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-left.png differ
diff --git a/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-right.png b/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-right.png
new file mode 100644 (file)
index 0000000..d2b32fd
Binary files /dev/null and b/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon-inhand-right.png differ
diff --git a/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon.png b/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon.png
new file mode 100644 (file)
index 0000000..f24ded7
Binary files /dev/null and b/Resources/Textures/Objects/Misc/utensils.rsi/bar_spoon.png differ
index 30dd4e856437816c9ba42cd94f68923ac1601d4f..77aeb5e3c13f01e4834628a88261b84c8a31570d 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432 and modified by Swept",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432 and modified by Swept; Bar spoon by Dezzzix",
   "size": {
     "x": 32,
     "y": 32
     },
     {
       "name": "plastic_knife"
+    },
+    {
+      "name": "bar_spoon"
+    },
+    {
+      "name": "bar_spoon-inhand-left",
+      "directions": 4
+    },
+    {
+      "name": "bar_spoon-inhand-right",
+      "directions": 4
     }
   ]
 }