Maliki's Variable Buy and Sell Rates ver 1.2

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
797
Reaction score
350
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

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top