设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 64|回复: 0

[转载发布] DoubleX RMMV Equip Prerequisites

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    8176

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    30359
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    39429

    灌水之王

    发表于 2026-7-16 16:05:24 | 显示全部楼层 |阅读模式
    Note

    This plugin's available for commercial use

    Purpose

    Lets users add various prerequisites for equipments to actors

    Games using this plugin

    None so far

    Notetags

    Spoiler *    # Equip Notetags:                                                        *      (v1.01a+)1. <no weapon req: id>                                        *         - Sets that equip to be unequippable with an equipped weapon with   *           id id                                                             *      (v1.01a+)2. <no armor req: id>                                         *         - Sets that equip to be unequippable with an equipped armor with id *           id                                                                *      (v1.01a+)3. <weapon req: id>                                           *         - Sets that equip to need an equipped weapon with id id to be       *           equipped                                                          *      4. <armor req: id>                                                     *         - Sets that equip to need an equipped armor with id id to be        *           equipped                                                          *      5. <stat req: stat, operator, val>                                     *         - Sets that equip to need the owner's stat stat to meet the         *           operator operator and value val to be equipped                    *         - stat can be any Parameter, Ex-Parameter and Sp-Parameter, hp, mp, *           tp and level                                                      *         - (Advanced)stat can also be any other battler getter name that can *           use operator                                                      *         - operator can be either l, le, e, ge, g or ne, meaning <, <=. ===, *           >=, > and !== respectively                                        *         - If val is a number, it'll be treated as a Number rather than a    *           String                                                            *      6. <var req: id, operator, val>                                        *         - Sets that equip to need the value of variable with id id to meet *           the operator operator and value val to be equipped                *         - operator can be either l, le, e, ge, g or ne, meaning <, <=. ===, *           >=, > and !== respectively                                        *         - If val is a number, it'll be treated as a Number rather than a    *           String                                                          



    Plugin Calls

    Spoiler*    # Equip manipulations                                                    *      1. meta.noWeaponReq                                                    *         - Returns the Array of ids of all equipped weapons making this      *           equip unequippable                                                *      2. meta.noWeaponReq = [id, id, id, ..., id]                            *         - Sets the Array of ids of all equipped weapons making this equip   *           unequippable                                                      *         - All meta.noWeaponReq changes can be saved if                      *           DoubleX RMMV Dynamic Data is used                                 *      3. meta.noArmorReq                                                     *         - Returns the Array of ids of all equipped armors making this equip *           unequippable                                                      *      4. meta.noArmorReq = [id, id, id, ..., id]                             *         - Sets the Array of ids of all equipped armors making this equip    *           unequippable                                                      *         - All meta.noArmorReq changes can be saved if                       *           DoubleX RMMV Dynamic Data is used                                 *      5. meta.weaponReq                                                      *         - Returns the Array of ids of all equipped weapons needed for this  *           equip to be equippable                                            *      6. meta.weaponReq = id                                                 *         - Sets the Array of ids of all equipped weapons needed for this     *           equip to be equippable                                            *         - All meta.weaponReq changes can be saved if                        *           DoubleX RMMV Dynamic Data is used                                 *      7. meta.armorReq                                                       *         - Returns the Array of ids of all equipped armors needed for this   *           equip to be equippable                                            *      8. meta.armorReq = id                                                  *         - Sets the Array of ids of all equipped armors needed for this      *           equip to be equippable                                            *         - All meta.armorReq changes can be saved if                         *           DoubleX RMMV Dynamic Data is used                                 *      9. meta.statReq                                                        *         - Returns the Array of all stat-operator-value triples, each in the *           form of [stat, operator, value], as the equip prerequisites       *      10. meta.statReq = [[stat, operator, value], [stat, operator, value]]  *          - Sets the Array of all stat-operator-value triples, each in the   *            form of [stat, operator, value], as the equip prerequisites      *          - All meta.statReq changes can be saved if                         *            DoubleX RMMV Dynamic Data is used                                *      11. meta.varReq                                                        *          - Returns the Array of all variable-operator-value triples, each   *            in the form of [variable, operator, value], as the equip         *            prerequisites                                                    *      12. meta.varReq = [[variable, operator, value]]                        *          - Sets the Array of all variable-operator-value triples, each in   *            the form of [variable, operator, value], as the equip            *            prerequisites                                                    *          - All meta.varReq changes can be saved if                          *            DoubleX RMMV Dynamic Data is used



    Prerequisites

    1. Some Javascript coding proficiency to fully utilize this plugin

    Terms Of Use

    You shall keep this plugin's Plugin Info part's contents intact

    You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases

    None of the above applies to DoubleX or his/her aliases

    Changelog

    Spoiler *      v1.01g(GMT 0100 18-1-2016):                                            *      1. <stat req: stat, operator, val> only support battler getters        *      2. Fixed Number is not a function bug                                 *      v1.01f(GMT 0300 17-1-2016):                                            *      1. Fixed undefined variable req bug                                    *      2. Exposed this plugin's equip manipulation plugin calls               *      3. Increased this plugin's compactness, compatibility and readability *      v1.01e(GMT 1200 24-11-2015):                                           *      1. Fixed unsupported arrow function in ES5 bug                         *      2. The extended functions can be accessed by other custom plugins now *      3. Notetags with invalid operators will log message on console instead *      4. Increased this plugin's readability and robustness                  *      v1.01d(GMT 1600 6-11-2015):                                            *      1. Simplified the notetag reading mechanisms                           *      2. Fixed some typos                                                                                         *      v1.01c(GMT 1200 5-11-2015):                                            *      1. Fixed undefined this under DoubleX_RMMV.Equip_Prerequisites bug    *      v1.01b(GMT 0000 5-11-2015):                                            *      1. Fixed failing to load notetags due to nil data bug                 *      v1.01a(GMT 1000 4-11-2015):                                            *      1. Added <no weapon req: id>, <no armor req: id> and <weapon req: id> *         notetags                                                            *      2. Fixed several logic and syntax errors                               *      3. Increased this plugin's maintainability                             *      v1.00a(GMT 1300 31-10-2015):                                           *      1. 1st version of this plugin finished                               



    DoubleX RMMV Equip Prerequisites v101g.rar


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

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 15:39 , Processed in 0.148914 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表