I'm working on a project right now and I find that I need to remove almost half of the options from the preferences menu and replace them with other things. I've been looking in the documentation and while I've found a lot of info about replacing buttons in the main menu or the game menu, I haven't seen much of anything about replacing things in the preferences menu.
It seems that you can place new buttons in the menu using the code:
Code: Select all
config.preferences['prefs_left'].append(
_Preference(
"Curse words",
"cuss",
[ ("Enabled", True, "True"),
("Disabled", False, "True") ],
base=persistent))Is there perhaps a page that I've missed or has anyone else done this and could point me in the right direction?