RPG Maker Forums

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>

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,033
Messages
1,018,441
Members
137,820
Latest member
georg09byron
Top