KAppraise XP
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: 5 Snapshots
It is also available for RMVX 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: 101
- Expertise Level: 2
- Purchases for Next Lvl: 20
- Basic Cost: 50
- Commission %: 20
- Sell Item Price %: 50
- Success Rate: 25
- MAX Haggle Attempts: 0
- Price Increase %: 0
- MIN Purchase Price: 50
- Cheat %: 5
- Store ID: 102
- Expertise Level: 5
- Purchases for Next Lvl: 30
- Basic Cost: 75
- Commission %: 30
- Sell Item Price %: 45
- Success Rate: 40
- MAX Haggle Attempts: 3
- Price Increase %: 5
- MIN Purchase Price: 100
- Cheat %: 10
- Store ID: 201
- Expertise Level: 1
- Purchases for Next Lvl: 25
- Basic Cost: 25
- Commission %: 10
- Sell Item Price %: 40
- Success Rate: 20
- MAX Haggle Attempts: 1
- Price Increase %: 5
- MIN Purchase Price: 25
- Cheat %: 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[ActorID]
- # 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)
复制代码
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-xp.141015/ |