If you're using M8r98a4f2's Complex Item Sorter and the Legendary Patcher plugin part of this mod this whole article becomes obsolete because the Legendary Patcher is able to do that automatically.
If you're in the process of creating a mod with custom legendary effects or you're using one and want to make it work with LEO's dynamic slot system you'll find a simply rundown below. The pictures are taken from the Crafting Framework/ECO article. They might not show the exact/current values but should get the point across. The text is accurate, though, and applies 100% to LEO.
Menus and first legendary effect:
1. Select your plugin and Dank_LEO.esp in the starting screen of FO4Edit (or zEdit, but this guide covers FO4Edit only). Once the files are fully loaded, right-click on your plugin and add Dank_LEO.esp as a master to it. Sometimes FO4Edit requires a restart to properly apply the new master.

2. Go to your OMODs (Object Modification) and select the legendary effect you want to alter. In the "Attach Parent Slot" Section add the following keywords (right-click and Add):
- LEO_ap_ScrapOption
- LEO_ap_LegendarySlots

3. Done. Your legendary effect is now able to make use of LEO's additional menu/slots.
Second Legendary Effect:
If you want to have your effects also as a second legendary effect you have to create new records:
1. The easiest way to do that is by copying all your existing records for legendary slot 1 ("Copy as new record into...") and adding a pre- or suffix to it.


2. Add the "ap_Legendary_2" keyword to your newly created OMODs for the second legendary effect.

3. Repeat that process for the third, fourth and fifth slot if you want your effect to be available on all of them.
4. Done. Your mod now fully features LEO's functionality.
12 comments
https://imgur.com/a/9GG9Y5j
here is some proof
is there something else that i must do?