]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make reagent dispensers gridinv-based instead of pseudo-listinv (#34205)
authorpathetic meowmeow <uhhadd@gmail.com>
Sat, 10 May 2025 03:49:05 +0000 (23:49 -0400)
committerGitHub <noreply@github.com>
Sat, 10 May 2025 03:49:05 +0000 (23:49 -0400)
commit5a0e0524ca5d0dd5aa859c5ec6f8337825a0ce8e
tree013390702dee4e80563897de822d8305933a3e5a
parent942b2b4dcbbe653ca5bf0a27eee6d121c3e5a9d9
Make reagent dispensers gridinv-based instead of pseudo-listinv (#34205)

This simplifies the code and makes the experience of examining contents
easier without the reagent dispenser UI, as well as adding the possibility
for dispensers to have items of heterogeneous sizes in them, which would
allow configuring reagent dispensers to accept smaller containers such
as beakers or vials in order to allow for more types of smaller quantities
of reagents, or other flexibilities brought by using a standard storage
component.
13 files changed:
Content.Client/Chemistry/UI/ReagentCardControl.xaml.cs
Content.Client/Chemistry/UI/ReagentDispenserBoundUserInterface.cs
Content.Client/Chemistry/UI/ReagentDispenserWindow.xaml.cs
Content.Server/Chemistry/Components/ReagentDispenserComponent.cs
Content.Server/Chemistry/EntitySystems/ReagentDispenserSystem.cs
Content.Shared/Chemistry/Dispenser/ReagentDispenserInventoryPrototype.cs [deleted file]
Content.Shared/Chemistry/SharedReagentDispenser.cs
Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml [deleted file]
Resources/Prototypes/Catalog/ReagentDispensers/chemical.yml [deleted file]
Resources/Prototypes/Entities/Structures/Dispensers/base_structuredispensers.yml
Resources/Prototypes/Entities/Structures/Dispensers/booze.yml
Resources/Prototypes/Entities/Structures/Dispensers/chem.yml
Resources/Prototypes/Entities/Structures/Dispensers/soda.yml