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