じ☆ve冰风 发表于 2026-7-28 14:16:52

Pickboard - Lotto Type Item Picking

Name: Pickboard


Version: 1.1


Author: Mr. Trivel


Created: 2016-02-16


         


What does it do?


        Allows players to pick rewards from a board of tiles and costs some currency - be it gold or items.


         


Video:










         


Features:


        Setting up multiple different sized boards.


        Rewards ranging from nothing to items/weapons/armor or gold. Any amount of it.


        Resetting the board without having to re add all rewards.


        Saving is board completed state to a Switch for eventing use.


         


How to use?


        Everything is set up using Plugin Calls.


        We have the following ones:



                Pickboard Start - creates empty board with X Y dimensions


                Pickboard Reset - resets board of ID to empty state


                Pickboard IsComplete - Saves answer to a switch


                Pickboard AddReward - Adds rewards


                Pickboard SetPrice  - Picking isn't free, right?


                Pickboard Enter - go the scene with pickboard of ID


                Pickboard SetBackground - Changes background of pickboard
                Pickboard OpenTiles - opens a number of tiles


                 



                        - ID of the board you're changing


                        - Width of the board


                        - Height of the board


                        - ID of the switch to save board's state


                        - a, w, i, g, v - armor, weapon, item, gold, variable
                        - a, w, i, g, v - armor, weapon, item, gold, variable


                        - ID of item, if is gold -- then ID is irrelevant


                        - How much should be reward if adding it or taken if setting price


                        - How many tiles on board has this reward


                         


                        Example of calls:



                Code:       
Pickboard Start 3 5 5
Pickboard Reset 3
Pickboard IsComplete 3 173
Pickboard AddReward 3 a 4 1 5
Pickboard AddReward 3 g 0 1000 10
Pickboard AddReward 3 i 1 5 7
Pickboard SetPrice 3 i 5 1
Pickboard Enter 3



                                 


                                Sample pickboard setup from video:


                                http://puu.sh/na5NN/fe29427343.png






         


Plugin: <GitHub>


        How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.


        Images:


Image files: <MediaFire>


         



Terms of Use:


                Don't remove the header or claim that you wrote this plugin.


                Credit Mr. Trivel if using this plugin in your project.


                Free for non-commercial projects.


                For commercial use contact Mr. Trivel.


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