One book I read did a similar thing, but managed to do it spoiler-free. There was a magical crystal, I think, that did some magical things. When you pick it up, the book says "To use the crystal, look at paragraph (current paragraph + 20)" and the author actually managed to do that for the most paragraphs from then onwards
It's on youtube, very cool for 1983