Delta-v/Content.Shared/Nutrition/Components
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
..
ButcherableComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
CreamPieComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
CreamPiedComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
DrinkComponent.cs Add ability to shake fizzy drinks so they spray in peoples' faces (#25574) 2024-04-18 11:49:58 +10:00
HungerComponent.cs Use new ComponentPauseGenerator (#25183) 2024-02-26 14:36:19 +11:00
OpenableComponent.cs scoopable ash and foam, solution transfer prediction (#25832) 2024-04-01 17:27:39 +11:00
PressurizedSolutionComponent.cs Add ability to shake fizzy drinks so they spray in peoples' faces (#25574) 2024-04-18 11:49:58 +10:00
SealableComponent.cs Add verbs to Open/Close Openable containers, and add optional seals (#24780) 2024-02-13 17:08:07 -05:00
ShakeableComponent.cs Add ability to shake fizzy drinks so they spray in peoples' faces (#25574) 2024-04-18 11:49:58 +10:00
SharedFatExtractor.cs Lipid Extractor (#15597) 2023-04-22 17:03:50 +10:00
SharedFoodComponent.cs Add verbs to Open/Close Openable containers, and add optional seals (#24780) 2024-02-13 17:08:07 -05:00
SmokableComponent.cs Make more fields VV-writeable (#21754) 2023-11-19 12:17:53 -08:00
ThirstComponent.cs Use new ComponentPauseGenerator (#25183) 2024-02-26 14:36:19 +11:00
UtensilComponent.cs Fix clientside storage Whitelists (#24063) 2024-02-02 00:33:57 +11:00