Adds feedback gathering for a hell of a lot more things.

This commit is contained in:
Iamgoofball
2015-06-09 21:52:46 -07:00
parent b873176a77
commit f992eb1af0
12 changed files with 34 additions and 4 deletions
+4 -2
View File
@@ -802,7 +802,7 @@
var/t_amount = 0
var/list/result = list()
var/output_loc = parent.Adjacent(user) ? user.loc : parent.loc //needed for TK
var/product_name
while(t_amount < getYield())
var/obj/item/weapon/reagent_containers/food/snacks/grown/t_prod = new product(output_loc, potency)
result.Add(t_prod) // User gets a consumable
@@ -815,7 +815,9 @@
t_prod.potency = potency
t_prod.plant_type = plant_type
t_amount++
product_name = t_prod.name
if(getYield() >= 1)
feedback_add_details("food_harvested","[product_name]|[getYield()]")
parent.update_tray()
return result