]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make vending machine restocks predicted (and its sound not spammable) (#38609)
authorPerry Fraser <perryprog@users.noreply.github.com>
Thu, 11 Sep 2025 18:27:54 +0000 (14:27 -0400)
committerGitHub <noreply@github.com>
Thu, 11 Sep 2025 18:27:54 +0000 (20:27 +0200)
commitfbf65b7f748c0f96f6d8c19d3aea8c8d7d57441a
tree279ab9d37c2701861959f0aee90398c31d56238f
parent77eca4a570f079f2d6b00b7dd1dc1bebf2c511c9
Make vending machine restocks predicted (and its sound not spammable) (#38609)

* feat: make vending machine restocks predicted

* refactor: VendingMachineRestockComponent cleanup

* refactor: minor simplification

* revert: refactor: minor simplification; load bearing IsFirstTimePredicted

lol second guessed myself

* chore: unneeded VendingMachineSystem dep

* Update Content.Shared/VendingMachines/VendingMachineComponent.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Server/VendingMachines/VendingMachineSystem.cs
Content.Shared/VendingMachines/SharedVendingMachineSystem.Restock.cs
Content.Shared/VendingMachines/SharedVendingMachineSystem.cs
Content.Shared/VendingMachines/VendingMachineComponent.cs
Content.Shared/VendingMachines/VendingMachineRestockComponent.cs