From 8e9c5c19c8ab960e9cf005748cbd2d63c3199dd9 Mon Sep 17 00:00:00 2001 From: Giacomand Date: Wed, 18 Dec 2013 17:33:03 +0000 Subject: [PATCH] * Set the cooldown, for creating virus culture bottles, from 100 to 5 seconds. * Bottles spawned through the Pandemic will have a random pixel_x/y. * The recipe to remove a symptom from a virus (synaptizine + blood) will now only require 1 unit of synaptizine. --- code/modules/reagents/Chemistry-Machinery.dm | 7 +++++-- code/modules/reagents/Chemistry-Recipes.dm | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/code/modules/reagents/Chemistry-Machinery.dm b/code/modules/reagents/Chemistry-Machinery.dm index 1ca5e5ccfdb..22bd853e340 100644 --- a/code/modules/reagents/Chemistry-Machinery.dm +++ b/code/modules/reagents/Chemistry-Machinery.dm @@ -519,7 +519,8 @@ obj/machinery/computer/pandemic/proc/replicator_cooldown(var/waittime) if(!src.wait) var/obj/item/weapon/reagent_containers/glass/bottle/B = new/obj/item/weapon/reagent_containers/glass/bottle(src.loc) if(B) - + B.pixel_x = rand(-3, 3) + B.pixel_y = rand(-3, 3) var/path = GetResistancesByIndex(text2num(href_list["create_vaccine"])) var/vaccine_type = path var/vaccine_name = "Unknown" @@ -548,6 +549,8 @@ obj/machinery/computer/pandemic/proc/replicator_cooldown(var/waittime) if(!wait) var/obj/item/weapon/reagent_containers/glass/bottle/B = new/obj/item/weapon/reagent_containers/glass/bottle(src.loc) B.icon_state = "bottle3" + B.pixel_x = rand(-3, 3) + B.pixel_y = rand(-3, 3) var/type = GetVirusTypeByIndex(text2num(href_list["create_virus_culture"]))//the path is received as string - converting var/datum/disease/D = null if(!ispath(type)) @@ -567,7 +570,7 @@ obj/machinery/computer/pandemic/proc/replicator_cooldown(var/waittime) B.desc = "A small bottle. Contains [D.agent] culture in synthblood medium." B.reagents.add_reagent("blood",20,data) src.updateUsrDialog() - replicator_cooldown(1000) + replicator_cooldown(50) else src.temp_html = "The replicator is not ready yet." src.updateUsrDialog() diff --git a/code/modules/reagents/Chemistry-Recipes.dm b/code/modules/reagents/Chemistry-Recipes.dm index d6d8bff0470..4e55436b7fc 100644 --- a/code/modules/reagents/Chemistry-Recipes.dm +++ b/code/modules/reagents/Chemistry-Recipes.dm @@ -468,7 +468,7 @@ datum id = "mixvirus" result = "blood" required_reagents = list("virusfood" = 5) - required_catalysts = list("blood") + required_catalysts = list("blood" = 5) var/level_min = 0 var/level_max = 2 @@ -501,7 +501,8 @@ datum name = "Devolve Virus" id = "remvirus" - required_reagents = list("synaptizine" = 5) + required_reagents = list("synaptizine" = 1) + required_catalysts = list("blood" = 1) on_reaction(var/datum/reagents/holder, var/created_volume)