Tsukihime 1,489 Posted June 13, 2012 (edited) Skill Categories Author: Tsukihime Overview This script allows you to define skill groups based on skill type IDs. For example, "Black Magic" might consist of "fire", "ice", and "lightning". Some people might be able to use "black magic", whereas others can only use fire. Rather than displaying 3 separate commands for each type of magic, you can use a skill type category to specify that all fire, ice, and lightning magic should be grouped under "Black Magic" Features Displays different lists of skills under the same list Supports recursively defined relationships Assign multiple skill type IDs to a single skill Provides finer management over your skills Screenshots Skill group containing fire, ice, and lightning Individual groups for each skill type Usage Define a set of skill types in your database (terms --> skill types) In the configuration at the top of the script, just write which skill type contains what other skill types. Stype_Table = { 2 => [3, 4, 5], 8 => [6, 7] } The first entry means that skill type 2 contains skill types 3, 4, and 5. In the screenshots above, "Magic" was skill type 2, and fire/ice/lightning are 3/4/5. To assign multiple skill type ID's to a single skill, tag the skill with <stype: 1,2,3,4> For whichever skill type IDs you want.Download Get it at Hime Works! Notes When I say recursively defined relationships, I mean like 1 => [2,3] 2 => [4] 3 => [5] This means that if you can use 1, then you can automatically use 2, 3, 4, and 5 as well because they are all part of the same tree. Edited April 14, 2015 by Tsukihime Share this post Link to post Share on other sites
+ Novem 344 Posted June 13, 2012 I seriously don't know how you keep this up Tsukihime, it's like every time I check the forums you post a new script. Cool script, I might just check it out, Share this post Link to post Share on other sites
Shablo5 8 Posted June 13, 2012 I seriously don't know how you keep this up Tsukihime, it's like every time I check the forums you post a new script. Cool script, I might just check it out, This is true. Good work. I don't see how I would use this script, but I can see how others may. GJ. Share this post Link to post Share on other sites
Tsukihime 1,489 Posted June 13, 2012 I've added multiple skill types to the script, in case people want the same skill to appear under multiple lists. Instructions at the top. Just a notetag. The actual logic itself was one line of code to show the skills and 10 lines to build the table. It's probably the shortest piece of code I've written to accomplish something non-trivial. Share this post Link to post Share on other sites
XPhater 2 Posted November 17, 2014 This is exactly what I needed. Now my Mag skills are a separate class of their own which both Special and Magic users can cast. Share this post Link to post Share on other sites
Jolt Android 36 Posted November 22, 2014 This is a great script, I really like it. I hate to do this, I have a bit of a request... I have a script where enemies can fight alongside you. This script doesn't work with them, in the sense that their skills don't get sorted into the categories at all. This is probably an impossible request anyway given that you don't know how this other script works anyway. So if that's the case, feel free to ignore this ^_^'' Share this post Link to post Share on other sites
Tsukihime 1,489 Posted November 22, 2014 (edited) If the other script uses skill types for enemies, you need to update the skill window. For example, I had to do this just so that the window will include a skill if it fit any of the custom criteria. class Window_SkillList < Window_Selectable alias :th_skill_type_groups_include? :include? def include?(item) item && TH::Skill_Type_Groups.include?(@stype_id, item.stype_ids) || item.stype_ids.include?(@stype_id) || th_skill_type_groups_include?(item) end endOtherwise I don't know what the script does. Edited November 22, 2014 by Tsukihime Share this post Link to post Share on other sites