Delta-v/Content.Server/Nutrition/EntitySystems
Tayrtahn 794302839d
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

(cherry picked from commit cfa94be4c2044146298d07c703f3b71bc377ca63)
2024-04-21 22:08:21 +02:00
..
AnimalHusbandrySystem.cs Use new ComponentPauseGenerator (#25183) 2024-03-07 00:57:05 +01:00
CreamPieSystem.cs Fix cream pie bomb when eaten or sliced (#25928) 2024-03-17 14:55:56 +01:00
DrinkSystem.cs Add ability to shake fizzy drinks so they spray in peoples' faces (#25574) 2024-04-21 22:08:21 +02:00
FatExtractorSystem.cs Use new ComponentPauseGenerator (#25183) 2024-03-07 00:57:05 +01:00
FlavorProfileSystem.cs Revert 'Revert 'Solution Entities'' (#23168) 2024-01-23 23:00:42 +01:00
FoodSystem.cs scoopable ash and foam, solution transfer prediction (#25832) 2024-04-07 14:27:04 +02:00
IngestionBlockerSystem.cs Fix masks not toggling voice mask component (#22506) 2023-12-16 20:24:33 +01:00
SliceableFoodSystem.cs Reduced Warning Count By 130 For Full Rebuilds (#26518) 2024-04-07 14:11:06 +02:00
SmokingSystem.Cigar.cs Revert 'Revert 'Solution Entities'' (#23168) 2024-01-23 23:00:42 +01:00
SmokingSystem.SmokingPipe.cs Revert 'Revert 'Solution Entities'' (#23168) 2024-01-23 23:00:42 +01:00
SmokingSystem.Vape.cs Simplify DoAfterArgs behavior for movement and distance checks (#25226) 2024-03-24 00:03:28 +01:00
SmokingSystem.cs Revert 'Revert 'Solution Entities'' (#23168) 2024-01-23 23:00:42 +01:00
TrashOnSolutionEmptySystem.cs Fix TrashOnSolutionEmptySystem modifying uninitialized entities (#23798) 2024-01-26 22:19:27 +01:00
UtensilSystem.cs Make UtensilSystem and SharpSystem not run AfterInteract if it has already been handled (#25826) 2024-04-21 21:56:50 +02:00