mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-23 20:56:47 +01:00
15 lines
420 B
Plaintext
15 lines
420 B
Plaintext
/obj/item/seeds/proc/spawn_product(output_loc)
|
|
var/obj/item/reagent_containers/food/snacks/grown/t_prod = new product(output_loc, src)
|
|
if(plantname != initial(plantname))
|
|
t_prod.name = lowertext(plantname)
|
|
if(productdesc)
|
|
t_prod.desc = productdesc
|
|
/* Why is this a thing? Who put this here.. I am confused
|
|
t_prod.seed.name = name
|
|
t_prod.seed.desc = desc
|
|
t_prod.seed.plantname = plantname
|
|
*/
|
|
|
|
return t_prod
|
|
|