Passive Skills and Items

Passive Skills and Items
This script is designed to provide "passive skill" functionality, where skills can grant benefits as long as they are learned. It also provides a similar, party-wide function for items in the party inventory.

Features
This script provides passive features for skills and items (not armor/weapons), defined through note tags. Any feature that a normal feature-bearing game element (actors,classes, weapons, armors, enemies, and states) can provide can also be provided by passive skills and items. Passive skills can be limited by equipped weapon types, disabled by sealed skills/skill types, and, for purely passive skills that can never be used actively, by remaining MP/TP. Enemies with passive skills can also limit them by action conditions, just like conditions for selecting the skills they use. Items grant their passive features to all actors while they are in the party inventory.

Features are designated through note tags on the skill or item in question using the Loader script.

Dependencies
Requires the Loader module, v1.2.

Source Code
Passive Skills and Items: https://github.com/Garryl/RGSS3-Scripts/tree/master/RGSS3-Scripts/Passive%20Skills
Loader: https://github.com/Garryl/RGSS3-Scripts/tree/master/RGSS3-Scripts/Loader

Update

Monday, October 26, 2015: Rewrote the script to leverage the advantages of my Loader script. In addition to halving the size of this script, it also makes it compatible with all of my other scripts that use the Loader module to handle note tags, such as the new Dynamic Features and Dynamic Effects scripts.
Nice! I've been looking for something like this that lets me put the passive effects right into a passive skill, instead of needing to call a state as well. Seems to be working fine with what I'm trying to do, and since I'm using Yanfly's menu organizer to show only specific skills, then I don't have to worry about dummy skills showing up in my menus. Perfect!
I just finished rewriting this (and testing it) to use my Loader script to load note tags into features, instead of having to define and load them all in this script. In addition to halving the size of this script, it also makes it compatible with all of my other scripts that use the Loader module to handle note tags, such as the new Dynamic Features and Dynamic Effects scripts.

If you were using the old version and wish to update, please note that the default Loader note tags are a slightly different format than those in the old version of this script, so your notes may need to be updated as well.

Original thread: https://forums.rpgmakerweb.com/threads/passive-skills-and-items.38590/