Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

hi! i've been using this for a game for the toxic yuri vn jam, and it's been awesome! super helpful with putting lil lore dumps in in a super convenient way.

however, when checking lint as of recently, i keep getting this error. i was wondering if you could help me figure out what's going on with the plugin, if you have the time!

I'm sorry, but an uncaught exception occurred.
While running game code:
   File "game/inline_tooltip.rpy", line 136, in apply_inline_tooltip
     text = tooltip.replace_tooltip(text)
            ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
   File "game/inline_tooltip.rpy", line 86, in replace_tooltip
     if key in text and not self.force_ignore_text(unsubstituted_text, key) and self.test_surrounding_index(text, key, unsubstituted_text):
                            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
    File "game/inline_tooltip.rpy", line 93, in force_ignore_text
     start_index = unsubstituted_text.index(key)
                   ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
 ValueError: substring not found
(+1)

Helloooo, thank you for the report! I had a wee test around and I think it was to do with a variable being surrounded in a {notooltip}{/notooltip} tag. I've just updated the .rpy file here if you wanna copy/paste the code in and see if that fixes it!

(also ooooo my code being used for toxic yuri is the highest compliment!)

thank you so much!!! that did the trick ^^

tbh i will probably end up using this plugin for absolutely everything i do, so thank you for all your hard work!