- Oct 30, 2012
- Reaction score
- First Language
Drop Items Conditions v1.03
Allows you to define conditions for certain items to drop using formulas.
How to Use:
Use the notetag <DropRestriction: formula> inside Items, Weapons or Armors notes.
You can also change/set/cancel drop conditions for determined enemies using the notetags:
<CancelRestriction: itemId> and <ChangeRestriction:itemId,NewFormula>
Here are some examples of what can be done:
<DropRestriction: $gameParty.isAnyMemberEquipped($dataWeapons)>Item can drop only if any party member have the first weapon in the database equipped.
<DropRestriction: 100 < $gameVariables.value(1)>Can drop if variable 1 is greater than 100.
*Be aware that you can't use the "greater than" (>) comparison operator inside the notetag or it'll close it, use the "less than" (<) instead.
You can learn more about how to write your own codes here:
Free for commercial and non-commercial use.
Credit and Thanks:
- Not necessary but appreciated.
- New 'killed by element' code to use in your conditions.
- Enemies can now set/change item drop conditions for themselves.
- Added option to cancel specified item drop restrictions for certain enemies using the notetag <CancelRestriction: itemId>
Last edited by a moderator: