I hope someone with Java knowledge can help me out with this. I am not a programmer, but I am programmer-friendly--meaning I can look at syntax and basically understand what it's doing. I would like to use Yanfly's Equip Requirements Plugin with *variables*, which is the one thing it doesn't natively support. (I think this is odd, in light of Yanfly's Actor Variables.) I'm having two problems. First, I've tried a number of syntax variations for the <Custom Equip Requirement Condition>, to no avail. Second, and more puzzlingly, I can't get <Custom Equip Requirement Text> to simply display text as per Yanfly's instructions. However, "Requirements" does show up, and normal equip reqs (e.g., atk > 1) seem to work fine.
Here's what I'm working with. Please help! (Note: I couldn't determine if "$gameVariables.name(77)" was a proper call, but this doesn't even work as a pure text string.)
<Custom Equip Requirement Text>
text = ‘Minimum ' + $gameVariables.name(77) + ' = 1’;
</Custom Equip Requirement Text>
<Custom Equip Requirement Condition>
if (user.actorId() == 1) && $gameVariables.value(77) >= 1 {
condition = true;
} else {
if (user.actorId() == 1)
condition = false;
} else {
condition = true;
}
</Custom Equip Requirement Condition>
Here's what I'm working with. Please help! (Note: I couldn't determine if "$gameVariables.name(77)" was a proper call, but this doesn't even work as a pure text string.)
<Custom Equip Requirement Text>
text = ‘Minimum ' + $gameVariables.name(77) + ' = 1’;
</Custom Equip Requirement Text>
<Custom Equip Requirement Condition>
if (user.actorId() == 1) && $gameVariables.value(77) >= 1 {
condition = true;
} else {
if (user.actorId() == 1)
condition = false;
} else {
condition = true;
}
</Custom Equip Requirement Condition>