RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
789 stars 259 forks source link

Add a 'deck' feature to Maptool #1335

Open kayila opened 4 years ago

kayila commented 4 years ago

Is your feature request related to a problem? Please describe. There are a number of games and related things which I require a deck of cards. While it is possiable to create a system for doing this using thr current macro system, it is a bit cumbersome and requires knowledge of scripting, which not all users of MapTool are comfortable with.

Describe the solution you'd like I would like to see a system that allows a GM to create a 'deck' of cards which can be drawn or delt from, as well as a 'hand' area for each user. The deck would have the ability to draw cards, deal cards, shuffle all cards cureently in the deck, and recall all cards to the deck.

Each user would have a window with which they could hold their cards privately. Every user could see the number of cards other users have in their hands, but not the actual cards themselves.

The deck would be created by having a series of images and information regarding how many times each image is in the deck, or by having a single image that is split up within maptool.

Cards can be placed either from the hand or from the deck onto the map area either face up or face down, and can be flipped. Placing a card on the map area would create it as kond of a special token.

The deck and hands would persist across multiple maps. All cards and their location would persist across MT saves and restarts, and be saved as part of the campaign.

Describe alternatives you've considered Coding this up using macros.

Additional context N/A

Phergus commented 4 years ago

Some things to consider:

Tarot Deck

Card Properties

Multiple Decks

Card Like Mechanisms

Azhrei commented 4 years ago

Another consideration:

The deck mechanism could start out small, just being a way for the GM to add cards to the deck (images and/or text), then shuffle the deck and deal cards to players (face-up or face-down). Other components could be left to the players (orienting the cards, layout on the "table" for those that are face-up, etc). Perhaps this initial phase would define the order of cards (for games that require it), but keep in mind that some games don't care about suit (poker) while for others it's important (bridge).

A later implementation could add additional details, like having a discard pile that is automatically reshuffled at some point, or a draw pile that players would be allowed to draw one or more cards from (without requiring the GM to "deal" them). For games like Mahjong, rules on the placement of face-up cards could be added, and Harrow cards (for Pathfinder) are laid out like tarot cards with a particular pattern that is meaningful.

JamzTheMan commented 4 years ago

Just throwing this out there as a quickish solution....

Add a new checkbox option for MapTool Tables called "pick once" which will mark an entry as picked when, well, picked. Then a clear/reset button.

Then you have decks, one time random encounters or what ever you want. You have a built in UI to create decks with images and text and functions.

At least it could be done that way while the full other UI is done....

Phergus commented 4 years ago

So some kind of layout class would be used to determine the lay of a hand of cards. Simple for most traditional card games and more specific for Tarot or other systems where pattern is important.

Phergus commented 4 years ago

@JamzTheMan Adding feature request for draw-once tables.

kayila commented 4 years ago

We should likely also have a way to 'search' the deck for a particular card, I'm thinking a grid with all the cards in the deck and maybe a search box to search for a card by name

On Sun, Mar 1, 2020, 12:20 Phergus notifications@github.com wrote:

@JamzTheMan https://github.com/JamzTheMan Adding feature request for draw-once tables.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RPTools/maptool/issues/1335?email_source=notifications&email_token=AAHB4M4PAZIXA6OVMTPY7C3RFKKMJA5CNFSM4K7FZJZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENNE6FA#issuecomment-593121044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHB4M2YFTCZ7F4T7D4HMIDRFKKMJANCNFSM4K7FZJZQ .