--The grain seeds ITEM = {} ITEM.Name = "Grain Seeds" ITEM.Description = "Something you can plant, or mash up into flour" ITEM.Icon = "items/seed_grain.png" ITEM.UniqueData = false --Things needed to make something plantable ITEM.GrowTime = 1 ITEM.OnGrow = function(self, aor, owner) GAMEMODE.MakeGenericPlant( owner, self:GetPos() + Vector( math.random( -10, 10 ), math.random( -10, 10 ), 0 ), "models/props_foliage/cattails.mdl" ) end genericMakePlantable(ITEM) genericMakeDroppable(ITEM) GMS.RegisterResource(ITEM)