Maliki's Variable Buy and Sell Rates ver 1.2

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
660
Reaction score
251
First Language
English
Primarily Uses
N/A

Maliki's Variable Buy and Sell Rates


 


ver 1.2


 






Features:  This Plugin allows developers to set group item buy and sell costs. 


Items can be added into groups via notetags and the group's prices can be altered via percentages.


Buy and sell percentages can be altered independently via Script calls.


There is no limit to the number of groups you can have.


HowTo: To start, item group tags must be created in your item notetags.


<itemGroup: x>


with x being the number of the group you wish to add this item to.


 


To set group rates, use the Script Call:


$gameParty.setShopRates(x, y, z);




With x being the group number, y being the buying percentage and z being the cost percentage.


You can also set "region rates" with the script call:


 $gameParty.setRegionRate(x, y);


These rates will apply to all items being bought or sold at all shops encountered until the next region rate call.


(Detailed instructions can be found in the plugin's help section.)


Plugin Conflicts:  There shouldn't be any conflicts with this plugin, however let me know if any are found and I'll try to correct them.


Permissions: This plugin can be used in any project, commercial or otherwise, as long as credit is given.


Updated:  Now when buying price is set to 0, the item group will NOT appear in the shop's inventory.


Also, when selling price is 0, the item group cannot be sold to that shop.


Also added colors to item names/prices in shops so players can more easily tell how prices are generally affecting items.


Download: http://pastebin.com/XjNdXFad
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
Working on breaking the limits of RPGMaker! :cool:
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.

Forum statistics

Threads
95,427
Messages
929,080
Members
125,660
Latest member
AphoticAmaranth
Top