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

[转载发布] Independent Items for RMMZ

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

    连续签到: 2 天

    [LV.7]常住居民III

    4666

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 5 小时前 | 显示全部楼层 |阅读模式
    Greetings all.

    Earlier tonight, I got a little tired of telling people that their plugin requests aren't possible in RMMZ because independent items aren't a thing yet, so I made a quick little patch to bring them into RMMZ.

    What is an independent item?
    Independent items (or weapons, or armors) were a feature of Yanfly's ItemCore plugin, where individual instances of items could be modified, through other plugins, without modifying all instances of that item. The ItemCore plugin itself had a random variance parameter that was the most obvious use of this, but there were several other plugins that built on this functionality to make specific items more unique, such as attachable augments, item upgrades, random prefixes/suffixes, and many others.

    Since the current VisuStella ItemCore plugin does not contain this functionality, and it hasn't been in plugin waves 2 or 3, it's starting to look like this might be something we'll be waiting a long time for, so I took it upon myself to patch it into a working state in RMMZ.

    First, this patch contains no YEP code. I do not have the rights to redistribute that code, and this plugin merely aliases some functions from it. It requires the YEP_ItemCore plugin to work.

    Second, I haven't done much testing beyond opening some menus, equipping/unequipping items, and buying/selling them. I didn't find any crashes myself, but I didn't thoroughly test it, so I expect there might still be some hiding in there somewhere.

    Third, this plugin doesn't really do much on its own. It removed the menu and window changes from ItemCore, such that the only things it changes are independent item related. The only way to see that it's even working is to note that independent items no longer stack in the item scene.

    Fourth, ItemCore had inventory limits, which prevented you from buying more than one independent item at a time. The limit still exists, but the shop scene no longer checks for it, so you can buy multiple independent items at the same time now. I recommend setting it to an arbitrarily high number, because there is currently no way for the player to see or know there is a limit.

    Fifth, make sure the 'Updated Scene_Item' plugin parameter in ItemCore is turned off.

    This may allow some plugins for RMMV that required ItemCore to work in RMMZ again, but I ported this for my own use, so I cannot guarantee that. Most are probably still going to require a patch to work again, especially augments or item upgrades, as the modifications to the item scene were disabled in my patch.

    Load Order:
    For compatibility reasons, I recommend loading YEP_ItemCore before the tier 1 VS plugins, and then loading this patch directly after it in the load order, like this image:



    Note, this was only tested with ItemCore version 1.30, but it should work with any newer version as well.

    This patch is free for commercial and non-commercial use.
    You do not need to give credit to use it.
    You can redistribute it as you see fit.
    You can modify it to add functionality or correct bugs, and share those modifications as long as the header remains intact.

    You can download the patch from my itch.io page, or version 1.00 is attached to this thread.


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-17 17:30 , Processed in 0.082497 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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