mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
Borers can now cancel out from injecting chemicals.
This commit is contained in:
@@ -214,9 +214,9 @@
|
|||||||
if(chemicals < 50)
|
if(chemicals < 50)
|
||||||
src << "You don't have enough chemicals!"
|
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
|
return
|
||||||
|
|
||||||
src << "\red <B>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</B>"
|
src << "\red <B>You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.</B>"
|
||||||
|
|||||||
Reference in New Issue
Block a user