Jump to content
Glasses

Pickboard - Lotto Type Item Picking

Recommended Posts

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 [board ID] [X] [Y] - creates empty board with X Y dimensions
Pickboard Reset [board ID] - resets board of ID to empty state
Pickboard IsComplete [board ID] [switch ID] - Saves answer to a switch
Pickboard AddReward [board ID] [RewardType] [iD] [Amount] [Tiles] [iconID] - Adds rewards
Pickboard SetPrice [board ID] [PriceType] [iD] [Amount] [iconID] - Picking isn't free, right?
Pickboard Enter [board ID] - go the scene with pickboard of ID
Pickboard SetBackground [board ID] [imageName] - Changes background of pickboard
Pickboard OpenTiles [board ID] [NumberOfTiles] - opens a number of tiles
 
[board ID] - ID of the board you're changing
[X] - Width of the board
[Y] - Height of the board
[switch ID] - ID of the switch to save board's state
[RewardType] - a, w, i, g, v - armor, weapon, item, gold, variable
[PriceType] - a, w, i, g, v - armor, weapon, item, gold, variable
[iD] - ID of item, if [Type] is gold -- then ID is irrelevant
[Amount] - How much should be reward if adding it or taken if setting price
[Tiles] - How many tiles on board has this reward
 
Example of calls:
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:
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.
Edited by Glasses
  • Like 4

Share this post


Link to post
Share on other sites

Version 1.1

- Variables added as reward choice or price choice.
- Able to change any item, gold or variable displayed icon ID for any board.
- Added transparency option for reward window background.
- Added command to add different backgrounds to different pickboards.
- Added option to not have a background by default.
- Now the board is revealed if there's no more rewards to pick.
- Added a new command to reveal X random tiles on the board.

  • Like 2

Share this post


Link to post
Share on other sites

I'm getting weird results when i try to use this plugin.  The rows look all topsy turvy. 

What am I doing wrong?

 

 

image.png.33636f2b66eda374540b37f84033fb56.png

 

These are my settings

 

image.png.63c4af6f1182dbf6539ddaa179489ac3.png

 

Any help would be appreciated.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted