Hey! Question for you: I have a script right now that updates the help window in the Skill Menu scene with a description I set for each skill type. It works just fine with your plugin, but it's a bit of a hassle having to set the description for each skill type twice. Any way to modify it or adapt it to load the same description I set in your plugin parameters?
Great plugin by the way, I've been looking for exactly this functionality so I appreciate it!
(() => {
// Override the updateHelp method for Window_SkillType
Window_SkillType.prototype.updateHelp = function() {
const skillTypeId = this.currentExt(); // Get the skill type ID from the command
switch (skillTypeId) {
case 1: //Kyokushin
this._helpWindow.setText("Sensei Hugg's special style of Kyokushin Karate. I'm 2nd Kyu, but I'm rusty these days...");
break;
case 2: // Scrapping
this._helpWindow.setText("Moves I've learned from movies, TV, video games, comic books, and from getting myself in fights.");
break;
case 3: //Insults
this._helpWindow.setText("Getting in somebody's head can hurt them just as a punch or a kick. A weak mind makes a weak person.");
break;
case 4: //Self-talk
this._helpWindow.setText("I have mental health too... gotta make sure I can keep my head in the game. Big girls don't cry.");
break;
// Add more cases for additional skill types if needed
default:
this._helpWindow.setText(""); // Default empty text
break;
}
};
})();