modules/setup.js
// Hide checkboxes to select Primary Abilities
Hide checkboxes to select Primary Abilities
Hide checkboxes to select Primary Abilities
function hidePrimaryAblCheckbox(html) {
    const primaryAblShow = game.settings.get("age-system", "primaryAbl");
    const boxes = html.find(".ability-box .primary-secondary");
    if (!primaryAblShow) {
        for (let k = 0; k < boxes.length; k++) {
            const e = boxes[k];
            e.style.display = "none";
        };
    }
}
function hidePrimaryAblCheckbox ( html ) { const primaryAblShow = game . settings . get ( "age-system" , "primaryAbl" ) ; const boxes = html . find ( ".ability-box .primary-secondary" ) ; if ( ! primaryAblShow ) { for ( let k = 0 ; k < boxes . length ; k ++ ) { const e = boxes [ k ] ; e . style . display = "none" ; } ; } }
Hide checkboxes to select Primary Abilities
Hide checkboxes to select Primary Abilities