]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Replace BlockSolutionAccessComponent with an attempt event (#26988)
authorTayrtahn <tayrtahn@gmail.com>
Fri, 21 Jun 2024 03:04:02 +0000 (23:04 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Jun 2024 03:04:02 +0000 (13:04 +1000)
commit880fef507d66b3654f6859b11424a0a8e00b0292
tree0ffd7ffabbcc452e73046d5015f0b40156ecc390
parentf94d66345293c58ee5b8519de3f5a61515894464
Replace BlockSolutionAccessComponent with an attempt event (#26988)

* BlockSolutionAccessComponent now only blocks one specified solution.

* Significant overhaul
Separated spilling when worn functionality into its own component/system.
Removed BlockSolutionAccessComponent.
Added an event for solution access.
Content.Server/Fluids/EntitySystems/PuddleSystem.Spillable.cs
Content.Shared/Chemistry/Components/BlockSolutionAccessComponent.cs [deleted file]
Content.Shared/Chemistry/EntitySystems/SharedSolutionContainerSystem.cs
Content.Shared/Fluids/Components/SpillWhenWornComponent.cs [new file with mode: 0644]
Content.Shared/Fluids/Components/SpillableComponent.cs
Content.Shared/Fluids/EntitySystems/SpillWhenWornSystem.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Tools/bucket.yml