Skip to content

Commit

Permalink
* Set the cooldown, for creating virus culture bottles, from 100 to …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
Giacom committed Dec 18, 2013
1 parent 37526d5 commit 8e9c5c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions code/modules/reagents/Chemistry-Machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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))
Expand All @@ -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()
Expand Down
5 changes: 3 additions & 2 deletions code/modules/reagents/Chemistry-Recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 8e9c5c1

Please sign in to comment.