(Yanfly) Trouble with independent items in crafting and item durability.

MeowCatMeow

Member, what did you expect?
Member
Joined
Apr 14, 2015
Messages
15
Reaction score
0
First Language
English
Primarily Uses
I'll get straight to the point; I want to use non-independent weapons in Yanfly's Item Synthesis to make a weapon with durability in Yanfly's Item Durability plugin. In this case scenario, I need both the the weapons used for crafting and the weapon crafted to have item durability. Is there a way to use independent items in crafting or have  non-independent items with durability? Please don't respond with something on the lines of "no, you can't" or "I don't know," as I view these responses as unhelpful and anti-motivating.
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
If someone can't tell you "No" then you will never know unless someone finds an answer someday. It would be better just to let people say, "No, that's not possible at this point in time," so that you aren't always waiting for an answer.
 

MeowCatMeow

Member, what did you expect?
Member
Joined
Apr 14, 2015
Messages
15
Reaction score
0
First Language
English
Primarily Uses
If someone can't tell you "No" then you will never know unless someone finds an answer someday. It would be better just to let people say, "No, that's not possible at this point in time," so that you aren't always waiting for an answer.



The point of me not wanting people to say no is that from past experiences I have found out that a multitude of people that have no idea what their talking about will tell me I can't do it. If it's legitimately not possible, that's not true; near anything is possible. If you are experienced in javascript and know it would be immensly difficult, I would appreciate you telling me it's immensly difficult. I don't want you to tell me something like this is impossible when we both know it is, just with effort. I don't want you to tell me it's not possible at this time because anything is possible at anytime with some effort. I don't want you to tell me nobody that has figured it out has posted publicly because I already know that and do my research before asking for help on a forum.


@LittleLeoGamer  Thank you posting this comment as it very much helped me understand that I could be a lot more specific with what I meant by not wanting people to tell me "no." I am not upset nor angry with you, please don't take this comment the wrong way.
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
The point of me not wanting people to say no is that from past experiences I have found out that a multitude of people that have no idea what their talking about will tell me I can't do it. If it's legitimately not possible, that's not true; near anything is possible. If you are experienced in javascript and know it would be immensly difficult, I would appreciate you telling me it's immensly difficult. I don't want you to tell me something like this is impossible when we both know it is, just with effort. I don't want you to tell me it's not possible at this time because anything is possible at anytime with some effort. I don't want you to tell me nobody that has figured it out has posted publicly because I already know that and do my research before asking for help on a forum.


@LittleLeoGamer  Thank you posting this comment as it very much helped me understand that I could be a lot more specific with what I meant by not wanting people to tell me "no." I am not upset nor angry with you, please don't take this comment the wrong way.

I'll try and figure out if you can do this. I'll let you know. :)
 

MeowCatMeow

Member, what did you expect?
Member
Joined
Apr 14, 2015
Messages
15
Reaction score
0
First Language
English
Primarily Uses
Still looking for an answer...


bump
 

Dr. Spacebar

Villager
Member
Joined
Aug 28, 2015
Messages
8
Reaction score
0
First Language
English
Primarily Uses
Even though it's been a while, I ran into the same problem and have an answer to this question!

In rpg_objects.js in the js folder of your project, there's a method called Game_Party.prototype.numItems. If you have ItemCore and ItemSynthesis installed, paste this in its place:
Code:
Game_Party.prototype.numItems = function(item) {
  if (DataManager.isIndependent(item))
  {
    return this.numIndependentItems(item);
  }
  else
  {
    //only thing here that was here to begin with
    var container = this.itemContainer(item);
    return container ? container[item.id] || 0 : 0;
  }

};
This runs the independent item number method when ItemSynthesis asks for the number of an independent item type. One disadvantage of this method is that you can't choose which specific independent items get synth'd if you have upgrades or varying stats on them, but if that doesn't matter, this will do just fine.
 

Latest Threads

Latest Posts

Latest Profile Posts

Another comic with Backstage Malak...
If you want to ask him anything, you can ask on my DeviantArt page! I'm not sure if you're allowed to do it here.
Forum tip of the day ...
If you get a temporary suspension for being a jerk to people who are trying to help you, and arguing with mods and admins, don't go making new accounts. Chances are, if you p**s us off enough to suspend you for a week, we're not going to hesitate giving you a permanent ban when you give us a reason.
E_6fAErVkAQILXu.png
I'm so close to releasing my game on steam! :blush::blush::blush:
Us:
"This game is awesome! I wish there are more games like this in the future."
Also us:
"I hate how games stopped being original and start copying other successful games."
Should've done this a few days ago but...
PRI_200136808.jpg
Rest in Peace, Sir Clive Sinclair
1940 - 2021
Entrepreneur, Technologist, Father of the Modern British Computing Industry, and protagonist of Legend of ZUN.

Without you, England's games and tech industry wouldn't be where it is.

Forum statistics

Threads
115,287
Messages
1,088,661
Members
149,917
Latest member
statdev
Top