Exact Additions to make:
gui.rpy:
===================
Line 76
## The font used for naff's text. define gui.naff_text_font = gui.preference("naff_text_font", "fonts/beer_money.ttf") ## The font used for naff's name. define gui.naff_name_font = gui.preference("naff_name_font", "fonts/beer_money_names.ttf")
===================
This is to add a hide button to the game.
screens.rpy in the 2 quick menu sections. the first is for desktop users, who can press h or middle mouse button already, but the option is here. the second is for mobile users.:
=================== Line 262: textbutton _("Hide") action HideInterface() Line 1437: textbutton _("Hide") action HideInterface()
===================
Exact Changes to make:
gui.rpy:
===================
Line69: define gui.text_font = gui.preference("font_1", "fonts/dum1.ttf") changes to define gui.text_font = gui.preference("text_font", "fonts/dum1.ttf") Line72: define gui.name_text_font = gui.preference("font_2", "fonts/KELMSCOT.TTF") changes to define gui.name_text_font = gui.preference("name_text_font", "fonts/KELMSCOT.TTF") Line75: define gui.interface_text_font = gui.preference("font_3", "fonts/KELMSCOT.TTF") changes to define gui.interface_text_font = gui.preference("interface_text_font", "fonts/KELMSCOT.TTF") Line 176: define gui.button_text_font = "fonts/Zamolxis-V.ttf" changes to define gui.button_text_font = gui.preference("button_text_font", "fonts/Zamolxis-V.ttf")
This allows the button font to be changed too.
I changed these to have more descriptive names, to make managing them easier.
===================
screens.rpy:
===================
Line740: style_prefix "check" changes to style_prefix "radio" Line742: textbutton _("Default") action [gui.SetPreference("font_1", "fonts/dum1.ttf"), gui.SetPreference("font_2", "fonts/KELMSCOT.TTF"), gui.SetPreference("font_3", "fonts/KELMSCOT.TTF")] changes to textbutton _("Default") action [gui.SetPreference("text_font", "fonts/dum1.ttf"), gui.SetPreference("name_text_font", "fonts/KELMSCOT.TTF"), gui.SetPreference("interface_text_font", "fonts/KELMSCOT.TTF"), gui.SetPreference("button_text_font", "fonts/Zamolxis-V.ttf"), gui.SetPreference("naff_text_font", "fonts/beer_money.ttf"), gui.SetPreference("naff_name_font", "fonts/beer_money_names.ttf")] Line743: textbutton _("OpenDyslexic") action [ gui.SetPreference("font_1", "OpenDyslexic.otf"), gui.SetPreference("font_2", "OpenDyslexic.otf"), gui.SetPreference("font_3", "OpenDyslexic.otf")] changes to textbutton _("OpenDyslexic") action [ gui.SetPreference("text_font", "OpenDyslexic.otf"), gui.SetPreference("name_text_font", "OpenDyslexic.otf"), gui.SetPreference("interface_text_font", "OpenDyslexic.otf"), gui.SetPreference("button_text_font", "OpenDyslexic.otf"), gui.SetPreference("naff_text_font", "OpenDyslexic.otf"), gui.SetPreference("naff_name_font", "OpenDyslexic.otf")]
I used OpenDyslexic as an example font here, as it is what was being changed to, but it should work for other fonts too.
I also included changes to allow for the button font to be changed too.
===================
Character_names.rpy:
===================
In all of the naff charater definitions:
what_font="fonts/beer_money.ttf", who_font="fonts/beer_money_names.ttf" changes to what_prefix="{font=[gui.naff_text_font]}", who_prefix="{font=[gui.naff_name_font]}"
===================