Jump to content

Recommended Posts

 

RPG Maker MV PLUGIN - Loot Crate


DOWNLOAD

 

===========================
Instruction
===========================
 
In order to use this plugin, you must place this note tag on your Item notebox:
 
<lootcrate>
 
</lootcrate>
 
It means that whatever is inside the lootcrate note tag, would be the ones included to be unpacked when the certain item tagged with it is used. We have three commands:
 
gainItem(itemId, amount);
gainWeapon(weaponId, amount);
gainArmor(armorId, amount);
 
where itemId, weaponId, armorId is the id of the specific item, weapon or armor you want to be unpacked, while the amount is how many of those items do you want gained.
 
For example, I want to gain items 1, 2, 3 and 4…I can say place something like this on my item note box:
 
<lootcrate>
gainItem(1, 1);
gainItem(2, 1);
gainItem(3, 1);
gainItem(4, 1);
</lootcrate>
 
Now, when I use the item with this note tag, what it does is it is going to consume the item you used and unpack items 1, 2, 3, 4.
 
Same goes if you want some weapon and armor instead of items:
 
<lootcrate>
gainWeapon(8, 1);
gainArmor(10,1);
gainArmor(11,1)
gainArmor(12, 1);
gainArmor(13, 1);
</lootcrate>
 
This works for Item Noteboxes only. This is to simulate Loot Crates, as seen in real life.
  • Like 4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted