Files
tbd-station-14/Content.Client
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-09 18:16:42 -04:00
2024-04-01 19:29:13 +11:00
2023-09-28 20:48:50 +10:00
2024-04-17 19:27:00 +10:00
2024-03-03 18:39:19 +11:00
2024-02-01 11:33:10 +11:00
2024-04-09 18:18:07 -04:00
2023-11-27 22:12:34 +11:00
2024-02-23 18:12:23 +11:00
2023-09-11 19:18:06 +10:00
2024-01-05 15:11:26 +11:00
2023-08-28 20:01:45 +10:00
2023-11-14 19:23:40 -07:00
2024-03-30 23:29:47 -05:00
2024-04-16 22:57:43 +10:00
2024-04-17 12:54:54 +10:00
2024-02-16 16:52:31 -07:00
2024-01-06 20:19:45 +11:00
2024-03-24 03:34:56 +11:00
2023-08-18 14:41:48 +10:00
2023-10-24 10:23:56 -04:00
2023-08-11 03:43:08 -07:00
2024-02-29 17:25:10 +11:00
2024-03-19 14:30:56 +11:00
2024-04-17 12:59:31 -05:00
2024-04-16 22:57:43 +10:00
2024-04-17 12:59:31 -05:00
2023-07-11 17:58:18 -06:00
2023-09-22 15:01:05 -05:00
2024-04-08 13:17:28 +10:00
2024-03-19 14:30:56 +11:00
2024-03-28 17:32:56 +11:00
2023-10-01 16:46:09 -04:00
2024-02-16 16:52:31 -07:00
2024-02-01 19:30:07 +11:00
2024-02-16 16:52:31 -07:00
2023-09-11 21:20:46 +10:00
2023-12-27 12:42:15 -08:00
2024-03-19 14:30:56 +11:00
2023-11-03 22:53:51 -07:00
2023-11-27 22:12:34 +11:00
2023-11-27 22:12:34 +11:00