mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Text() away (#19850)
Refactored all the builtin text procs to use string interpolation instead. Added a linting for the above. This is based on, and should only be merged after, #19847
This commit is contained in:
@@ -141,9 +141,9 @@
|
||||
var/singleton/reagent/R = GET_SINGLETON(_R)
|
||||
dat += "<br> [B.reagents.reagent_volumes[_R]] units of [R.name], "
|
||||
if (check_beaker_mixing(B))
|
||||
dat += text("<A href='?src=[REF(src)];stop_mix=[i]'><font color='green'>Mixing</font></A> ")
|
||||
dat += "<A href='?src=[REF(src)];stop_mix=[i]'><font color='green'>Mixing</font></A> "
|
||||
else
|
||||
dat += text("<A href='?src=[REF(src)];mix=[i]'><span class='warning'>Not mixing</span></A> ")
|
||||
dat += "<A href='?src=[REF(src)];mix=[i]'><span class='warning'>Not mixing</span></A> "
|
||||
else
|
||||
dat += "nothing."
|
||||
dat += " \[<A href='?src=[REF(src)];eject=[i]'>Eject</A>\]<br>"
|
||||
|
||||
Reference in New Issue
Block a user