Tweaks and fixes for growth and icon generation.

This commit is contained in:
Zuhayr
2015-01-29 01:57:51 +10:30
parent f978e782f1
commit 92d00eb87d
2 changed files with 2 additions and 2 deletions

View File

@@ -482,7 +482,7 @@ var/global/list/plant_icon_cache = list()
plant_icon_cache["[ikey]-[seed.plant_colour]"] = plant_overlay plant_icon_cache["[ikey]-[seed.plant_colour]"] = plant_overlay
overlays |= plant_overlay overlays |= plant_overlay
if(harvest) if(harvest && overlay_stage == seed.growth_stages)
ikey = "[seed.product_icon]" ikey = "[seed.product_icon]"
var/image/harvest_overlay = plant_icon_cache["product-[ikey]-[seed.product_colour]"] var/image/harvest_overlay = plant_icon_cache["product-[ikey]-[seed.product_colour]"]
if(!harvest_overlay) if(!harvest_overlay)

View File

@@ -1439,7 +1439,7 @@ proc/populate_seed_list()
product_icon = "grapes" product_icon = "grapes"
product_colour = "#BB6AC4" product_colour = "#BB6AC4"
plant_colour = "#378F2E" plant_colour = "#378F2E"
plant_icon = "grapes" plant_icon = "vine"
/datum/seed/grapes/green /datum/seed/grapes/green
name = "greengrapes" name = "greengrapes"