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

[转载发布] DoubleX RMMV Permanent States

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

    连续签到: 2 天

    [LV.7]常住居民III

    4446

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 前天 11:24 | 显示全部楼层 |阅读模式
    Note

    This plugin's available for commercial use

    Purpose

    Lets you sets some states to be kept/restored in some set cases

    Games using this plugin

    None so far

    Plugin Calls

    Spoiler *    # State manipulations                                                    *      1. meta.permanentStates                                                *         - Returns the permanent state scenes and types in                   *           <permanent state: scene, type> in the form of                     *           { battle: types, map: types } with types being an Array storing   *           all unique String type or an empty Array if scene matches and     *           doesn't match the property name storing types respectively        *      2. meta.permanentStates = [scene, types]                               *         - Sets the permanent state scene and types in                       *           <permanent state: type> as { battle: types, map: types } with     *           types being an Array storing all unique String type which will be *           used in the scene matching the property name storing types        *         - All meta.permanentStates changes can be saved if                  *           DoubleX RMMV Dynamic Data is used                               



    Notetag

    Spoiler *    # State Notetags:                                                        *      1. <permanent state: scene, type>                                      *         - scene can be either battle or map, meaning the state can be       *           restored in battle or map respectively                            *         - type can be either persist, recover or revive, meaning the state *           will be kept upon death or recover all, or added back upon revive *           respectively                                                      *         - The same state can have more than 1 permanent state scene/type  



    Prerequisites

    Abilities:

    1. Little 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.02c(GMT 0100 4-12-2015):                                            *      1. Fixed undefined all array function which should be empty instead    *      2. Increased this plugin's compactness, efficiency and robustness     *      v1.02b(GMT 0800 2-12-2015):                                            *      1. Fixed reading repetitive notetag values due to typo bug             *      2. Fixed permanent state type persist not working due to typo bug      *      3. Fixed null permanent state container due to wrong init timing bug   *      4. Fixed undefined $gameParty upon actor initializations bug          *      v1.02a(GMT 1400 1-12-2015):                                            *      1. <permanent state: type> has changed to                              *         <permanent state: scene, type>                                      *      2. Added new permanent state type recover restored upon recover all    *      3. The same state can now have more than 1 permanent state type        *      4. Removed param allStatesPermanent in the plugin manager              *      5. Fixed undefined permanent state containers upon loading savefiles  *      v1.01h(GMT 0600 29-11-2015):                                           *      1. Fixed clearing all states upon calling Recover All event command    *      2. Fixed notetags not reading at all due to treating "null" as falsey *      v1.01g(GMT 0300 29-11-2015):                                           *      1. Fixed undefined error due to non persist nor revive poermanent type *      v1.01f(GMT 1200 27-11-2015):                                           *      1. Fixed undefined state_id in store_permanent_states due to typo bug *      2. Increased this plugin's efficiency, readability and robustness     *      v1.01e(GMT 0900 25-11-2015):                                            *      1. Fixed wrong number of arguments when loading state notetags bug     *      2. The aliased functions can be accessed by other custom plugins now   *      3. Exposed the state plugin calls that can access the notetag values  *      v1.01d(GMT 1600 6-11-2015):                                            *      1. Simplified the notetag reading mechanisms                           *      2. Fixed undefined this under forEach bug                             *      v1.01c(GMT 1300 5-11-2015):                                            *      1. Fixed undefined this under DoubleX_RMMV.Permanent_States bug       *      v1.01b(GMT 0000 5-11-2015):                                            *      1. Fixed failing to load notetags due to nil $dataStates bug          *      v1.01a(GMT 1300 4-11-2015):                                            *      1. The notetag <permanent state> has changed to <permanent state: type> *      2. Fixed several logic and syntax errors                               *      3. Increased this plugin's maintainability                             *      v1.00a(GMT 0800 31-10-2015):                                           *      1. 1st version of this plugin finished                               



    DoubleX RMMV Permanent States v102c.rar


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-14 14:21 , Processed in 0.067862 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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