]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add ability to show stack visuals on closed containers (#29309)
authorCrude Oil <124208219+CroilBird@users.noreply.github.com>
Sun, 21 Jul 2024 05:49:48 +0000 (07:49 +0200)
committerGitHub <noreply@github.com>
Sun, 21 Jul 2024 05:49:48 +0000 (22:49 -0700)
commit6c6ae35cf8f9b9e4c0f1883ec8998e9adab6752d
tree0f948e970df4df47e7bbedaa0fbd260b111608ca
parentb0c4c45bc5e74e70ee79947146a5d92db2c97546
Add ability to show stack visuals on closed containers (#29309)

* add ability to show stack visuals on closed containers

* remove container stack visuals logic from sharedstoragesystem

* improve comments a bit

* move logic for open/closed containers into itemcountersystem

* move behavior to storage component

* remove unused import

* remove old comment

* fix comments

* fix wrong property name

* Update Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

* Rename variable for clarity

---------

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Content.Client/Storage/Systems/ItemCounterSystem.cs
Content.Shared/Storage/Components/ItemCounterComponent.cs
Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs
Content.Shared/Storage/StorageComponent.cs
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_cans.yml