DoubleX RMVXA Equip Prerequisite

● ARCHIVED · READ-ONLY
Started by DoubleX 1 posts View original ↗
  1. 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