[MIRROR] Converts the first few of our UIs to typescript (#8588)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-06-28 13:05:53 -07:00
committed by GitHub
parent 7ee8e61b76
commit be4aeefce3
274 changed files with 12200 additions and 8304 deletions

View File

@@ -152,7 +152,7 @@
var/chemicals[0]
for(var/label in cartridges)
var/obj/item/weapon/reagent_containers/chem_disp_cartridge/C = cartridges[label]
chemicals.Add(list(list("title" = label, "id" = label, "amount" = C.reagents.total_volume))) // list in a list because Byond merges the first list...
chemicals.Add(list(list("name" = label, "id" = label, "volume" = C.reagents.total_volume))) // list in a list because Byond merges the first list...
data["chemicals"] = chemicals
return data