* Reapply "Add limited-reagent dispensers (#23907)" This reverts commit531becd592. # Conflicts: # Content.Client/Chemistry/UI/ReagentDispenserWindow.xaml.cs # Content.Server/Chemistry/EntitySystems/ReagentDispenserSystem.cs # Content.Shared/Chemistry/SharedReagentDispenser.cs # Content.Shared/Containers/ItemSlot/ItemSlotsComponent.cs # Resources/Prototypes/Catalog/ReagentDispensers/beverage.yml # Resources/Prototypes/Entities/Objects/Specific/chemical-containers.yml # Resources/Prototypes/Entities/Structures/Dispensers/chem.yml * Reapply "Fix comp.Owner (#24206)" This reverts commit2d2405ff93. * Reapply "Use old reagent dispenser beaker slot ID (#24209)" This reverts commit388424e2f3. * Add a container display to dispenser UI (#25391) * Implemented contents display for dispenser UI * Update Content.Client/Chemistry/UI/ReagentDispenserWindow.xaml.cs Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> * Resolve the netent into a euid first --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> * Add prediction to hand labeler labels (#25869) Added prediction to labels * scoopable ash and foam, solution transfer prediction (#25832) * move SolutionTransfer to shared and predict as much as possible * fully move OpenableSystem to shared now that SolutionTransfer is * fix imports for everything * doc for solution transfer system * trolling * add scoopable system * make ash and foam scoopable * untroll * untroll real * make clickable it work * troll * the scooping room --------- Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com> # Conflicts: # Resources/Prototypes/Entities/Effects/chemistry_effects.yml * Reagent dispenser UI (#27831) * reagent dispenser: fancy window * reagent dispenser: dispense button grid * reagent dispenser: rearrange containers & info * reagent dispenser: remove `reagent-dispenser-window-container-label` * reagent dispenser: add `Scrollcontainer` on right side * reagent dispenser: get rid of pointless actions * reagent dispenser: cleanup actions and `inventory` field on bound ui state * reagent dispenser: cool reagent cards & finishing touches * reagent dispenser: final cleanup and formatting * reagent dispenser: `ButtonGrid` and `ReagentDispenserSetDispenseAmountMessage` refactor * reagent dispenser: cleanup code & address minor concerns * reagent dispenser: text in reagent cards no longer clips * reagent dispenser: oh wait i forgot to change this and thats why the builds keep failing probably * reagent dispenser mayybe this * reagent dispenser: remove `using FastAccessors;` # Conflicts: # Content.Client/Chemistry/UI/ReagentDispenserWindow.xaml.cs * Reagent dispenser UI (Again) (#27958) * reagent dispenser: fancy window * reagent dispenser: dispense button grid * reagent dispenser: rearrange containers & info * reagent dispenser: remove `reagent-dispenser-window-container-label` * reagent dispenser: add `Scrollcontainer` on right side * reagent dispenser: get rid of pointless actions * reagent dispenser: cleanup actions and `inventory` field on bound ui state * reagent dispenser: cool reagent cards & finishing touches * reagent dispenser: final cleanup and formatting * reagent dispenser: `ButtonGrid` and `ReagentDispenserSetDispenseAmountMessage` refactor * reagent dispenser: cleanup code & address minor concerns * reagent dispenser: text in reagent cards no longer clips * reagent dispenser: oh wait i forgot to change this and thats why the builds keep failing probably * reagent dispenser mayybe this * reagent dispenser: remove `using FastAccessors;` * delete unused classes * disable reagent button when container is empty * Make things a bit bigger * remove obsolete text color override * пару фиксов поверх * переводики хихиххи * еще переводы * feat: химические картриджи --------- Co-authored-by: Tayrtahn <tayrtahn@gmail.com> Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: Brandon Li <48413902+aspiringLich@users.noreply.github.com>
79 lines
3.8 KiB
XML
79 lines
3.8 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
xmlns:customControls="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
|
xmlns:ui="clr-namespace:Content.Client.Chemistry.UI"
|
|
Title="{Loc 'reagent-dispenser-bound-user-interface-title'}"
|
|
MinSize="600 300"
|
|
SetSize="800 500">
|
|
<BoxContainer Orientation="Horizontal">
|
|
<BoxContainer Orientation="Vertical" MinWidth="170">
|
|
<Label Text="{Loc 'reagent-dispenser-window-amount-to-dispense-label'}" HorizontalAlignment="Center" />
|
|
<ui:ButtonGrid
|
|
Name="AmountGrid"
|
|
Access="Public"
|
|
Columns="3"
|
|
HorizontalAlignment="Center"
|
|
Margin="5"
|
|
ButtonList="1,5,10,15,20,25,30,50,100"
|
|
RadioGroup="True">
|
|
</ui:ButtonGrid>
|
|
<Control VerticalExpand="True" />
|
|
<Label Name="ContainerInfoName"
|
|
Access="Public"
|
|
Text=""
|
|
HorizontalAlignment="Center" />
|
|
<Label Name="ContainerInfoFill"
|
|
Access="Public"
|
|
Text=""
|
|
HorizontalAlignment="Center"
|
|
StyleClasses="LabelSubText" />
|
|
<SpriteView Name="View"
|
|
Scale="4 4"
|
|
HorizontalAlignment="Center" />
|
|
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Center">
|
|
<Button Name="ClearButton"
|
|
Access="Public"
|
|
Text="{Loc 'reagent-dispenser-window-clear-button'}"
|
|
StyleClasses="OpenRight" />
|
|
<Button Name="EjectButton"
|
|
Access="Public"
|
|
Text="{Loc 'reagent-dispenser-window-eject-button'}"
|
|
StyleClasses="OpenLeft" />
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
<SplitContainer Orientation="Vertical"
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True">
|
|
<ScrollContainer HScrollEnabled="False"
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
MinHeight="50"
|
|
SizeFlagsStretchRatio="2.5">
|
|
<GridContainer Name="ReagentList"
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
Access="Public"
|
|
Columns="3" />
|
|
</ScrollContainer>
|
|
<ScrollContainer HScrollEnabled="False"
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
MinHeight="50">
|
|
<PanelContainer VerticalExpand="True">
|
|
<PanelContainer.PanelOverride>
|
|
<gfx:StyleBoxFlat BackgroundColor="#1b1b1e" />
|
|
</PanelContainer.PanelOverride>
|
|
<BoxContainer Name="ContainerInfo"
|
|
Orientation="Vertical"
|
|
HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
Margin="5">
|
|
<Label Text="{Loc 'reagent-dispenser-window-no-container-loaded-text'}" />
|
|
</BoxContainer>
|
|
</PanelContainer>
|
|
</ScrollContainer>
|
|
</SplitContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|