From cc6a41a5927e876a14f584c40f931590a04e6aa3 Mon Sep 17 00:00:00 2001 From: VrazzleDazzle Date: Thu, 2 May 2024 18:59:59 +0200 Subject: [PATCH] Update chem_master.dm --- code/modules/reagents/chemistry/machinery/chem_master.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm index e7bb73d29f2..7013c9bdb96 100644 --- a/code/modules/reagents/chemistry/machinery/chem_master.dm +++ b/code/modules/reagents/chemistry/machinery/chem_master.dm @@ -174,6 +174,8 @@ CAT_TUBES = GLOB.reagent_containers[CAT_TUBES], CAT_PILLS = GLOB.reagent_containers[CAT_PILLS], CAT_PATCHES = GLOB.reagent_containers[CAT_PATCHES], + CAT_HYPOS = GLOB.reagent_containers[CAT_HYPOS], // SKYRAT EDIT + CAT_DARTS = GLOB.reagent_containers[CAT_DARTS], // SKYRAT EDIT ) return containers @@ -488,6 +490,10 @@ item_name_default = "[master_reagent.name] [item_name_default]" if(!(initial(selected_container.reagent_flags) & OPENCONTAINER)) // Closed containers get both reagent name and units in the name item_name_default = "[master_reagent.name] [item_name_default] ([volume_in_each]u)" + // SKYRAT EDIT ADDITION START - Autonamed hyposprays/smartdarts + if(ispath(selected_container, /obj/item/reagent_containers/cup/vial) || ispath(selected_container, /obj/item/reagent_containers/syringe/smartdart)) + item_name_default = "[master_reagent.name] [item_name_default]" + // SKYRAT EDIT ADDITION END var/item_name = tgui_input_text(usr, "Container name", "Name",