[MIRROR] browse to browser continued (#11088)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-06-18 22:11:21 +02:00
committed by GitHub
co-authored by Kashargul
parent 2a0bb3120b
commit 590a653d5a
38 changed files with 203 additions and 319 deletions
@@ -42,9 +42,10 @@
if(src.occupant)
dat += "[src.ready ? "<A href='byond://?src=\ref[src];implant=1'>Implant</A>" : "Recharging"]<BR>"
user.set_machine(src)
user << browse("<html>[dat]</html>", "window=implant")
onclose(user, "implant")
var/datum/browser/popup = new(user, "implant", "Implant")
popup.set_content(dat)
popup.open()
/obj/machinery/implantchair/Topic(href, href_list)
if((get_dist(src, usr) <= 1) || isAI(usr))
+4 -3
View File
@@ -26,9 +26,10 @@
dat += span_bold("Four uses use them wisely:") + "<BR>"
dat += "<A href='byond://?src=\ref[src];spell_teleport=1'>Teleport</A><BR>"
dat += "Kind regards,<br>Wizards Federation<br><br>P.S. Don't forget to bring your gear, you'll need it to cast most spells.<HR>"
user << browse("<html>[dat]</html>", "window=scroll")
onclose(user, "scroll")
return
var/datum/browser/popup = new(user, "scroll", "Scroll")
popup.set_content(dat)
popup.open()
/obj/item/teleportation_scroll/Topic(href, href_list)
..()