Makes a bunch of UI's use /datum/browser

This commit is contained in:
monster860
2016-07-10 09:19:14 -04:00
parent 1bdc353dff
commit 10292105ad
32 changed files with 180 additions and 137 deletions
+3 -1
View File
@@ -79,7 +79,9 @@
dat += text("Bluespace crystals: [amt_bluespace]<br>")
dat += text("<br><br><A href='?src=\ref[src];removeall=1'>Empty box</A>")
user << browse("[dat]", "window=orebox")
var/datum/browser/popup = new(user, "orebox", name, 400, 400)
popup.set_content(dat)
popup.open()
return
/obj/structure/ore_box/Topic(href, href_list)