mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
powder that makes you say yes
This commit is contained in:
@@ -324,7 +324,6 @@
|
|||||||
dat += {"<B>[capitalize(O)]:</B> [N] [items_measures[O]]<BR>"}
|
dat += {"<B>[capitalize(O)]:</B> [N] [items_measures[O]]<BR>"}
|
||||||
else
|
else
|
||||||
dat += {"<B>[capitalize(O)]:</B> [N] [items_measures_p[O]]<BR>"}
|
dat += {"<B>[capitalize(O)]:</B> [N] [items_measures_p[O]]<BR>"}
|
||||||
|
|
||||||
for (var/datum/reagent/R in reagents.reagent_list)
|
for (var/datum/reagent/R in reagents.reagent_list)
|
||||||
var/display_name = R.name
|
var/display_name = R.name
|
||||||
if (R.id == "capsaicin")
|
if (R.id == "capsaicin")
|
||||||
@@ -332,7 +331,6 @@
|
|||||||
if (R.id == "frostoil")
|
if (R.id == "frostoil")
|
||||||
display_name = "Coldsauce"
|
display_name = "Coldsauce"
|
||||||
dat += {"<B>[display_name]:</B> [R.volume] unit\s<BR>"}
|
dat += {"<B>[display_name]:</B> [R.volume] unit\s<BR>"}
|
||||||
|
|
||||||
if (items_counts.len==0 && reagents.reagent_list.len==0)
|
if (items_counts.len==0 && reagents.reagent_list.len==0)
|
||||||
dat = {"<B>The microwave is empty</B><BR>"}
|
dat = {"<B>The microwave is empty</B><BR>"}
|
||||||
else
|
else
|
||||||
@@ -341,7 +339,6 @@
|
|||||||
<A href='?src=\ref[src];action=cook'>Turn on!<BR>\
|
<A href='?src=\ref[src];action=cook'>Turn on!<BR>\
|
||||||
<A href='?src=\ref[src];action=dispose'>Eject ingredients!<BR>\
|
<A href='?src=\ref[src];action=dispose'>Eject ingredients!<BR>\
|
||||||
"}
|
"}
|
||||||
|
|
||||||
user << browse("<HEAD><TITLE>Microwave Controls</TITLE></HEAD><TT>[dat]</TT>", "window=microwave")
|
user << browse("<HEAD><TITLE>Microwave Controls</TITLE></HEAD><TT>[dat]</TT>", "window=microwave")
|
||||||
onclose(user, "microwave")
|
onclose(user, "microwave")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user