Fixes an issue with bees using bluespace powers to modify plants globally.

This commit is contained in:
Zuhayr
2015-02-22 16:18:33 +10:30
parent 640322bffc
commit ac233b9db7
2 changed files with 11 additions and 2 deletions
+4
View File
@@ -188,8 +188,12 @@
if(prob(10))
H.lastcycle -= 5
if(prob(10))
if(!isnull(seed_types[H.seed.name]))
H.seed = H.seed.diverge(-1)
H.seed.lifespan = max(initial(H.seed.lifespan) * 1.5, H.seed.lifespan + 1)
if(prob(10))
if(!isnull(seed_types[H.seed.name]))
H.seed = H.seed.diverge(-1)
H.seed.endurance = max(initial(H.seed.endurance) * 1.5, H.seed.endurance + 1)
if(H.toxins && prob(10))
H.toxins = min(0, H.toxins - 1)
+7 -2
View File
@@ -643,8 +643,13 @@ proc/populate_seed_list()
if(consume_gasses) new_seed.consume_gasses = consume_gasses.Copy()
if(exude_gasses) new_seed.exude_gasses = exude_gasses.Copy()
new_seed.seed_name = "[(roundstart ? "[(modified ? "modified" : "mutant")] " : "")][seed_name]"
new_seed.display_name = "[(roundstart ? "[(modified ? "modified" : "mutant")] " : "")][display_name]"
if(modified != -1)
new_seed.seed_name = "[(roundstart ? "[(modified ? "modified" : "mutant")] " : "")][seed_name]"
new_seed.display_name = "[(roundstart ? "[(modified ? "modified" : "mutant")] " : "")][display_name]"
else
new_seed.seed_name = "[seed_name]"
new_seed.display_name = "[display_name]"
new_seed.seed_noun = seed_noun
new_seed.requires_nutrients = requires_nutrients