Refactors some reagent lists into global list

Fixes an oversight with fly amanita from the BAYBOTANY to TGBOTANY change.
This commit is contained in:
Desolate
2018-09-16 17:20:21 -05:00
parent 72a0769def
commit 7d78fe93bf
11 changed files with 51 additions and 36 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
owner.adjustToxLoss(0.1 * PROCESS_ACCURACY)
// Can't cope with toxins at all
for(var/toxin in list("toxin", "plasma", "sacid", "facid", "cyanide", "amanitin", "carpotoxin"))
for(var/toxin in GLOB.liver_toxins)
if(owner.reagents.has_reagent(toxin))
owner.adjustToxLoss(0.3 * PROCESS_ACCURACY)