じ☆ve冰风 发表于 2026-8-3 10:01:54

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
will get for selling their items!

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






DOWNLOAD DEMO​

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!



本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/kustomshop-ace.164979/
页: [1]
查看完整版本: KustomShop ACE