I'd like a way to be able to edit the order of skills in the skill window that don't use the Skill's database ID (as it does by default.) This is handy for having things ordered just the way you want if the order you want them to list in game isn't the same as how they are listed in the Skill database.
Perhaps it could use a skill note tag where you set a value for the skill?
Something like this:
<Skill Order: 30>
This way, even if said skill has an ID of 400, the order it'll show up in the skill window would be in front of anything less than 30.
(like <Skill Order: 29>) But before anything above 30 (like <Skill Order: 31>)
Edit:
Someone on Discord offered a little help.
"This probably does not answer it completely... but the Skill Window iirc has a method that gets the current skills of the user, so just patch that method adding a
.sort_by {blah}
should do."
If that gives any coders any ideas.
And I should add that I'm ultra interested in such a plugin too, and willing to discuss prices if it follows specific options.
In my case:
1. It would still arrange like the default
2. The best would be integrated based on Skill ID. So you can use the notetag as a "patch".
3. Yes, both menu and battle
4. I'm using YEP_CoreEngine, YEP_BattleCore, YEP_ItemCore, and a bunch of other YEP plugins.
Aloe Guvner, if you could make this for items too, I'd be extremely interested.
Sorry if I look like I hijack the initial request.
Narch, your answers are pretty reasonable so it might not be hijacking. Still, let's wait to hear what OP says about it.
(obviously no rush, will be a few days anyways)
Regarding the items sorting request, the skill & item scenes share some code so it might be pretty easy to throw that in there. I don't have the code in front of me, so no promises until I can look at it.
It'd be kinda fitting if Narch hijacked the thread because his avatar looks like he's wearing a ski mask. #WHERESTHEMONEYLEBOWSKI
Anyway, I think Narch and I are on the same page but I didn't specify that detail in the original post.
If the skill doesn't have a custom ID put into its note-box, then it would use the default order (the skill's database ID).
In my project I have 1 column in the skill window in battle, but I'd assume the placement would be the same in terms of the order?
And yeah this would also affect the order outside of battle too.
I have a few plugins that deal with the skill scene:
YEP Skill Core
YEP Limited Skill Uses
YEP Skill Cooldowns
Jay's Dual Tech Skills
HIME's Actor Battle Commands
SRD's Skill Extender
Sounds good, I'll update here when it's ready.
Okay, one thing to note about SRD's skill extender plugin is that you can actually set a custom order for the skills that appear in the extended window of a parent skill. I attached an image to illustrate this.
The base skill in the attached image is "➥Change Row" and when you select it the extended skill window comes up containing specified skills. In the note-box for "➥Change Row" this is how you determine what skills show up (as well as their order):
<Extend Skills: 3, 4, 5, 6>
But a reversed order will also work despite the order not matching the skills database IDs:
<Extend Skills: 6, 5, 4, 3>
To my knowledge, the rest of the plugins I listed don't affect the order of skills in any way.
Edit:
Also Aloe I'll give you a credit in my game project!
Hey there. Thanks a lot for that.
It's very late where I am, I will do tests tomorrow.
I don't forget Adam is the first concerned, but if the plugin meets my own expectations, be sure I'll drop you some buxx.
See you very soon.