mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
TGUI Destination Tagger
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
set desc = "Tag yourself for delivery through the disposals system."
|
||||
set category = "Robot Commands"
|
||||
|
||||
var/new_tag = input("Select the desired destination.", "Set Mail Tag", null) as null|anything in tagger_locations
|
||||
var/new_tag = input("Select the desired destination.", "Set Mail Tag", null) as null|anything in GLOB.tagger_locations
|
||||
|
||||
if(!new_tag)
|
||||
mail_destination = ""
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
data["fabricator"] = dronefab
|
||||
data["fabPower"] = dronefab?.produce_drones
|
||||
|
||||
data["areas"] = tagger_locations
|
||||
data["areas"] = GLOB.tagger_locations
|
||||
data["selected_area"] = "[drone_call_area]"
|
||||
|
||||
return data
|
||||
@@ -65,7 +65,7 @@
|
||||
switch(action)
|
||||
if("set_dcall_area")
|
||||
var/t_area = params["area"]
|
||||
if(!t_area || !(t_area in tagger_locations))
|
||||
if(!t_area || !(t_area in GLOB.tagger_locations))
|
||||
return
|
||||
|
||||
drone_call_area = t_area
|
||||
|
||||
Reference in New Issue
Block a user