Tabletop Simulator

Tabletop Simulator

评价数不足
The Kraken Table (with locked item fix)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
51.406 KB
2022 年 7 月 17 日 下午 2:36
2022 年 7 月 18 日 下午 12:59
2 项改动说明 ( 查看 )

订阅以下载
The Kraken Table (with locked item fix)

描述
UPDATE: About 24 hours after I posted this, the original developer updated the Kraken Table to fix the locking problem, rendering this mod redundant. Rather than take this down, I've decided I will leave this version up for posterity.

This is a redone version of the Kraken Table by Lily ( https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1222553243 ) that fixes one major issue involving locked items in the drawers.

On the original table, if an item on one of the side drawers is locked and then the drawer is closed, this item will remain locked when the drawer is reopened, unless the game is saved and reloaded, in which case the item will not remain locked. This is especially a problem if you try to place a hidden zone in the drawer.

This version fixes that.

If you're interested in the technical details, here they are:

The object's original locked state is normally stored in the object itself, as a variable. But this variable isn't stored in the game's save file, because a special script would need to be written on the object itself in order to do that. I instead set it up to save the information on the objects' locked status in the drawer's script_state property, which is where this data is normally meant to be saved.
1 条留言
-W3E- HellDevil 2022 年 7 月 19 日 上午 3:28 
Good to see the old kraken table back