mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Fixes grown runtime spam
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
resistance_flags = FLAMMABLE
|
||||
origin_tech = "biotech=1"
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/grown/New(newloc, var/obj/item/seeds/new_seed = null)
|
||||
tastes = list(name = 1) // apples taste of apple, silly.
|
||||
..()
|
||||
/obj/item/reagent_containers/food/snacks/grown/Initialize (newloc, var/obj/item/seeds/new_seed)
|
||||
. = ..()
|
||||
tastes = list("[name]" = 1) // apples taste of apple, silly.
|
||||
if(new_seed)
|
||||
seed = new_seed.Copy()
|
||||
else if(ispath(seed))
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
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/New(newloc, var/obj/item/seeds/new_seed = null)
|
||||
..()
|
||||
/obj/item/grown/Initialize(newloc, var/obj/item/seeds/new_seed)
|
||||
. = ..()
|
||||
create_reagents(50)
|
||||
|
||||
if(new_seed)
|
||||
|
||||
Reference in New Issue
Block a user