Fooooooooox (#23661)

This commit is contained in:
DGamerL
2024-01-14 12:28:03 +00:00
committed by GitHub
parent 50b6b5e7d1
commit 82bfdceb1b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
resistance_flags = FLAMMABLE
var/obj/item/seeds/seed = null // type path, gets converted to item on New(). It's safe to assume it's always a seed item.
/obj/item/grown/Initialize(mapload, newloc, obj/item/seeds/new_seed = null)
/obj/item/grown/Initialize(mapload, obj/item/seeds/new_seed = null)
. = ..()
create_reagents(50)
@@ -24,7 +24,7 @@
if(seed)
for(var/datum/plant_gene/trait/T in seed.genes)
T.on_new(src, newloc)
T.on_new(src)
if(istype(src, seed.product)) // no adding reagents if it is just a trash item
seed.prepare_result(src)
+1 -1
View File
@@ -146,7 +146,7 @@
var/output_loc = parent.Adjacent(user) ? user.loc : parent.loc // Needed for TK
var/product_name
for(var/i in 1 to getYield())
var/obj/item/reagent_containers/food/snacks/grown/produce = new product(output_loc, src)
var/obj/item/produce = new product(output_loc, src)
if(!produce)
return