mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Fooooooooox (#23661)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user