diff --git a/code/modules/hydroponics/hydroitemdefines.dm b/code/modules/hydroponics/hydroitemdefines.dm index 030a8689a9..125ab8b4ca 100644 --- a/code/modules/hydroponics/hydroitemdefines.dm +++ b/code/modules/hydroponics/hydroitemdefines.dm @@ -4,8 +4,7 @@ desc = "A scanner used to evaluate a plant's various areas of growth, and genetic traits." icon = 'icons/obj/device.dmi' icon_state = "hydro" - inhand_icon_state = "analyzer" - worn_icon_state = "plantanalyzer" + item_state = "analyzer" lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi' righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi' w_class = WEIGHT_CLASS_TINY diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index 92b7fd6149..2dc80cd8fc 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -185,9 +185,10 @@ obj/item/seeds/proc/is_gene_forbidden(typepath) var/output_loc = parent.Adjacent(user) ? user.loc : parent.loc //needed for TK ///Name of the grown products. var/product_name - ///The Number of products produced by the plant, typically the yield. Modified by Densified Chemicals. + ///The Number of products produced by the plant, typically the yield. var/product_count = getYield() - while(t_amount < product_count) + + while(t_amount < product_count) var/obj/item/reagent_containers/food/snacks/grown/t_prod if(instability >= 30 && (seed_flags & MUTATE_EARLY) && LAZYLEN(mutatelist) && prob(instability/3)) var/obj/item/seeds/new_prod = pick(mutatelist)