Awesome, thanks. Update us here if you get it working
Alright so I got this working after some tweaking.
Here are the code snippets and where to add them:
This section should be added to the comments to allow for toggling. Be mindful of the formating based on the other params.
JavaScript:*
* @param Hide skills
* @type boolean
* @desc Do you want to hide skill names before they are learned?
* @default false
*
Scroll down and add this line with the other parameters:
JavaScript:Fomar.EquipmentSkills.hidden = (Fomar.EquipmentSkills.parameters["Hide Skills before Learning"] == "false")
Next, Ctrl-F and find this line of code
"this.drawMinMaxValue(4, this.lineHeight() * (8.5 + 1.5 * i), this.itemLineRect(0).width, this.lineHeight() / 2, skills
, mults[skills.id]);"
And put this right beneath it, erasing the line that was there before:
JavaScript:if (Fomar.EquipmentSkills.hidden == "false")
{
this.drawItemName(skills[i], 4, this.lineHeight() * (7.5 + 1.5 * i));
}
else
{
if (this._actor._ap[skills[i].id] != skills[i].meta["ap"])
{
this.drawText("????", 4, this.lineHeight() * (7.5 + 1.5 * i));
}
else
{
this.drawItemName(skills[i], 4, this.lineHeight() * (7.5 + 1.5 * i));
}
}
I didn't feel comfortable linking a modified version here so you gotta make the changes manually.
Fomar, please feel free to add this to your original script you would like!