Delta-v/Resources/Prototypes/Reagents
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
..
Consumable Add ability to shake fizzy drinks so they spray in peoples' faces (#25574) 2024-04-18 11:49:58 +10:00
Materials Pipebombs and IED rework (#25705) 2024-03-14 15:27:08 +11:00
biological.yml Dionae now bleed sap, and this can be used to make syrup. (#25748) 2024-04-05 14:06:12 -07:00
botany.yml Fix some invalid damage types (#26295) 2024-03-21 12:58:21 +11:00
chemicals.yml Adding intermediate industrial chems (#22614) 2023-12-24 14:12:36 -05:00
cleaning.yml Remove soapy water (#24301) 2024-02-03 15:23:34 +11:00
elements.yml Server-only component YAML cleanup (#26836) 2024-04-09 00:20:49 -04:00
fun.yml Fix some invalid damage types (#26295) 2024-03-21 12:58:21 +11:00
gases.yml Alerts for breathing plasma/tritium (#24484) 2024-03-03 01:07:05 +11:00
medicine.yml Make Holy Water more like Water (#27068) 2024-04-17 21:04:56 -04:00
narcotics.yml up stimulants (no sleep) (#25886) 2024-03-30 00:52:27 -06:00
pyrotechnic.yml More pirate weapon content(two new cannon ammo types, a musket and flintlock resprite and rebalance) (#23408) 2024-01-09 15:23:11 +03:00
toxins.yml Uncooked animal proteins is safe for animal stomachs only (#26906) 2024-04-13 12:36:28 +10:00