Address a number of TGUI issues

- SmartFridge has been tweaked to look better
 - ChemMaster no longer puts the units in bottle names by default
 - Trinary filter reads last_flow_rate again
 - Operating computer now works based off percentage of health, rather
   than real health (note, a tesh at -50 won't die until -100, but it'll
   trigger the -100% alarm)
 - Clicking on the knob in the canister UI no longer brings up a number
   input too small to enter values in the valid range. For right now,
   the knob stays, but this may be reconsidered in favor of a
   NumberInput if more people would prefer accessibility over
   skeuomorphism UI design.
 - Pipe dispenser has a bent pipe option again
This commit is contained in:
ShadowLarkens
2020-08-14 10:28:20 -07:00
parent c7a562b53d
commit f2d180ad09
13 changed files with 57 additions and 56 deletions

View File

@@ -172,6 +172,7 @@
data["on"] = use_power
data["rate"] = set_flow_rate
data["max_rate"] = air1.volume
data["last_flow_rate"] = round(last_flow_rate, 0.1)
data["filter_types"] = list()
data["filter_types"] += list(list("name" = "Nothing", "f_type" = -1, "selected" = filter_type == -1))