Skill Categories

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

gW1VT.jpg


Individual groups for each skill type

Spoiler
PR96U.jpg


ruMP1.jpg
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.



Code:
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



Code:
<stype: 1,2,3,4>
For whichever skill type IDs you want.

Download

Script: http://db.tt/nZq6vFtx

Notes

When I say recursively defined relationships, I mean like



Code:
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.

Original thread: https://forums.rpgmakerweb.com/threads/skill-categories.2882/