From: OnyxTheBrave <131422822+OnyxTheBrave@users.noreply.github.com> Date: Tue, 30 Dec 2025 21:34:54 +0000 (-0600) Subject: Chemmaster Pill Source (#40121) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3cc79c223a243317446578982d2a4367773e5ce8;p=space-station-14.git Chemmaster Pill Source (#40121) * Buttons and basic internal data * The buttons DO something * it works?!! * I hate predictions * 5000 monkeys on typewritters * who let the monkeys code? * Localizations * waiter, more commits please * Not going insane (this is a lie) * last one I SWEAR * Some improvements ported from Moff * clean it up a little * one more cleanup * The chemmaster is not a mime * Fix my mistakes + address the other review * Point to what chemmaster is broken, and why it's broken * ChemMasterComponent changes * Margin for packaging source --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- diff --git a/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs b/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs index a669a8da4c..d0a9f5644c 100644 --- a/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs +++ b/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs @@ -48,6 +48,10 @@ namespace Content.Client.Chemistry.UI (uint) _window.BottleDosage.Value, _window.LabelLine)); _window.BufferSortButton.OnPressed += _ => SendMessage( new ChemMasterSortingTypeCycleMessage()); + _window.OutputBufferDraw.OnPressed += _ => SendMessage( + new ChemMasterOutputDrawSourceMessage(ChemMasterDrawSource.Internal)); + _window.OutputBeakerDraw.OnPressed += _ => SendMessage( + new ChemMasterOutputDrawSourceMessage(ChemMasterDrawSource.External)); for (uint i = 0; i < _window.PillTypeButtons.Length; i++) { diff --git a/Content.Client/Chemistry/UI/ChemMasterWindow.xaml b/Content.Client/Chemistry/UI/ChemMasterWindow.xaml index 5bc640ab44..cc2a199172 100644 --- a/Content.Client/Chemistry/UI/ChemMasterWindow.xaml +++ b/Content.Client/Chemistry/UI/ChemMasterWindow.xaml @@ -79,10 +79,13 @@ -