Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Dead of Winter

I'm working on an adaptation of the Dead of Winter board game to play through Roll20. It's coming along great, but I have one issue I'm not sure how to get around. During the initial setup you take 2 cards for each player from the objective deck and shuffle them together with 1 card from the traitor objective deck. Then deal 1 card to each player. So the issue I have is trying to make 1 deck with cards from 2 other decks that can be shuffled and then dealt out. Only way I can think around this little problem is to have someone be the GM and do everything IRL and just hand each player whatever cards they draw offline. Which wouldn't be that much fun since there wouldn't be anything for that person to do after that point. Anyone know of another way this might be done? Or if there is something in the Roll20 documentation that I missed that lets me build decks on the fly would be awesome.
1436911959
Finderski
Plus
Sheet Author
Compendium Curator
Not an elegant solution, but you could deal the cards, have everyone put those cards on the table (that will be kind of a shuffle, since they should land randomly) then the "dealer" could just roll a d<number of cards> and pass the cards back out that way? For example, if the new created deck has 12 card, the dealer would roll a d12 and gets 3, the dealer then gives the first player card three. Then he rolls d11 and gives the next player the card that aligns with that number rolled, etc. Like I said, not ideal, but it would be one way around the system limitation...Other probably have a better solution, I would hope, anyway. :)
1436914473
Pat S.
Forum Champion
Sheet Author
Scott, you might want to think about upgrading to mentor (soon to be called pro - more info here ) so you can use the API because I think a script could be written to do what you want. I would recommend discussing the possibility of what that script might need to do (if you choose that route) in the API forum prior to upgrading your account just to find out if it could be done.
1436921260
The Aaron
Pro
API Scripter
My API solution would be draw the cards from the decks face down in a pile on the table, then I have a script that adjusts the zorder of selected graphics in a random order on the table (effectively shuffling them). Then you just take the top one to draw from the new "deck".
1436929513
Finderski
Plus
Sheet Author
Compendium Curator
The Aaron - can the API do that now? According to this the API Objects wiki it states (Under the Deck object): //Note at this time you can't use the API to "draw", "deal", or "shuffle" cards from the Deck. We're working on helper functions to enable this functionality. Maybe deal cards to the players and then take the cards from the hand and do what you were talking about?
1436930866
The Aaron
Pro
API Scripter
No, I'm talking about making a pile of them on the VTT surface, next to the tokens and such. Then select them and use the API to adjust their order on the table, effectively randomly choosing the order in which you send them to the back. Then as you click on the top card and take it, you are getting a random card. I wrote a script that does this sometime last year for a user. I'm not sure if it's in the repo, but I still have it.
1436950270
Finderski
Plus
Sheet Author
Compendium Curator
Cool—misread your reply (because I soooooo want the API to be able to interact with the decks directly). Thanks for the clarification. I may need to get that script from you, though. :)
1436967232
The Aaron
Pro
API Scripter
Oh yeah, me too! It is in the official repo, and in my public repo: RandomDepth: <a href="https://github.com/shdwjk/Roll20API/blob/master/Ra" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Ra</a>...
Thanks Pat I may indeed have to upgrade anyway just for the image space. Of course, I know nothing of how to script anything. So thanks to Aaron as well for already having a solution that just may work. I agree with GV too. If I could make decks from other decks on the fly; I could do a game like Pathfinder the Card Game. Thanks for all the good feedback.