From bbeed2b8f0ab04cdf2bf2709db9ad17a50193640 Mon Sep 17 00:00:00 2001 From: Chiirno Date: Fri, 1 Jan 2021 04:00:35 -0400 Subject: [PATCH] I've done it, I've edited TgUI! --- code/modules/reagents/chemistry/machinery/chem_master.dm | 8 ++++---- tgui/packages/tgui/interfaces/ChemMaster.js | 2 +- tgui/public/tgui.bundle.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm index 32ac7cecba..6162da576e 100644 --- a/code/modules/reagents/chemistry/machinery/chem_master.dm +++ b/code/modules/reagents/chemistry/machinery/chem_master.dm @@ -23,7 +23,7 @@ var/fermianalyze //Give more detail on fermireactions on analysis /obj/machinery/chem_master/Initialize() - create_reagents(100) + create_reagents(0) //Calculate the span tags and ids fo all the available pill icons var/datum/asset/spritesheet/simple/assets = get_asset_datum(/datum/asset/spritesheet/simple/pills) @@ -257,9 +257,9 @@ var/amount = text2num(params["amount"]) if(amount == null) amount = text2num(input(usr, - "Max 10. Buffer content will be split evenly.", + "Max 20. Buffer content will be split evenly.", "How many to make?", 1)) - amount = clamp(round(amount), 0, 10) + amount = clamp(round(amount), 0, 20) if (amount <= 0) return FALSE // Get units per item @@ -273,7 +273,7 @@ else if (item_type == "bottle") vol_each_max = min(30, vol_each_max) else if (item_type == "condimentPack") - vol_each_max = min(10, vol_each_max) + vol_each_max = min(, vol_each_max) else if (item_type == "condimentBottle") vol_each_max = min(50, vol_each_max) else if (item_type == "hypoVial") diff --git a/tgui/packages/tgui/interfaces/ChemMaster.js b/tgui/packages/tgui/interfaces/ChemMaster.js index 9d16dc82e6..ddca187244 100644 --- a/tgui/packages/tgui/interfaces/ChemMaster.js +++ b/tgui/packages/tgui/interfaces/ChemMaster.js @@ -205,7 +205,7 @@ const PackagingControlsItem = props => { stepPixelSize={15} value={amount} minValue={1} - maxValue={10} + maxValue={20} onChange={onChangeAmount} />