[MIRROR] browse to browser part 1 (#11017)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-06-06 07:18:23 -07:00
committed by GitHub
parent d7cd22d2d0
commit 0fc7bb29d1
36 changed files with 428 additions and 423 deletions

View File

@@ -72,8 +72,10 @@
dat += "<A href='byond://?src=\ref[src];rune=armor'>Sa tatha najin</A> - Allows you to summon armoured robes and an unholy blade<BR>"
dat += "<A href='byond://?src=\ref[src];rune=soulstone'>Kal om neth</A> - Summons a soul stone<BR>"
dat += "<A href='byond://?src=\ref[src];rune=construct'>Da A'ig Osk</A> - Summons a construct shell for use with captured souls. It is too large to carry on your person.<BR>"
usr << browse("<html>[dat]</html>", "window=id_com;size=350x200")
return
var/datum/browser/popup = new(usr, "id_com", "Talisman", 350, 200)
popup.set_content(dat)
popup.open()
/obj/item/paper/talisman/Topic(href, href_list)

View File

@@ -68,7 +68,9 @@
if(!help)
help = "Error loading help (file /ingame_manuals/malf_ai.html is probably missing). Please report this to server administration staff."
user << browse(help, "window=malf_ai_help;size=600x500")
var/datum/browser/popup = new(user, "malf_ai_help", "Malf AI Help", 600, 500)
popup.set_content(help)
popup.open()
// Verb: ai_select_research()

View File

@@ -43,7 +43,10 @@ mob
hsbpanel += "- <a href=\"?\ref[src];hsb=[T]\">[hrefs[T]]</a><br>"
if(hsboxspawn)
hsbpanel += "- <a href=\"?\ref[src];hsb=hsbobj\">Spawn Object</a><br><br>"
usr << browse("<html>[hsbpanel]</html>", "window=hsbpanel")
var/datum/browser/popup = new(usr, "hsbpanel", "HSB Panel")
popup.set_content(hsbpanel)
popup.open()
Topic(href, href_list)
if(!(src.owner == usr.ckey)) return
if(!usr) return //I guess this is possible if they log out or die with the panel open? It happened.