Raising ironflesh attribute button not clickable and reading str based attributes not readable after adding sf_inactive flag on other hardcoded skills is bugged for me in my own module here is what i did
Code:
skills = [
("trade","Trade",sf_base_att_cha|sf_effects_party|sf_inactive,10,"Every level of this skill reduces your trade penalty by 5%%. (Party skill)"),
("leadership","Leadership",sf_base_att_cha|sf_inactive,10,"Every point increases maximum number of troops you can command by 5, increases your party morale and reduces troop wages by 5%%. (Leader skill)"),
("prisoner_management","Prisoner Management",sf_base_att_cha|sf_inactive,10,"Every level of this skill increases maximum number of prisoners by %d. (Leader skill)"),
("herding", "Herding", sf_base_att_int, 10, "Ability to herd animals and breed them."),
("prospecting", "Prospecting", sf_base_att_int, 10, "Ability to prospect ores (as prospecting level gets higher, you get more quality from ores) and search for natural resources."),
("forestry", "Forestry", sf_base_att_int, 10, "Ability to plant, fertilize the trees and gather saplings from them."),
("labouring", "Labouring", sf_base_att_str, 10, "Ability to mine and cut down."),
("persuasion","Persuasion", sf_base_att_int|sf_inactive,10, "This skill helps you make other people accept your point of view. It also lowers the minimum level of relationship needed to get NPCs to do what you want. (Personal skill)"),
("engineer", "Engineer", sf_base_att_int, 10, "This skill allows you to construct buildings and siege equipments."),
("first_aid", "First Aid", sf_base_att_int, 10, "Ability to tend bleeding."),
("surgery", "Surgery", sf_base_att_int, 10, "Ability to do surgeries and fix limbs."),
("wound_treatment", "Wound Treatment", sf_base_att_int, 10, "Ability to treat tended wounds."),
("inventory_management", "Inventory Management", sf_base_att_int|sf_inactive, 10, "Increases inventory capacity by +6 kg per skill level."),
("spotting","Spotting",sf_base_att_int|sf_effects_party|sf_inactive,10,"Party seeing range is increased by 10%% per skill level. (Party skill)"),
("pathfinding","Path-finding",sf_base_att_int|sf_effects_party|sf_inactive,10,"Party map speed is increased by 3%% per skill level. (Party skill)"),
("tactics","Tactics",sf_base_att_int|sf_effects_party|sf_inactive,10,"Every two levels of this skill increases starting battle advantage by 1. (Party skill)"),
("tracking", "Tracking", sf_base_att_int, 10, "Tracks become more informative."),
("trainer", "Trainer", sf_base_att_int, 10, "Increase amount of experience gained. (Train someone to get experience for this skill.)"),
("tailoring", "Tailoring", sf_base_att_agi, 10, "Ability to sew clothes and make heraldry."),
("weapon_smithing", "Weapon Smithing", sf_base_att_int, 10, "Ability to forge weapons."),
("armour_smithing", "Armour Smithing", sf_base_att_int, 10, "Ability to knit armors and forge armor plates."),
("white_smithing", "White Smithing", sf_base_att_int, 10, "This skill allows you to mint coins. (You need to be in a kingdom and kingdom's official to mint coin.)"),
("looting","Looting",sf_base_att_agi|sf_effects_party|sf_inactive,10,"This skill increases the amount of loot obtained by 10%% per skill level. (Party skill)"),
("horse_archery", "Horse Archery", sf_base_att_agi, 10, "Reduces damage and accuracy penalties for archery and throwing from horseback."),
("riding", "Riding", sf_base_att_agi, 10, "Enables you to ride horses of higher difficulty levels and increases your riding speed and manuever."),
("athletics", "Athletics", sf_base_att_agi, 10, "Improves your running speed."),
("shield", "Shield", sf_base_att_agi, 10, "Gives ability to repair shield and reduces the durability damage to shields by 8%%"),
("weapon_master", "Weapon Master", sf_base_att_agi, 10, "Gives ability to repair weapons and reduces the durability damage to weapons by 3%%"),
("reserved_9","Reserved Skill 9",sf_base_att_agi|sf_inactive,10,"This is a reserved skill."),
("reserved_10","Reserved Skill 10",sf_base_att_agi|sf_inactive,10,"This is a reserved skill."),
("reserved_11","Reserved Skill 11",sf_base_att_agi|sf_inactive,10,"This is a reserved skill."),
("reserved_12","Reserved Skill 12",sf_base_att_agi|sf_inactive,10,"This is a reserved skill."),
("reserved_13","Reserved Skill 13",sf_base_att_agi|sf_inactive,10,"This is a reserved skill."),
("power_draw","Power Draw",sf_base_att_str,10,"Lets character use more powerful bows. Each point to this skill (up to four plus power-draw requirement of the bow) increases bow damage by 14%%. (Personal skill)"),
("power_throw","Power Throw",sf_base_att_str,10,"Each point to this skill increases throwing damage by 10%%. (Personal skill)"),
("power_strike","Power Strike",sf_base_att_str,10,"Each point to this skill increases melee damage by 8%%. (Personal skill)"),
("ironflesh","Ironflesh",sf_base_att_str,10,"Each point to this skill increases hit points by +2. (Personal skill)"),
("reserved_14","Reserved Skill 14",sf_base_att_str|sf_inactive,10,"This is a reserved skill."),
("reserved_15","Reserved Skill 15",sf_base_att_str|sf_inactive,10,"This is a reserved skill."),
("reserved_16","Reserved Skill 16",sf_base_att_str|sf_inactive,10,"This is a reserved skill."),
("reserved_17","Reserved Skill 17",sf_base_att_str|sf_inactive,10,"This is a reserved skill."),
("reserved_18","Reserved Skill 18",sf_base_att_str|sf_inactive,10,"This is a reserved skill."),
]