FP: Item and Skill Restrictions
Type: Features add-onOverview
You can specify required weapon types. Well, only 2, but not that bad.
What about armors? What about more than two weapon types? What if a skill can only be used when you're in a certain state? Maybe you can only use a skill when you have a certain amount of money? Or your HP = 7777?
This script allows you to specify usage requirements for all items and skills using a simple set of tags.Features
The following apply to all item and skill usage
- Require specific armors to be equipped
- Require armor types to be equipped
- Require specific weapons to be equipped
- Require weapon types to be equipped
- Require state to be active to use skill
- Require equips (any, weapon, armor) to have a specific word in their name
- Require actor to be a certain class
- Require class name to have a specific word
More to comeUsage
In the skills tab in the database, you can tag skills that you want to have skill restrictions applied.
If you want to say armor 3 must be equipped, you can type
<fp:sr armor: 3>
If you want to say armor type 5 must be equipped (small shields), you can type
<fp:sr atype: 5>
Same applies to weapons and wtypes.
You can also require certain states to be in effect
<fp:sr state 12>
Note that the second colon is not necessary but may look pleasing.
For the options that only ask for a series of numbers (eg: weapon ID, weapon type, etc), I've provided a shorthand for you.
<fp:sr weapon 1,2,3,4,5>
This means that if you have any of the specified weapons equipped, you can use the skill.
Unfortunately there is currently no support for "AND" logic. So you can't say "weapon 1 AND 2 must be equipped"Download
Well, it works with Ace Battle engine at least.
This post has been edited by Tsukihime: May 12 2012, 07:18 PM