]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make a lot more puddle stuff predicted (#38871)
authorPerry Fraser <perryprog@users.noreply.github.com>
Sat, 18 Oct 2025 17:41:56 +0000 (13:41 -0400)
committerGitHub <noreply@github.com>
Sat, 18 Oct 2025 17:41:56 +0000 (17:41 +0000)
commitc65f0aeb316ff693c8476aa48fcf02b3c90511e7
treec7031ca8a6afad9364106b8d61c165e660660546
parent303e0aae177937f0a4271dd614479ee603c1fc66
Make a lot more puddle stuff predicted (#38871)

* feat: predict evaporation

* refactor: move puddle update logic to shared

* refactor: move more puddle stuff to Shared

Still can't do stuff that creates puddles :(

* refactor: move puddle transfers to shared

* fix: various style fixes + switch to predicted variants

* style: make some puddle stuff private instead of protected

* refactor: move solution dumping to its own system

* docs: clarify Drainable/Dumpable/Refillable docs

Also whacks unneeded VVAccess's.

* fix: audit usages of drainable+refillable

I'm leaving spear and arrow for now... but I don't love it.

* Added an item query I guess

* Review changes

* You can pour out waterguns

* Review changes

* oops

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
18 files changed:
Content.Server/Fluids/EntitySystems/PuddleSystem.Evaporation.cs [deleted file]
Content.Server/Fluids/EntitySystems/PuddleSystem.Spillable.cs
Content.Server/Fluids/EntitySystems/PuddleSystem.Transfers.cs [deleted file]
Content.Server/Fluids/EntitySystems/PuddleSystem.cs
Content.Shared/Cabinet/ItemCabinetSystem.cs
Content.Shared/Chemistry/Components/DrainableSolutionComponent.cs
Content.Shared/Chemistry/Components/DumpableSolutionComponent.cs
Content.Shared/Chemistry/Components/RefillableSolutionComponent.cs
Content.Shared/Fluids/Components/EvaporationComponent.cs
Content.Shared/Fluids/EntitySystems/SolutionDumpingSystem.cs [new file with mode: 0644]
Content.Shared/Fluids/SharedPuddleSystem.Evaporation.cs
Content.Shared/Fluids/SharedPuddleSystem.Spillable.cs
Content.Shared/Fluids/SharedPuddleSystem.cs
Content.Shared/Nutrition/EntitySystems/OpenableSystem.cs
Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/shotgun.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/watergun.yml
Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/arrows.yml
Resources/Prototypes/Entities/Structures/Specific/Janitor/drain.yml