Drop Items Conditions v1.03
Musashii
Introduction:
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[1])>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:
http://forums.rpgmakerweb.com/index.php?/topic/46456-rpg-maker-mv-script-call-list/
Plugin:
http://pastebin.com/5WQQvR4K
Terms of Use:
Free for commercial and non-commercial use.
Credit and Thanks:
- Musashii
- Not necessary but appreciated.
Changelog:
Version 1.03:
- New 'killed by element' code to use in your conditions.
Version 1.02:
- Enemies can now set/change item drop conditions for themselves.
Version 1.01:
- Added option to cancel specified item drop restrictions for certain enemies using the notetag <CancelRestriction: itemId>