text be gone (#22929)

This commit is contained in:
Vi3trice
2023-10-26 05:39:11 -04:00
committed by GitHub
parent a1206bbd89
commit 85353104f7
35 changed files with 99 additions and 101 deletions
+3 -3
View File
@@ -31,14 +31,14 @@
if(!machine)
return
dat += text("<b>Stacking unit console</b><br><br>")
dat += "<b>Stacking unit console</b><br><br>"
for(var/O in machine.stack_list)
s = machine.stack_list[O]
if(s.amount > 0)
dat += text("[capitalize(s.name)]: [s.amount] <A href='?src=[UID()];release=[s.type]'>Release</A><br>")
dat += "[capitalize(s.name)]: [s.amount] <A href='?src=[UID()];release=[s.type]'>Release</A><br>"
dat += text("<br>Stacking: [machine.stack_amt]<br><br>")
dat += "<br>Stacking: [machine.stack_amt]<br><br>"
user << browse("[dat]", "window=console_stacking_machine")
+2 -2
View File
@@ -39,7 +39,7 @@
show_contents(user)
/obj/structure/ore_box/proc/show_contents(mob/user)
var/dat = text("<b>The contents of the ore box reveal...</b><br>")
var/dat = "<b>The contents of the ore box reveal...</b><br>"
var/list/assembled = list()
for(var/obj/item/stack/ore/O in src)
assembled[O.type] += O.amount
@@ -47,7 +47,7 @@
var/obj/item/stack/ore/O = type
dat += "[initial(O.name)] - [assembled[type]]<br>"
dat += text("<br><br><A href='?src=[UID()];removeall=1'>Empty box</A>")
dat += "<br><br><A href='?src=[UID()];removeall=1'>Empty box</A>"
var/datum/browser/popup = new(user, "orebox", name, 400, 400)
popup.set_content(dat)
popup.open(0)