From f6b96a818e663985880fb4700616aeb325a556c9 Mon Sep 17 00:00:00 2001
From: Fermi <>
Date: Sun, 15 Sep 2019 00:55:40 +0100
Subject: [PATCH] Update
---
code/modules/reagents/chem_wiki_render.dm | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/code/modules/reagents/chem_wiki_render.dm b/code/modules/reagents/chem_wiki_render.dm
index 49c65f3565..6495b97404 100644
--- a/code/modules/reagents/chem_wiki_render.dm
+++ b/code/modules/reagents/chem_wiki_render.dm
@@ -98,7 +98,7 @@
outstring += "
"
for(var/R2 in CR.required_reagents)
R3 = GLOB.chemical_reagents_list[R2]//What a convoluted mess
- outstring += "- [R3.name]: [CR.required_reagents[R3.id]]u
"
+ outstring += "- [R3.name]: [CR.required_reagents[R3.id]]u
"
if(CR.required_catalysts)
for(var/R2 in CR.required_catalysts)
R3 = GLOB.chemical_reagents_list[R2]
@@ -118,7 +118,7 @@
if(CR)
if(CR.FermiChem)
switch(CR.ThermicConstant)
- if(-INFINITY to -9.9)
+ if(-INFINITY to -9.9)
outstring += "- Extremely endothermic
"
if(-9.9 to -4.9)
outstring += "- Very endothermic
"
@@ -137,7 +137,9 @@
//if(CR.cheesey)
//outstring += "- Dangerously Cheesey
"
- outstring += "
| "
+ outstring += "| "
+ else
+ outstring += " | "
//Description, OD, Addict, Meta
outstring += "[R.description] | - Metabolism_rate: [R.metabolization_rate/2]u/s
[(R.overdose_threshold?"- Overdose: [R.overdose_threshold]u
":"")] [(R.addiction_threshold?"- Addiction: [R.addiction_threshold]u
":"")] "
@@ -176,11 +178,8 @@
if(CR.required_catalysts)
for(var/R2 in CR.required_catalysts)
R3 = GLOB.chemical_reagents_list[R2]
- outstring += "- [R3.name]: [CR.required_catalysts[R3.id]]u
"
- outstring += "
| "
-
- //description
- outstring += " fill in manually | "
+ outstring += "- Catalyst: [R3.name]: [CR.required_catalysts[R3.id]]u
"
+ outstring += "
| "
//Reaction vars
if(CR.FermiChem)
@@ -192,5 +191,8 @@
if(CR.mob_react)
outstring += "- Can react in mob: Yes
"
- outstring += "
|\n"
+ //description
+ outstring += "| fill in manually "
+
+ outstring += "