lordvalinar

Lord of the Damned
Veteran
Joined
Mar 31, 2013
Messages
331
Reaction score
196
First Language
English
Primarily Uses
RMMZ
Thanks for making these plugins!! I am currently using Currencies, but for an upgrade system using the shop. Basically an upgraded version of "Staff" ("Enchanted Staff") is being sold for the price of: Staff and a Crystal. This works really well.

What I'd like is for the plugin to see if "Staff" is currently equipped or not, and take the equipped item as currency if it is equipped. This way the user doesn't need to unequip their weapons before going up to the shop to upgrade.

I don't know javascript but I see this:
Code:
Game_Party.prototype.gainItem = function(item, amount, includeEquip)
and I think "includeEquip" should be "true" for this to work the way I'd like? Maybe? Haha.

Anyway, I was wondering if you could make this an option, maybe to turn on in the parameters! Thanks so much :)
There aren't any current plans to update these at the moment. Plus it'd just be easier to unequip the item than edit the plugin to accommodate that.. Sorry.
 

Winter Witch

❄️
Veteran
Joined
Dec 29, 2012
Messages
47
Reaction score
33
First Language
German
Primarily Uses
RMMZ
Hello! Thank you for those awesome plugins!
I have a question, though.
My protagonist meets 4 people during their adventure (you can choose the player's gender at the beginning of the game) and can befriend them. Different actions or answers shall increase or decrease their relationship status. BUT those 4 people are not neccessarily in the party (at least not from the beginning) and their event sprites show up on different maps, since they roam around.
Am I still able to have a friendship system that way? Because the actor ID refers to the party member and the event ID refers to the specific ID on the map, which is neat if the NPC never moves, but those friends solve a crime together, therefore, they appear on different maps an join or leave the party from time to time.
Thank you in advance :)
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
4,965
Reaction score
3,155
First Language
English
Primarily Uses
RMMV
Am I still able to have a friendship system that way? Because the actor ID refers to the party member and the event ID refers to the specific ID on the map
That's not quite correct. An actor ID refers to an actor. It doesn't matter whether they're in your party or not, anything that's tracked on an actor can be tracked regardless.

I haven't looked at the documentation for this plugin, but if you're given a script call to reference an actor's friendship level, you can use that inside of any event you want.
 

Winter Witch

❄️
Veteran
Joined
Dec 29, 2012
Messages
47
Reaction score
33
First Language
German
Primarily Uses
RMMZ
That's not quite correct. An actor ID refers to an actor. It doesn't matter whether they're in your party or not, anything that's tracked on an actor can be tracked regardless.

I haven't looked at the documentation for this plugin, but if you're given a script call to reference an actor's friendship level, you can use that inside of any event you want.
Thank you for your answer :) Maybe I've misunderstood the instructions.
I just found the Frienship-Romance-Plugin that he made also, maybe that's an addition or even alternative for me :)
 

lordvalinar

Lord of the Damned
Veteran
Joined
Mar 31, 2013
Messages
331
Reaction score
196
First Language
English
Primarily Uses
RMMZ
Thank you for your answer :) Maybe I've misunderstood the instructions.
I just found the Frienship-Romance-Plugin that he made also, maybe that's an addition or even alternative for me :)
Yeah sorry LvMZ_Factions.js is a bit more simplified and only works for those "in party" (1 = party leader, 2 = 2nd actor, etc). Although Technically you can use a script call to bypass the plugin command's parameters (replace the actorIDs with the actual ones you're using though):


JavaScript:
// this is the source actor
const actor1 = $gameActors.actor(1);
// this is the actor NOT in the party (has to exist still however)
const actor2 = $gameActors.actor(5);

// "value" is ADDED to current value (so use a negative to lose relations)
actor1.lvSet('setRelation', [actor2, value]);

Alternatively for a more GUI version, yeah the Friendship-Romance one would be a better choice.
Although keep in mind, if modifying relations involving events (it will only get the event on the current map)
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Dev be like: "I'll make the character goes amnesia so I could explain the world and the lore better and immersive to the players"
Whoever decided that the 5th area of Xenoblade 3 had to be THAT big and be explored in the manner it does needs to be shot. My OCD cannot leave a tiny shard of the map hidden and those controls can go right on and f*** themselves. -.-

/rant off
Raggon wrote on NoPatience's profile.
:kaohi:

Forum statistics

Threads
124,435
Messages
1,163,619
Members
163,246
Latest member
BagOfAnts
Top