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
Spoiler
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.
本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/skill-categories.2882/