* 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.
This commit is contained in:
Giacomand
2013-12-18 17:33:03 +00:00
parent 37526d5cb9
commit 8e9c5c19c8
2 changed files with 8 additions and 4 deletions
+5 -2
View File
@@ -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()
+3 -2
View File
@@ -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)