Don't Starve

Don't Starve

100 évaluations
DST Library联机库
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Taille du fichier
Publié le
Mis à jour le
139.546 KB
18 nov. 2022 à 2h26
22 juil. 2024 à 22h04
32 notes de changement ( voir )

S'abonner pour télécharger
DST Library联机库

Dans 1 collection faite par RICK
DST Series
11 objets
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

25 commentaires
Noonfish Il y a 18 heures 
I seem to not crash anymore either. Strange!
RICK  [créateur] 13 juil. à 1h25 
@小白 我拆分了物品皮肤为两个模组,请订阅我发布的新模组
RICK  [créateur] 13 juil. à 1h25 
@ Noonfish But today I tested it I'm suprised that I didn't crash. Do you have log file?
小白 12 juil. à 19h40 
大佬,有的皮肤比如箱子铥矿帽,之前有皮肤,但是现在缺少动画文件了
RICK  [créateur] 30 juin à 4h20 
Well yes Insight, I figured out that mod need some modification to mute the error caused by assertion. I'll see if I can do it from my mod. You can temporarily use the code _G.assert=print to suppress the crash.
Noonfish 19 juin à 2h35 
can you make this compatible with insight?
TIF_Raindust 8 juil. 2024 à 3h09 
@RICK 大佬,开了模组传送杖就无法使用
ハカリ (Hakari) 16 sept. 2023 à 21h47 
Nevermind now, all is okay with this
RICK  [créateur] 23 mai 2023 à 16h32 
Fixed. Because I forgot that if development mode is disabled, the print choice cannot be changed otherwise the print will be nil.
RICK  [créateur] 23 mai 2023 à 16h13 
Yes in that case you must delete the mod folder, I will try to replicate this error.