From 392bdd022f664e19d1c0b64f90e02b0c07e90422 Mon Sep 17 00:00:00 2001 From: cib Date: Mon, 5 Nov 2012 19:42:54 +0100 Subject: [PATCH] Removed the ability to create vira. This ability should return when virus2 is ported fully and the machinery is added to the map. This also fixes a possible exploit where you can supply a fake href and spawn a singularity instead of a virus(luckily it won't be added to the map though, but you can still trigger any New() proc you want) --- code/modules/reagents/Chemistry-Machinery.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/reagents/Chemistry-Machinery.dm b/code/modules/reagents/Chemistry-Machinery.dm index 1872120a24b..f8d22288bd5 100644 --- a/code/modules/reagents/Chemistry-Machinery.dm +++ b/code/modules/reagents/Chemistry-Machinery.dm @@ -548,6 +548,7 @@ src.temphtml = "The replicator is not ready yet." src.updateUsrDialog() return + /* else if (href_list["create_virus_culture"]) if(!wait) var/obj/item/weapon/reagent_containers/glass/bottle/B = new/obj/item/weapon/reagent_containers/glass/bottle(src.loc) @@ -568,6 +569,7 @@ src.temphtml = "The replicator is not ready yet." src.updateUsrDialog() return + */ else if (href_list["empty_beaker"]) beaker.reagents.clear_reagents() src.updateUsrDialog() @@ -629,7 +631,7 @@ for(var/datum/disease/D in Blood.data["viruses"]) if(!D.hidden[PANDEMIC]) - dat += "Disease Agent: [D?"[D.agent] - Create virus culture bottle":"none"]
" + dat += "Disease Agent: [D?"[D.agent]":"none"]
" dat += "Common name: [(D.name||"none")]
" dat += "Description: [(D.desc||"none")]
" dat += "Possible cure: [(D.cure||"none")]

"