Save-Point
KyoDiscounts MV - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Plugins and Mods (https://www.save-point.org/forum-74.html)
+---- Forum: RPGMaker MV/MZ Engines (https://www.save-point.org/forum-120.html)
+---- Thread: KyoDiscounts MV (/thread-9008.html)



KyoDiscounts MV - kyonides - 09-01-2024

KyoDiscounts MV
Version 1.2.2

by Kyonides


Introduction

This script allows you to setup a discount card and coupon system in your project so every time the player visits a store he or she may get a specific discount on a certain item available at the time. This benefit the player might get then depends on the percentage defined in the corresponding discount item price in the Item database tab.

The game developer can also make the discount cards expire for any reason he or she can think off. It might be a good addition for your game's plot...

Now you may also check how many steps are left before a discount card expires naturally. You may also setup exclusive store discount cards as well, you just need to include some specific data in the EXCLUSIVESTORES Constant and setup some in game variable to store that exclusive store code, either 1 or 1789 or whatever you'd prefer there. By the way, the player can now place orders to get items that are not currently available at the store.

You can also globally add or forbid shopping goods! (XP version only!)

Instructions

In this version you would normally use some Plugin commands, but I felt like they didn't help me configure a lot of stuff at the same time so I used script calls in a similar way I would use them in RGSS (in XP, VX or VX Ace). I included some examples there, but I guess I better explain one of them, the one that handles items, weapons and armors.

'i21' would stand for Item # 21, while 'w12' stands for Weapon # 12 and 'a9' stands for Armor # 9. Add as many variants as you wish to the $gameTemp.orderGoods array.


SCREENSHOTS
[Image: CR8ZU2i.png][Image: lNYkExH.png]

DEMO

Now you can download the scripts for XP, VX and MV  in English and Spanish, and a demo (Spanish version only).


Terms & Conditions

You may include it in any commercial and non commercial RM projects, credits go to me, its scripter. Yeah, I will ask you to make some payment in case you go commercial.