]> git.smokeofanarchy.ru Git - space-station-14.git/commit
You can now pry multiple tiles at once (#29231)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Thu, 20 Jun 2024 14:05:40 +0000 (16:05 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 14:05:40 +0000 (00:05 +1000)
commitcf374ac905149dc10c15ecc2167031fcfa1163a5
tree2ded8170e01c55d6578a06f0cfa7b4acfc10e577
parentd15eafe13301960ac698668e56ac1ebcb5c24609
You can now pry multiple tiles at once (#29231)

* You can now pry multiple tiles at once

* More advanced do after duplicate checking.

Instead of just saying "lol tile prying can raise duplicates", we now have a system so tile prying can properly distinguish events on 2 different tiles. This is achieved with a virtual function on DoAfterEvent.
Content.Shared/DoAfter/DoAfterEvent.cs
Content.Shared/DoAfter/SharedDoAfterSystem.cs
Content.Shared/Tools/Components/ToolTileCompatibleComponent.cs
Content.Shared/Tools/Systems/SharedToolSystem.Tile.cs
Content.Shared/Tools/Systems/SharedToolSystem.cs