じ☆ve冰风 发表于 4 天前

KAppraise VX

KAppraise VX

by Kyonides Arkanthes​


Introduction

Did you ever need a custom menu scene that could allow you to identify items?
Now this script will let you do it in a very convenient way!


Spoiler: 1 Snapshot


It is also available for RMXP and RMVX ACE!



You will need to configure some of its features via editing a TXT file called appraisals.txt

Appraisal Shops' Template

                Code:       
Store ID:               101Expertise Level:      2Purchases for Next Lvl: 20Basic Cost:             50Commission %:         20Sell Item Price %:      50Success Rate:         25MAX Haggle Attempts:    0Price Increase %:       0MIN Purchase Price:   50Cheat %:                5Store ID:               102Expertise Level:      5Purchases for Next Lvl: 30Basic Cost:             75Commission %:         30Sell Item Price %:      45Success Rate:         40MAX Haggle Attempts:    3Price Increase %:       5MIN Purchase Price:   100Cheat %:                10Store ID:               201Expertise Level:      1Purchases for Next Lvl: 25Basic Cost:             25Commission %:         10Sell Item Price %:      40Success Rate:         20MAX Haggle Attempts:    1Price Increase %:       5MIN Purchase Price:   25Cheat %:                0


Further Instructions

                Code:       
# Find out what a mysterious item really is with this script!# You do not need to call the new menu scene!# In your game root directory create a file called appraisals.txt# You may include as many appraisal shops there as needed.# That temporary TXT file should not be distributed with your game.# Now a hero might become a wandering appraiser! Just press a button on the# map and you will see how the menu shows up effortless.# Keep in mind that the hero must be an active party member.# Since version 1.1.0 any appraiser can offer collectors' requests at their# shops. They always have a maximum number of units to be purchased and they# can be canceled via script call as well.# The SHOPKEEPER_PIC_DIR Constant will allow you to choose the directory# where the shopkeepers' pictures will be located.# * Activation Steps * ## 1. The event's name will be used as the shop's name.# * For Events * ## 2. Set the shop ID with a script call:KAppraise.setup_shop(ShopID)# 3. Add shopping goods as usual.# * For a Hero * ## 2. Use the Hero as Appraiser Script Call (see below).# 3. Add shopping goods as usual.# In both cases you might need to add additional lists just in case any given# appraiser reaches the highest level, i.e. 11 alias Master.# * Script Call * ## - Set or Change the Party's Appraisal Luck Rate:# $game_party.appraisal_luck = Number# $game_party.appraisal_luck += Number# $game_party.appraisal_luck -= Number# - Change the Current Shop's No. of Haggle Attempts - after Shop Setup!# KAppraise.shop.haggle_max = Number# - Change the Current Shop's Level of Expertise# KAppraise.shop.level = Number between 0 through 10# KAppraise.shop.level += Number# KAppraise.shop.level -= Number# - Make an Actor become an Appraiser# actor = $game_actors# actor.setup_appraiser(ShopCode, MapID, EventID)# - Add a new Collector's Request# Kind stands for :item or :weapon or :armor# collector_request(Kind, ItemID, Number, Price, Increase %)# - Remove a Collector's Request# remove_collector_request(Kind, ItemID)


DOWNLOAD DEMO​

Terms & Conditions

Free for use in non commercial games. Contact me if you are going commercial.
Mention me in your game credits!

Do not repost it anywhere!


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