DoubleX RMVXA Equip Prerequisite v1.00a
by DoubleX
Introduction
Allows users to add prerequisites for equipments to actors
Spoiler#------------------------------------------------------------------------------|# * Notetag <armor req: id> for weapons/armors |# To make a weapon or armor requiring an equipped armor with id id to be |# equipped, put the above notetag into its notebox in the database. |#------------------------------------------------------------------------------|# * Notetag <stat req: stat, operator, value> for weapons/armors |# To make a weapon or armor requiring stat to fulfill the operator and value|# requirement to be equipped, put the above notetag into its notebox in the |# database. |# stat can be Parameter, Ex-Parameter, Sp-Parameter, hp, mp, tp, level, |# hp_rate, mp_rate, tp_rate, element_rate(element_id), |# debuff_rate(param_id) or state_rate(state_id). |# (Needs scripting knowledge)It also includes any other numerical method |# under class Game_BattlerBase, Game_Battler, Game_Actor or Game_Enemy. |# operator can be either l, le, e, ge, g or ne. They stand for <, <=, ==, |# >=, > and != respectively. |#------------------------------------------------------------------------------|# * Notetag <var req: id, operator, value> for weapons/armors |# To make a weapon or armor requiring variable with id id to fulfill the |# operator and value requirement to be equipped, put the above notetag into |# its notebox in the database. |# operator can be either l, le, e, ge, g or n. They stand for <, <=, ==, |# >=, > and != respectively. |#------------------------------------------------------------------------------|
Features
Use of notetags(requires knowledge of notetag usage) to set specific equipments to add prerequisites to actors
How to use
Open the script editor and put this script into an open slot between Materials and Main. Save to take effect.
FAQ
None
Credit and Thanks
DoubleX(Giving me credit is completely optional)
No terms of use other than not claiming this script as created by anyone except DoubleX or his alias
Compatibility
Scripts aliasing or rewriting method:
- self.load_database under module DataManager
- equippable? under class Game_BattlerBase
may have compatibility issues with this script
Place this script above those aliasing any of these methods if possible
Changelog
v1.00a (GMT 1200 25-5-2014):
- 1st version of this script finished
(DoubleX)Equip Prerequisite v1.00a.txt
本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/doublex-rmvxa-equip-prerequisite.27365/