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

[转载发布] Party Approval (MV/MZ)

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

    连续签到: 2 天

    [LV.7]常住居民III

    8357

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Party Approval 1.5
    ATT_Turan


    Introduction
    I've always enjoyed how the approval system in BioWare and similar RPGs felt immersive, like the party members were real people reacting to my choices and actions. So this has been sitting around in my head for a while and I finally just dove into it.

    I have tested the basic functionality, please let me know if you encounter any errors. I will consider making compatibility patches if the other plugin is free to use (or one I own, such as a Yanfly product) and unobfuscated. Otherwise, other authors are free to modify this code to make it compatible with theirs so long as I am still credited.

    Spoiler: Features
    This plugin provides the basis for an approval system between the protagonist and any actors in the game. Each actor has an approval which starts at 0 and can be modified positively or negatively at any time.
    Changing approval also causes an accompanying window to pop up, notifying the player of incurring that actor's good (or poor) graces. This window does not interfere with other on-screen functionality.
    Spoiler: Screenshots

    Spoiler: How to Use
    All of this plugin's functionality is via plugin commands and script calls.
    Spoiler: Plugin Commands
    ActorApproval <actor> <amount>
    ActorApproval <actor ID> <amount>
    This modifies the indicated actor's approval by the specified amount and produces a notification using the approval (if amount is positive) or disapproval (if negative) plugin parameters below.

    If the actor's name is used, the spelling must match the database entry, and it will use the first actor to match.

    Examples:
    ActorApproval Therese 5
    ActorApproval 2 -3

    GetApproval <variable ID> <actor>
    GetApproval <variable ID> <actor ID>

    This stores an actor's current approval value into the specified game variable. It can be used with either the actor's ID or name, see above for caveats on using the name.
    Spoiler: Script Calls
    TUR.ActorApproval([actor/ID, amount])

    This functions as the plugin command above, but can be called from places which only accept script (such as eval notetags).

    Note that if using an actor's name, it must be enclosed in quotations.

    Examples:
    TUR.ActorApproval(["Therese", 5]);
    TUR.ActorApproval([2, -3]);

    TUR.AdjustApproval(actorId, amount)

    This functions as above, but does not produce a notification. This allows you to adjust approval silently if necessary. Note that the actor's name can not be used as an argument here.

    $gameSystem.approvals[]

    This system array stores actor's approval values. You can access it direcly by providing the actor's ID as the index to set, modify, or retrieve their approval. This circumvents the Approval Eval notetag above.

    Note that approval values are undefined until modified by any of the above functions or plugin commands.
    Spoiler: Notetags
    Actor notetag
                    Code:       
    1. <Approval Eval>
    2. code
    3. </Approval Eval>
    复制代码


    JavaScript code in this notetag will be executed any time the actor's approval is modified by a plugin command or script call. This might be used to interface with other relationship systems, activate face cutins, etc.

    Provided variables:
    user - the current actor
    value - the amount approval is being modified by
    approval - the actor's current approval

    Actor notetag
                    Code:       
    1. <ApprovalColor1: color code>
    2. <ApprovalColor2: color code>
    3. <DisapprovalColor1: color code>
    4. <DisapprovalColor2: color code>
    复制代码


    These tags can be used to override the default colors for the approval notifications as defined in the plugin parameters. All tags can be used independently - any colors not defined on the actor will use the default values.

    Example:                                 Code:       
    1. <ApprovalColor2: rgba(0, 0, 0, 0.8)>
    复制代码


    Terms and Credits
    Free for non-commercial and commercial use. Credit ATT_Turan.


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-2 01:22 , Processed in 0.067746 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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