mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Tweaks and fixes for growth and icon generation.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user