--TODO:Make this plantable ITEM = {} ITEM.Name = "Sprouts" ITEM.Description = "Something you can craft with!" ITEM.Icon = "test.png" ITEM.UniqueData = false ITEM.GrowTime = math.random( 60, 180 ) ITEM.OnGrow = function(self, aor, owner) local ent = ents.Create( "gms_tree" ) ent:SetPos( self:GetPos() ) ent:Spawn() ent.GMSAutoSpawned = true ent:SetNetworkedString( "Owner", "World" ) end genericMakePlantable(ITEM) genericMakeDroppable(ITEM) GMS.RegisterResource(ITEM)