- Joined
- Mar 31, 2013
- Messages
- 344
- Reaction score
- 210
- First Language
- English
- Primarily Uses
- RMMZ
Friendship Romance System (FRS)
v1.3 (by LordValinar)
v1.3 (by LordValinar)
Introduction
Introduces a more in-depth relation system between actors (and events!)
New - Latest Update (v1.31 - Sep 24 2021):
- 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.
- 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)
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:
{"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: Text return 'Relations';
* JS: Show return true;
* JS: Enable return this.areRelationsEnabled();
* JS: Ext return null;
* JS: Run Code SceneManager._scene.commandPersonal();
* JS: Personal Code SceneManager.push(Scene_Relations);
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)
Attachments
Last edited: