KustomShop XP
by Kyonides
Introduction
Change the way your shop looks and even make it a purchase only or 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 will automatically look for a Title backdrop with the same name as the Battleback set for the current map.
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: BuyOrSell stands for :buy or :sell or nil for normal behavior.
MemorizeLimits is a boolean, i.e. true or false.
Ruby:
- setup_shop(BuyOrSell, MemorizeLimits)
- setup_shop(BuyOrSell, MemorizeLimits, SellPercent)
- setup_shop(BuyOrSell, 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:
Manually set the Shop's Background Picture located in Graphics/Titles -
Optional
Ruby:
- $game_shop.battleback = "Filename"
复制代码
Screenshots
Spoiler: 2 Snapshots
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-xp.164686/