Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

A great idea I'm sure many will get use out of! One thing I can mention is that it's actually perfectly fine to do

style say_dialogue:
    hyperlink_functions (inline_tooltip_styler, inline_tooltip_clicked, inline_tooltip_hovered)

in the inline_tooltip.rpy file - Ren'Py just collects all the style declarations with the same name into one style at the end. It can be a little confusing but it works out well here so there's one less step for users!

I did also want to warn that you may want to be careful with your find-and-replace code - since it doesn't account for punctuation/spacing or sort by word length, something like `Elves` will always match before `The Elves`, for example, and you might also run into situations where you include `_("elves")` as a key but it highlights "elves" inside "themselves".

Thank you for making this!

(+1)

Oh gosh, that's really good to know about the styles, thank you! And yeah the find and replace code was definitely a little shoddy haha, I'll be fixing it!

But also thank you so much for the comment, it means a lot to have someone I look up to in this community look at my code. Thank you so much for everything you do for us renpy devs!