Tabletop Simulator

Tabletop Simulator

评价数不足
Deck Re-Shuffler • for Deckbuilding Games
   
奖励
收藏
已收藏
取消收藏
Type: Utility
Game Category: Card Games
文件大小
发表于
更新日期
57.242 KB
2020 年 5 月 21 日 下午 8:42
2021 年 4 月 8 日 上午 6:15
11 项改动说明 ( 查看 )

订阅以下载
Deck Re-Shuffler • for Deckbuilding Games

在 Liyarin 的 1 个合集中
Utility Scripts by Nyss AKA Liyarin
19 件物品
描述
This is an utility that helps with an annoying little bit about deckbuilding games: The fact that you need to reshuffle your discard pile into your deck when it runs out.

Once your Deck runs out, there is a button below it that will take your discard pile, flip it over and re-shuffle it into the deck spot.





There are some additional options, that can be configured in the back side of the tile:

Draw to X Button: Displays a button below the deck that remembers the number of cards to draw, so that you can simply press that button and your hand will fill up to that number. For example, if you need to draw up 5, and you have 2 cards in your hand, the button will draw 3. Forget all the mental maths to figure out how many cards you need to draw!

Discard Button: An easy way to simply discard your whole hand.

Discard X Random: Sometimes cards tell you to discard a random card from your hand, and it's annoying to group up your hand, shuffle it, discard the top card, then take it all back into your hand. This button randomly chooses a random card in your hand and discards it. You can change the amount of cards to discard this way with the +/- buttons next to it.

Re-Shuffle when not enough cards: An added option to the Draw to X button, if this option is on, when you draw X card, but there aren't enough cards in the deck to deal all of them, the script automatically re-shuffles the deck, then deals the rest of the cards missing. This option is on by default.

Bigger Buttons: Some people said they had trouble clicking the buttons, so I made this option that changes the size of the buttons, but they appear outside of the object, and it's not as visually appealing.




If you like my mods and wish to support me, you may do so here[paypal.me].

I now make tabletop simulator mods by commission, if you're interested, request one here[www.fiverr.com].
31 条留言
Liyarin  [作者] 2022 年 10 月 19 日 下午 4:30 
Ah, I see what you mean. No, currently it's not possible to do that, it'd require me to code a new set.
T3chN1nja 2022 年 10 月 19 日 下午 4:25 
your draw and discard sits as one object. This is useful if they are next to each other.

in my case I have a player board where draw is on the left and discard is on the right of the board. currently i cant see how to seperate your draw and discard while keeping the coding
Liyarin  [作者] 2022 年 10 月 16 日 下午 4:02 
I am unsure of what you're asking
T3chN1nja 2022 年 10 月 16 日 上午 9:29 
Oooh I see yours works independently since they are both one object. Is there a way of separating the two?
Liyarin  [作者] 2022 年 10 月 16 日 上午 7:53 
T3chN1nja, you right click it, then save object. Then you load whatever game you want and you can import as many of these as you want from your saved objects
T3chN1nja 2022 年 10 月 15 日 下午 4:52 
Is there a way to have two sets of these for 2 player deck builder games? I am unfamiliar with scripting in TTS so excuse me if this is a dumb question
Dr. Snickity 2022 年 4 月 19 日 下午 7:18 
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2797036975

I'd love to hear if you have any additional thoughts. :)
Liyarin  [作者] 2022 年 4 月 18 日 上午 5:07 
@Dr. Snickity Sure, feel free. Sorry that I didn't get around to it.
Unreal Ed 2022 年 4 月 17 日 上午 7:05 
Please post a link here once you have, I'd be curious to see your version
Dr. Snickity 2022 年 4 月 17 日 上午 5:44 
Sorry, meant to say edited your item to make it function, didn't make one from scratch.