Browser Window Stuff (#9960)

This commit is contained in:
Geeves
2020-09-14 11:00:14 +02:00
committed by GitHub
parent af44e8eb19
commit 5b87eb39d3
27 changed files with 242 additions and 248 deletions
+4 -3
View File
@@ -109,9 +109,10 @@
dat += "</table><hr>"
dat += "Currently displaying [show_all_ores ? "all ore types" : "only available ore types"]. <A href='?src=\ref[src];toggle_ores=1'>\[[show_all_ores ? "show less" : "show more"]\]</a></br>"
dat += "The ore processor is currently <A href='?src=\ref[src];toggle_power=1'>[(machine.active ? "<font color='green'>processing</font>" : "<font color='red'>disabled</font>")]</a>."
user << browse(dat, "window=processor_console;size=400x500")
onclose(user, "processor_console")
return
var/datum/browser/processor_win = new(user, "processor_console", capitalize_first_letters(name))
processor_win.set_content(dat)
processor_win.open()
/obj/machinery/mineral/processing_unit_console/Topic(href, href_list)
if(..())