From 8aec7b8e366c95f920e06388ca50e2a035dcc19d Mon Sep 17 00:00:00 2001 From: Sparky Date: Wed, 22 May 2024 10:10:38 +0100 Subject: [PATCH] Smaller sip volumes. (#19180) Allows drinks to select smaller transfer amounts, as low as 1 unit, to allow smaller sips. --- code/modules/reagents/reagent_containers/food/drinks.dm | 1 + html/changelogs/sip.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 html/changelogs/sip.yml diff --git a/code/modules/reagents/reagent_containers/food/drinks.dm b/code/modules/reagents/reagent_containers/food/drinks.dm index a00d1efaa06..00d206126b9 100644 --- a/code/modules/reagents/reagent_containers/food/drinks.dm +++ b/code/modules/reagents/reagent_containers/food/drinks.dm @@ -22,6 +22,7 @@ If you add a drink with an empty icon sprite, ensure it is in the same folder, e volume = 50 var/shaken = 0 var/drink_flags + possible_transfer_amounts = list(1, 2, 3, 4, 5, 10, 15, 25, 30) /obj/item/reagent_containers/food/drinks/Initialize() . = ..() diff --git a/html/changelogs/sip.yml b/html/changelogs/sip.yml new file mode 100644 index 00000000000..e3714cea3ae --- /dev/null +++ b/html/changelogs/sip.yml @@ -0,0 +1,6 @@ +author: Sparky_hotdog + +delete-after: True + +changes: + - rscadd: "Drinks can now select a transfer rate as low as 1 unit, allowing for smaller sips."