Hello, sorry for bothering you as this is only partially related to your snippets, but do you have any resources or articles to understand how say_menu_text_filter filters work at a more technical level? I paid for both of your inline code snippets and use them all the time.
I get errors anytime I try to use more than two classes that add custom text filters. I'm currently using your inline conditions code and speech pauses (on itch.io). I had to take out your inline python functions and inline tooltips (on itch.io) so the project could run. I looked at your solutions for adding new filters in both of your inline code snippets and tried to implement something similar with the other snippets and I run into recursion errors. I've tried other things, but I haven't figured out how to get more than two filters to run. From what I can tell, any combination of the above mentioned custom filters work as long as there are only two of them.
Viewing post in Need Support? Post here!
The problem is just that Ren'Py only has one variable for say_menu_text_filter as opposed to a list of them, so you can only have one function at a time. That said, the function you use is free to call other functions. That's how I handle adding the inline text filter. For a very basic example of how to chain multiple text filters:
init python:
def big_text_filter(s):
s = some_other_filter(s)
s = yet_another_filter_function(s)
s = some_third_filter_function(s)
return s
define config.say_menu_text_filter = big_text_filterHope that helps!