Sorry about the typo in the title. just noticed it now.
Currently menu 12 isn't assigned to anything (0=walls 1-9=normal elements, 10=life, 11=tools, 13 and 14 are disabled menus that need a mod to enable and carry experimental elements). What we need is menu 12 being "favorites" menu.
To assign an element to the favorites menu, create an autorun.lua file and then put your most used elements in that using the Lua command tpt.el.NameOfElementToPutInFavorites.menusection=12 For example, if you wanted METL, GLAS, DEUT, PLUT, and NEUT in the favorites menu, you would put these lines in your autorun Lua script file: tpt.el.metl.menusection=12 tpt.el.glas.menusection=12 tpt.el.deut.menusection=12 tpt.el.plut.menusection=12 tpt.el.neut.menusection=12
This will remove the elements from their default menu sections and add them to the favorites menu. It's ok to do it this way because if they are your favorite you'd probably prefer to find them all in one menu and wouldn't even bother to check for them in their original menus if the option was available to put them in one menu. Therefore it is unlikely a user would care if the element had been removed from the original menus when placed in the favorites menu.
By default, the favorites menu would be empty as it would take Lua script to add elements to the menu.
There is no way to get to active_menu 12, so this won't work. You should try my lua script. It's on page 3 of the lua forum titled favorites menu in lua, and does tons of other usefull stuff. Also my mod and powdersim both have this too.
I tried to use menu 12 for my lua mod, and even designed a new icon which would appear above walls (it's in the source still), but then simon removed the ability to get there.
I think you guys are missing the point. When I said "how to implement" I meant how the CODERS/DEVS of TPT can implement it (in other words this is a "feature suggestion", and of course the develoopers can do it, just that Lua can't yet make new menus, but surely the developers can make new menus). However when suggested They kept saying "it keeps crashing" and I'm saying in reply to them by making this thread, "don't make unique code designed to handle a favoriting system, since that seems to be what's been giving you guys trouble, instead just make a new menu and have it be empty by default, and let the users of TPT use Lua code in autorun.lua to populate the menu with their favorite elements".