diff --git a/code/_globalvars/lists/flavor_misc.dm b/code/_globalvars/lists/flavor_misc.dm
index f932bbb5bc3a..c8fa54349e0f 100644
--- a/code/_globalvars/lists/flavor_misc.dm
+++ b/code/_globalvars/lists/flavor_misc.dm
@@ -224,6 +224,16 @@ GLOBAL_LIST_INIT(TAGGERLOCATIONS, list("Disposals",
"Testing Range", "Toxins", "Dormitories", "Virology",
"Xenobiology", "Law Office","Detective's Office"))
+GLOBAL_LIST_INIT(TAGGERLOCATIONS_DEPARTMENTAL, list(
+ "Security" = list("Security", "Detective's Office", "HoS Office"),
+ "Medical" = list("Medbay", "Chemistry", "Genetics", "Virology", "CMO Office"),
+ "Science" = list("Research", "Robotics", "Xenobiology", "Toxins", "Testing Range", "RD Office"),
+ "Engineering" = list("Engineering", "Atmospherics", "CE Office"),
+ "Civilian" = list("Disposals", "Cargo Bay", "QM Office"),
+ "Service" = list("Bar", "Kitchen", "Hydroponics", "HoP Office"),
+ "Miscellaneous" = list("Dormitories", "Theatre", "Chapel", "Law Office", "Library")
+))
+
GLOBAL_LIST_INIT(station_prefixes, world.file2list("strings/station_prefixes.txt") + "")
GLOBAL_LIST_INIT(station_names, world.file2list("strings/station_names.txt") + "")
diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm
index d35b5054f142..b9311f141a3c 100644
--- a/code/modules/recycling/sortingmachinery.dm
+++ b/code/modules/recycling/sortingmachinery.dm
@@ -199,7 +199,7 @@
/obj/item/destTagger/ui_interact(mob/user, datum/tgui/ui)
ui = SStgui.try_update_ui(user,src,ui)
if(!ui)
- ui = new(user,src,"DestinationTagger")
+ ui = new(user, src, "DestinationTagger")
ui.open()
/obj/item/destTagger/ui_act(action,list/params)
@@ -213,7 +213,7 @@
/obj/item/destTagger/ui_data(mob/user)
var/list/data = list()
- data["destinations"] = GLOB.TAGGERLOCATIONS
- data["currentTag"] = currTag
+ data["destinations"] = GLOB.TAGGERLOCATIONS_DEPARTMENTAL
+ data["currentTag"] = currTag ? GLOB.TAGGERLOCATIONS[currTag] : "None"
return data
diff --git a/tgui/packages/tgui/interfaces/DestinationTagger.js b/tgui/packages/tgui/interfaces/DestinationTagger.js
index 0c9d82a2719b..638ac1789dfc 100644
--- a/tgui/packages/tgui/interfaces/DestinationTagger.js
+++ b/tgui/packages/tgui/interfaces/DestinationTagger.js
@@ -11,25 +11,30 @@ export const DestinationTagger = (props, context) => {
destinations,
} = data;
- const mapped_destinations = destinations.map(destination => {
- return (
-
- );
- });
-
return (
-
+
- {(currentTag) !== "" ? destinations[currentTag - 1] : "NONE"}
+ {currentTag}
- {mapped_destinations}
-
-
+ {
+ Object.entries(destinations).map((department, index) => {
+ let wa = department[0];
+ return(
+
+ {
+ department[1].map(destination => {
+ return();
+ })
+ }
+
+ );
+ })
+ }
);