So one of the major mechanics in my story is that gloal pagescripts cause re-viewed pages to have all the text greyed out and italicized, except for new comments by the protagonist (which are written in regular fonts). I've already coded this onto all of the pages, but realized recenty that this is also causing item descriptions to be greyed out and italicized when re-viewing the page.
I don't want this to happen. So I tried using CSS in the item scripts to force the item description to have a regular font. This didn't work. I think this might be because item scripts are only set to run when a player 'uses' the item (which isn't the intention here - I never want the item descriptions to be italicized), or because pagescripts are set to run after item scripts. Next, I tried editing the HTML of the item description itself. This also didn't work.
I've included some pictures to demonstrate what I'm talking about below. I would very much prefer a solution that doesn't involve editing the pagescripts, since I've already made them for over two hundred pages.
Sample page [seeing for the first time, item description open]:
Sample page: [seeing for the second time, item description open]
The Pagescript:
The HTML in the item description:
The code in the item script (I don't know if using "pagetext" is right, but there's no way to just put a 'style' command.)