Merge pull request #7716 from Citadel-Station-13/kevinz000-patch-7

cuts glowshroom maximum structural health by 7
This commit is contained in:
deathride58
2018-11-16 23:20:16 -05:00
committed by GitHub
+3 -3
View File
@@ -9,7 +9,7 @@
icon = 'icons/obj/lighting.dmi'
icon_state = "glowshroom" //replaced in New
layer = ABOVE_NORMAL_TURF_LAYER
max_integrity = 30
max_integrity = 5
var/delay = 1200
var/floor = 0
var/generation = 1
@@ -56,8 +56,8 @@
myseed.adjust_production(rand(-3,6))
myseed.adjust_endurance(rand(-3,6))
delay = delay - myseed.production * 100 //So the delay goes DOWN with better stats instead of up. :I
obj_integrity = myseed.endurance
max_integrity = myseed.endurance
obj_integrity = myseed.endurance / 7
max_integrity = myseed.endurance / 7
var/datum/plant_gene/trait/glow/G = myseed.get_gene(/datum/plant_gene/trait/glow)
if(ispath(G)) // Seeds were ported to initialize so their genes are still typepaths here, luckily their initializer is smart enough to handle us doing this
myseed.genes -= G