Save-Point
KyoDiscounts VX + ACE - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: KyoDiscounts VX + ACE (/thread-10605.html)



KyoDiscounts VX + ACE - kyonides - 10-22-2024

KyoDiscounts VX + ACE
versions 1.9.0, 1.5.0, 1.5.0 & 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

XP, VX & VX Ace Versions

You need to setup the Constants found in the KyoShop module and the corresponding items in the Item database tab to make the script work properly, and don't forget about the script calls if you want to enable the Place Order feature in your game project.

There is also the possibility to setup all the shops' scarcity level for all shop items by calling KyoShop.scarcity_lvl = desired level, 0 would be the lowest level ever. The maximum level depends on your laziness! Just go read the instructions included in my script.

Since version 1.6.0 you need to place the contents of kyodiscountsxptool.rb in a separate section in the script editor, right above KyoDiscounts XP. It is a temporary script that might be called a parser since it reads the template TXT files, following the shop item list any-number.txt naming convention, used in the creation of the custom price increases and decreases. That tool is not supposed to be distributed with your closed demo or finished game project!


SCREENSHOTS

[Image: e5qL6UP.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.