I noticed that there was supposed to be hint text for opening the portal back to town (ctrlg), but that it didn't seem to be rendering. It looks like there are two separate bugs independently making it not work:
First, it renders the hint letter text first, and then renders the book text over it, making it covered up .I think you can safely just move the "extra_render" case to after the main text to fix this. I'm not certain, but it seems all the other "extra_render"s are not for books, making them irrelevant.
Second, it looks like you made all text red when you are low health, and when you get to this bookcase, you are low health. This means that you have to actually solve the puzzle that this hints toward before you can heal and see the text. I would imagine the least disruptive solution would be to make it so that rather than making the hint text red, it instead toggles the color, making it white on red that time. That said, personally, I think book text being red when you are low health is a strange choice, so it might be better to just make that always white.
I noticed that there was supposed to be hint text for opening the portal back to town (ctrlg), but that it didn't seem to be rendering. It looks like there are two separate bugs independently making it not work:
First, it renders the hint letter text first, and then renders the book text over it, making it covered up .I think you can safely just move the "extra_render" case to after the main text to fix this. I'm not certain, but it seems all the other "extra_render"s are not for books, making them irrelevant.
Second, it looks like you made all text red when you are low health, and when you get to this bookcase, you are low health. This means that you have to actually solve the puzzle that this hints toward before you can heal and see the text. I would imagine the least disruptive solution would be to make it so that rather than making the hint text red, it instead toggles the color, making it white on red that time. That said, personally, I think book text being red when you are low health is a strange choice, so it might be better to just make that always white.