Relationship System
Version: 1.1.0
By Jeneeus Guruman
Introduction
This script allows to give bonuses to certain partners like parameters and exclusive skills.
Features
- Parameter bonus for each partner.
- Additional skills depending on the partner and their relationship.
Screenshots
This will be the basis for the following screenshots below (Isabelle is below).
If Natalie is Eric's partner...
If Isabelle is Eric's partner...
If Eric and Isabelle's relationship increased:
If Isabelle has no partner:
If Isabelle is Eric's Partner:
Now also compatible with Yanfly Ace Menu Engine and Status Menu
How to Use
Just insert (not the one below) above main and below other scripts (including other non-defaults). When using Yanfly's scripts, place this below those scripts also.
# Script Calls:# # change_partner_level(level, actor_id1, actor_id2)# * Changes the level of the relationship between specified actor IDs.# Placement of IDs is not necessarily in order. If actor_id2 is not# specified, gets the value of the current partner instead. This script# call is good for setting a partner to have a high level from the start# of the game or if you want to reset the relationship level mid-game.# # gain_partner_level(actor_id1, actor_id2)# * Increases the level of the relationship between specified actor IDs.# Placement of IDs is not necessarily in order. If actor_id2 is not# specified, gets the value of the current partner instead.# # lose_partner_level(actor_id1, actor_id2)# * Decreases the level of the relationship between specified actor IDs.# Placement of IDs is not necessarily in order. If actor_id2 is not# specified, gets the value of the current partner instead.## read_partner_level(actor_id1, actor_id2)# * Gets the level of the relationship between specified actor IDs.# Placement of IDs is not necessarily in order. If actor_id2 is not# specified, gets the value of the current partner instead. This can be# used for having different cutscenes by depending on the relationship level.## To add parameter bonus in notetags:# * Place this notetag to increase the parameter of the partner of the# one who has the notetag per relationship level.# <partner_param: param_id, param_bonus[%]># param_id: The ID of the parameter to be added.# 0 = MHP; 1 = MMP;# 2 = ATK; 3 = DEF;# 4 = MAG; 5 = MDF;# 6 = AGI; 7 = LUK;# param_bonus: The amount of bonus to be added# %: Place a percent sign if the bonus will be by percentage.# Remove the percent sign if using a fixed amount.# Notetag examples:# <partner_param: 0, 5%> => Adds 5% of MaxHP of partner.# <partner_param: 1, 10> => Adds exactly 10 of MaxMP of partner.## To add skill bonus in notetags:# * Place this notetag to learn the skill of the actor who has the# notetag depending on the partner.# <partner_skill: partner_id, partner_level, skill_id, type># partner_id: The ID of the partner to learn a skill.# partner_level: The partner level required to learn the skill.# skill_id: The ID of the skill to learn.# type: type of conditions for learning# 0 = skill only appears if the specified partner is the current partner# 1 = skill only appears if the specified partner is in the battle party# 2 = skill only appears if the specified partner is in the party# (both battle members and reserved members)# 3 = skill appears permanently as long as the partner level speficied# is reached# Notetag examples:# <partner_skill: 9, 2, 73, 0> => Actor 9's partner learns Skill 73# at partner level 2 only if they're currently partners.# <partner_skill: 2, 2, 75, 1> => Actor 2's partner learns Skill 75# at partner level 2 only if actor 2 is in the battle party.# <partner_skill: 1, 3, 74, 2> => Actor 1's partner learns Skill 74# at partner level 3 only if actor 1 is in the party, in battle or reserved.# <partner_skill: 6, 3, 76, 3> => Actor 6's partner learns Skill 76# at partner level 3 only as long as their relationship level reaches# level 3. It will be removed once the level is below 3.# WARNING: If an actor don't have the skill type of the skill to be# learned, it's still be unavailable, unless there are other scripts# that will add a skill type.
Known Bugs
None so far.
Author's Notes
- This script is free to use commercially or not. If commercially, you must credit me. If not, just don't claim this as your own but not crediting me is okay if you don't want to.