Delta-v/Content.Server/Nutrition/EntitySystems
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
..
AnimalHusbandrySystem.cs Use new ComponentPauseGenerator (#25183) 2024-02-26 14:36:19 +11:00
CreamPieSystem.cs Fix cream pie bomb when eaten or sliced (#25928) 2024-03-13 19:36:08 +11:00
DrinkSystem.cs Add ability to shake fizzy drinks so they spray in peoples' faces (#25574) 2024-04-18 11:49:58 +10:00
FatExtractorSystem.cs Use new ComponentPauseGenerator (#25183) 2024-02-26 14:36:19 +11:00
FlavorProfileSystem.cs Revert 'Revert 'Solution Entities'' (#23168) 2023-12-29 08:47:43 -04:00
FoodSystem.cs scoopable ash and foam, solution transfer prediction (#25832) 2024-04-01 17:27:39 +11:00
IngestionBlockerSystem.cs Fix masks not toggling voice mask component (#22506) 2023-12-14 20:39:11 -05:00
SliceableFoodSystem.cs Reduced Warning Count By 130 For Full Rebuilds (#26518) 2024-03-29 16:28:16 +11:00
SmokingSystem.Cigar.cs Revert 'Revert 'Solution Entities'' (#23168) 2023-12-29 08:47:43 -04:00
SmokingSystem.SmokingPipe.cs Revert 'Revert 'Solution Entities'' (#23168) 2023-12-29 08:47:43 -04:00
SmokingSystem.Vape.cs Simplify DoAfterArgs behavior for movement and distance checks (#25226) 2024-03-19 21:09:00 +11:00
SmokingSystem.cs Revert 'Revert 'Solution Entities'' (#23168) 2023-12-29 08:47:43 -04:00
TrashOnSolutionEmptySystem.cs Fix TrashOnSolutionEmptySystem modifying uninitialized entities (#23798) 2024-01-09 13:11:22 -05:00
UtensilSystem.cs Make UtensilSystem and SharpSystem not run AfterInteract if it has already been handled (#25826) 2024-04-14 13:39:22 +10:00