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
@@ -45,8 +45,10 @@
var/mob/M = monster[i]
var/name = capitalize(initial(M.name))
dat += "<BR><a href='byond://?src=\ref[src];path=[monster[i]]'>[name]</a> - [monster_info[i]]</BR>"
user << browse(dat,"window=monstermanual")
onclose(user,"monstermanual")
var/datum/browser/manual_win = new(user, "monstermanual", capitalize_first_letters(name))
manual_win.set_content(dat)
manual_win.open()
/obj/item/monster_manual/Topic(href, href_list)
..()