KustomShop ACE

KustomShop ACE

by Kyonides
​

Introduction

Change the way your shop looks and even make it a sell only store!
Or change the percent your heroes :esrs: will get for selling their items!
:eswt: Fine. Let them get a discount as well but don't spoil them too much! 😛

Side Notes

The script allows you to set a custom shop background image.
Sell Only Stores requires a single shop item to work properly, even if it will never be sold.

Script Calls

Setup Your Shop!
- 3 Options
Reminder: SellOnly stands for :sell or nil for normal behavior.
MemorizeLimits is a boolean, i.e. true or false.

Ruby:
setup_shop(SellOnly, MemorizeLimits)
setup_shop(SellOnly, MemorizeLimits, SellPercent)
setup_shop(SellOnly, MemorizeLimits, SellPercent, DiscountPercent)

Example:
Ruby:
setup_shop(nil, true, 70, 10)

Set Item Limits but not more than the total number of goods available.

Ruby:
items_max(ItemMax1, etc.)

Example for a Shop with just 3 goods:
Ruby:
items_max(20, 10, 30)

RMVX has a single sets of tilesets for the whole game, meaning that there is no way to customize the shop's background based on the current map. This is why I have included a new script call.

Ruby:
$game_shop.battleback = "Filename"

There is a default battleback as defined in the BATTLEBACK constant.

Screenshots

Spoiler: 2 Snapshots
kustomshop_ace001.jpg

kustomshop_ace002.jpg


Terms & Conditions

Free for non commercial games.
Contact me if you are going commercial. It is inexpensive.
Due credit is mandatory.
Include a link to this post.
That's it! 😛
New Script Update!​

Version 1.2.0 has recently arrived and it brings 2 very convenient features:
  1. To skip the command window if you only have a buy only or sell only store.
  2. The buy and sell windows now slide in and out just like the rest of the GUI already did.
It also includes a bug fix that corrects the display of the buy and sell windows that kept showing the original item price on screen instead of subtracting the discount before hand.

Now the windows on the right hand side are no longer as wide as in previous versions. Thus, this provides the bust or portrait with enough space to shine like they should. :ewink:

Spoiler: Up-to-date Screenshot
kustomshop_ace003.jpg
Minor Update Available!​

After receiving a feature request, I added a new constant called BOX_OPACITY to the Setup module so custom boxes that display the shopkeeper's name, the discount percentage and some other stuff on screen can get automatically dimmed at will.

If you don't need it, set its default value to 255, meaning it'll look fully solid then. :ewink:
Yeah, Here is Just Another Update!​

Once again, I received a feature request and I ended up adding ways to hide 1 or 2 windows, set a custom shopkeeper's name and portrait. Then I also added the ability to automatically adjust the shopkeeper's character sprite's Y coordinate based on those changes in the GUI.
Minor Script Update Thanks to Another Feature Request​

So far you only had one single option: to show the same boring white colored text in the custom windows. But not anymore! 😀

Now you only have to define the values of the SINGLE_TEXT_COLOR, TEXT_COLOR & NUMBER_COLOR constants to change all custom windows' font colors at once.

Original thread: https://forums.rpgmakerweb.com/threads/kustomshop-ace.164979/