Borers can now cancel out from injecting chemicals.

This commit is contained in:
PsiOmega
2014-11-09 20:54:41 +01:00
parent 6b0049391f
commit 24be641f5b

View File

@@ -214,9 +214,9 @@
if(chemicals < 50)
src << "You don't have enough chemicals!"
var/chem = input("Select a chemical to secrete.", "Chemicals") in list("bicaridine","tramadol","hyperzine","alkysine")
var/chem = input("Select a chemical to secrete.", "Chemicals") as null|anything in list("alkysine","bicaridine","hyperzine","tramadol")
if(chemicals < 50 || !host || controlling || !src || stat) //Sanity check.
if(!chem || chemicals < 50 || !host || controlling || !src || stat) //Sanity check.
return
src << "\red <B>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</B>"