Tabletop Simulator

Tabletop Simulator

评价数不足
Betrayal Legacy Better Boards
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
148.462 KB
2021 年 7 月 27 日 下午 2:21
2021 年 7 月 27 日 下午 2:47
2 项改动说明 ( 查看 )

订阅以下载
Betrayal Legacy Better Boards

描述
The character boards in this mod:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2250243127

have no text on them and instead have 3d text over them, that text is difficult to use and many of the players in my group have deleted several of the fields on accident (usually trying to delete the text field they added on accident, which they have usually failed to do) so I updated the character boards to have text fields as part of the board. You can edit the text without switching to the text tool and it should be much easier to use.

////////////////////////////////////////////////
I am working on easier ways to bury cards, for now I have added the following code to the decks (right click the deck and choose scripting, paste this into the window and close, save and load the game and it should have a button) but a better solution is incoming.

function onLoad()
self.createButton({click_function = "bottom",
function_owner = self,
label="Bottom",
tooltip = "Bury the top card of this deck",
position = {0,0,1.7},
rotation = {0,0,180},
width = 600,
height = 200,
font_size = 160})

end

function bottom(obj, color, alt_click)
tmp = self.takeObject({position={0,-3,0}, smooth=false})

self.putObject(tmp)

end
1 条留言
KilledWithStyle 2022 年 9 月 24 日 下午 1:40 
TO BURY CARDS: Hold the card away from the deck, Continue holding, Hold right click, you should now be holding both click and right click, now move the card back to the deck while still holding both keys.

Solved your scripting issue.