I've done it, I've edited TgUI!

This commit is contained in:
Chiirno
2021-01-01 04:00:35 -04:00
parent 3533f2f494
commit bbeed2b8f0
3 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
var/fermianalyze //Give more detail on fermireactions on analysis var/fermianalyze //Give more detail on fermireactions on analysis
/obj/machinery/chem_master/Initialize() /obj/machinery/chem_master/Initialize()
create_reagents(100) create_reagents(0)
//Calculate the span tags and ids fo all the available pill icons //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) var/datum/asset/spritesheet/simple/assets = get_asset_datum(/datum/asset/spritesheet/simple/pills)
@@ -257,9 +257,9 @@
var/amount = text2num(params["amount"]) var/amount = text2num(params["amount"])
if(amount == null) if(amount == null)
amount = text2num(input(usr, 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)) "How many to make?", 1))
amount = clamp(round(amount), 0, 10) amount = clamp(round(amount), 0, 20)
if (amount <= 0) if (amount <= 0)
return FALSE return FALSE
// Get units per item // Get units per item
@@ -273,7 +273,7 @@
else if (item_type == "bottle") else if (item_type == "bottle")
vol_each_max = min(30, vol_each_max) vol_each_max = min(30, vol_each_max)
else if (item_type == "condimentPack") 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") else if (item_type == "condimentBottle")
vol_each_max = min(50, vol_each_max) vol_each_max = min(50, vol_each_max)
else if (item_type == "hypoVial") else if (item_type == "hypoVial")

View File

@@ -205,7 +205,7 @@ const PackagingControlsItem = props => {
stepPixelSize={15} stepPixelSize={15}
value={amount} value={amount}
minValue={1} minValue={1}
maxValue={10} maxValue={20}
onChange={onChangeAmount} /> onChange={onChangeAmount} />
<Button <Button
ml={1} ml={1}

File diff suppressed because one or more lines are too long