Don't Starve

Don't Starve

94 ratings
DST Library联机库
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
139.546 KB
18 Nov, 2022 @ 2:26am
22 Jul, 2024 @ 10:04pm
32 Change Notes ( view )

Subscribe to download
DST Library联机库

In 1 collection by RICK
DST Series
11 items
Description
A DST library. Mostly for self use. If you want to use some utilities you may upload another version or combine into your own mod.
联机库,基本是自己使用的。如果你想使用其中的某些功能你可以自己上传一个新版本或直接整合到你自己的mod里。


Functions(need to enable develop mode)功能(需开启调试):
1.控制台打印优化Console Optimization
输入的内容的返回值也会打印。The return value of a command will also be printed.
2.控制台历史优化Console History Tweak
不保存与上一条重复的指令。Don't save the same command as the previous one.
3.资源加载逻辑优化Asset Loading Optimization
游戏启动时不卸载后端资源(即控制台里打印的一堆undefined prefab 0x123456789)Game doesn't try to unload backend assets( aka. undefined prefab).
4.打印优化Print Optimization
重复字符串不打印。Duplicate Sentences are omitted.
在设置里选择(1)不开启调试,(2)关闭打印(无法完全关闭),(3)一点都不打印(完全关闭)
Configuration: a. no debug print, b.don't print (can't assure all), c.don't ever print (close the output once and for all).
5.指令Commands (credit: Leonidas IV, FriendlyGlass)
c_select(inst)=cselect()=sel() 选择鼠标下实体/指定实体 Select entity under mouse or the param given
reset()=c_reset() 回档 Reroll
c_reload() 保存并重载 Save&Reload
save()=c_save() 保存 Save
godmode() 上帝模式 God Mode
c_revealmap() 开全图 Reveal the map
c_removeall(prefab) 删除指定prefab Remove All the prefab
dmp(table)=dumptable() 查看table Dumptable
lookat() 看鼠标下的实体 Look at the entity under mouse
startlook() 持续看鼠标下的实体 Continuously look at the entity under mouse

19 Comments
TIF_Raindust 8 Jul, 2024 @ 3:09am 
@RICK 大佬,开了模组传送杖就无法使用
ハカリ (Hakari) 16 Sep, 2023 @ 9:47pm 
Nevermind now, all is okay with this
RICK  [author] 23 May, 2023 @ 4:32pm 
Fixed. Because I forgot that if development mode is disabled, the print choice cannot be changed otherwise the print will be nil.
RICK  [author] 23 May, 2023 @ 4:13pm 
Yes in that case you must delete the mod folder, I will try to replicate this error.
Noonfish 22 May, 2023 @ 11:10pm 
also a heads up, but i cant disable this mod once i enable it because it crashes the game on start up but doesnt trigger the game to disable the mod
Noonfish 22 May, 2023 @ 6:13pm 
https://pastebin.com/GeFHRz4j even when its only this mod enabled, causes the game to softcrash (probably has something to do with the console edits the api is doing since the log is throwing out something about the print function)
RICK  [author] 22 May, 2023 @ 7:25am 
@Noonfish Try disable/delete all mods to see if this mod causes crash.
Noonfish 21 May, 2023 @ 9:16pm 
softcrashes the game after the mega bug fix
防御新 18 May, 2023 @ 6:05am 
谢谢
RICK  [author] 31 Dec, 2022 @ 2:30am 
@SupaSpaceBunnies Figured out that all backpack files are not even loaded. Should be solved in the next update.