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

[转载发布] Friendship-Romance System (FRS)

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

    连续签到: 2 天

    [LV.7]常住居民III

    5778

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Friendship Romance System (FRS)
    v1.3 (by LordValinar)


    Introduction
    Introduces a more in-depth relation system between actors (and events!)

    New - Latest Update (v1.31 - Sep 24 2021):
    Spoiler: Changelog

    • Hotfix #3:
      -> Moved code that adds Relations to menu to only appear if dev is not using VisuMZ MainMenuCore
      -> Also added conditionals so that the Relations scene is only active if the selected actor has relations to show (same goes for the inMenu switching : no relations, will pop back to main menu)
      -> Added option in plugin parameters (if ON : entering Relations menu automatically loads up the party leader, skipping actor selection) per request (available in both FRS versions).
    • Added an alternative version (1.3) to include both friendship + romance bar simultaneously
    • Hotfix #2: Another syntax error.. whoops
    • Hotfix #1: A few syntax errors when running the plugin commands to change relations
    • Added formula arguments for actor IDs - now you can retrieve a variable as an actor ID: v[#]
      or get the indexed actor's ID: a[1] = party leader, a[3] = 3rd actor, etc
    FEATURES:

    • Notetags(Actors, Skills, Items): Assign notetags that can:

      • Set initial friendship/romance levels upon the starting party composition
      • Add friendship between party after every battle
      • Checks if current friendship/romance level is above a certain threshold -> adds a state or learns a skill (as applicable), or if the level is below the threshold -> removes state or forgets a skill.
      • One-Time common events, switch flips (true or false), or variable adjustment based on certain friendship/romance level >= the threshold. Plugin command available to remove the DoOnce flag.
      • Skill Notetag (can increase friendship/romance with a certain actor (or the target themselves!)
      • Item Notetag (can increase friendship/romance between user[party leader] and target ally)

    • Custom "Relations" menu displaying all available friends/romanced actors (and NPCs!) (see below for compatability with VisuStella's Main Menu Core)

      • This menu displays the actor/NPC graphic, name, relation bar (green = friendship; reddish = romanced) + Icon if "engaged/married/lovers/significant other", and then up 5 state icons representing any buffs applied.

    • You can befriend/romance NPCs, however you cannot switch to them in the relations menu (You will get a buzzer), but you can still get all the buffs as you would with an actor (conditionals are setup via the plugin command or script call - if you want any).
    • Plugin command to save a relation value to a variable, so can use with message boxes.
    PLUGIN PARAMETERS:

    • Minimum relations level (default 0): Lowest value to check for/set
    • Maximum relations level (default 100): Highest value to check/set
    • "Engaged" icon ID (default 84): When lovers/married/etc, this icon will appear in the Relations menu
    • "Engaged" minimum (default 90): The romance value must be greater than or equal to this value to be considered "engaged/married/lovers/etc".
    • "Engaged" state ID (default 0): If you want your lovers to get a buff while in the same party, the state with this ID will be applied to both (or all if multiple lovers). If one leaves the party, all lose the buff.
    • New Member Friendship (default 0): When you gain a new member, the current party gains this much friendship with them.
    • New Member Befriends Party (default false): If the 'new member friendship' value is > 0 and this is 'true' then the new member will also add everyone in the party to their friends list.
    • Prefix (string -> '' default '(npc)'): If you want to separate your NPC names in the Relations list, this prefix will be added before the event name. Can combine with Postfix.
    • Postfix (string -> '' default blank): If you want to separate your NPC names in the Relations list, this postfix will be added after the event name. Can combine with Prefix.
    • Relation Window Text (string -> '' default 'Relations:'): This is the text that appears in the header box, displaying which is the current actor's friends list. Just added for user customization.
    • Customize the gradient fill for the friend/romance bars. Does use HEX code (so a simple google search- or leaving it alone- will help the dev out if they don't want to use the standards)
    VS Menu Core Compatability:
    1) Open up VisuMZ_1_MainMenuCore plugin settings
    2) Open the Command Window List
    3) Open up a new command on the last line
    4) Go to the "Text" tab and REPLACE (meaning delete -> then paste new text) with the text:
                    Code:       
    1. {"Symbol:str":"relations","Icon:num":"84","TextStr:str":"","TextJS:func":""return 'Relations';"","ShowJS:func":""return true;"","EnableJS:func":""return this.areRelationsEnabled();"","ExtJS:func":""return null;"","CallHandlerJS:func":""SceneManager._scene.commandPersonal();"","PersonalHandlerJS:func":""SceneManager.push(Scene_Relations);""}
    复制代码


    Alternatively you can set it up manually:
    *  Symbol: relations
    *  Icon: 84 (or whatever you choose)
    *  STR: Text
    *  JS: Textreturn 'Relations';
    *  JS: Showreturn true;
    *  JS: Enablereturn this.areRelationsEnabled();
    *  JS: Extreturn null;
    *  JS: Run CodeSceneManager._scene.commandPersonal();
    *  JS: Personal CodeSceneManager.push(Scene_Relations);

    Spoiler: Screenshots

    How to Use:
    Place into your project's js\plugins\.. folder, and activate in the plugin manager. Set your parameters to how you want the values to be (such as automatically adding friendship when adding a new member? Or you can control it manually in the event).

    Plugin Commands / Script Calls:
    Explained in detail in the plugin, but the TLDR:

    • Change Relations (friendship or romance, by value towards target actor or event
    • Delete DoOnce Flag (allows you to re-run a one-time event from a relation change)
    • Save To Var (saves current friendship or romance data to a variable)

    Download: Github (download)
    Alternate(Both bars) (download)

    Terms and Credits:
    Free to use and modify for commercial and noncommercial games, with credit.
    Do NOT remove my name from the Author of this plugin
    Do NOT reupload this plugin (modified or otherwise) anywhere other than these forums (RPG Maker Web.com)


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

    本帖子中包含更多资源

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

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

    使用道具 举报

    累计送礼:
    0 个
    累计收礼:
    0 个
  • TA的每日心情
    无聊
    前天 02:57
  • 签到天数: 21 天

    连续签到: 1 天

    [LV.4]偶尔看看III

    23

    主题

    73

    回帖

    193

    积分

    风能

    Rank: 2

    VIP
    0
    卡币
    97
    OK点
    0
    推广点
    0
    同能卷
    0

    积分
    193
    发表于 前天 03:04 | 显示全部楼层
    强烈支持楼主ing……
    累 你好勇者
    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-26 04:51 , Processed in 0.143765 second(s), 60 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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