Files
tbd-station-14/Content.Server
Tayrtahn cfa94be4c2 Add ability to shake fizzy drinks so they spray in peoples' faces (#25574)
* Implemented Shakeable

* Prevent shaking open Openables

* Prevent shaking empty drinks. Moved part of DrinkSystem to Shared.

* DrinkSystem can have a little more prediction, as a treat

* Cleanup

* Overhauled PressurizedDrink

* Make soda cans/bottles and champagne shakeable. The drink shaker too, for fun.

* We do a little refactoring.
PressurizedDrink is now PressurizedSolution, and fizziness now only works on solutions containing a reagent marked as fizzy.

* Documentation, cleanup, and tweaks.

* Changed fizziness calculation to use a cubic-out easing curve.

* Removed broken YAML that has avoid the linter's wrath for far too long

* Changed reagent fizzy bool to fizziness float.
Solution fizzability now scales with reagent proportion.

* Rename file to match changed class name

* DoAfter improvements. Cancel if the user moves away; block if no hands.

* Match these filenames too

* And this one

* guh

* Updated to use Shared puddle methods

* Various fixes and improvements.

* Made AttemptShakeEvent a struct

* AttemptAddFizzinessEvent too
2024-04-18 11:49:58 +10:00
..
2024-04-16 22:57:43 +10:00
2024-03-19 14:30:56 +11:00
2024-04-01 19:29:13 +11:00
2024-02-29 17:25:10 +11:00
2024-04-17 12:59:31 -05:00
2024-04-17 19:27:00 +10:00
2024-03-30 14:59:16 +11:00
2023-12-17 02:55:40 -07:00
2024-04-04 18:20:06 +11:00
2024-02-23 18:12:23 +11:00
2024-04-16 22:57:43 +10:00
2023-12-28 01:30:03 -04:00
2024-03-24 16:33:45 +11:00
2024-04-14 20:13:29 +10:00
2024-03-13 20:03:12 +11:00
2024-04-17 21:17:18 -04:00
2024-04-16 22:57:43 +10:00
2024-01-14 21:18:47 +11:00
2024-04-16 22:57:43 +10:00
2024-03-24 16:33:45 +11:00
2024-03-28 13:22:19 +11:00
2024-03-19 23:27:02 -04:00
2024-02-21 15:53:46 -05:00
2024-01-06 17:53:13 +11:00
2024-02-29 17:25:10 +11:00
2024-04-01 14:00:10 -07:00
2024-03-24 03:34:56 +11:00
2024-04-17 12:59:31 -05:00
2024-04-16 22:57:43 +10:00
2024-04-17 14:48:35 -07:00
2024-04-11 22:22:21 +10:00
2024-02-28 00:04:32 +11:00
2024-02-21 15:53:46 -05:00
2024-04-01 14:00:10 -07:00
2024-03-28 17:32:56 +11:00
2024-02-11 14:19:45 +11:00
2024-03-31 16:44:02 -04:00
2024-04-16 22:57:43 +10:00
2024-03-19 23:27:02 -04:00
2023-12-27 12:42:15 -08:00
2024-03-24 16:33:45 +11:00
2024-02-29 17:25:10 +11:00
2024-03-19 23:27:02 -04:00
2024-04-17 21:06:33 -04:00