Don't Starve Together Mod Dev Tools & API support library of lua-language-server
饥荒mod开发工具 / Don't Starve Together Mod Dev Tools
一站式饥荒 mod 开发插件: 从 mod 框架生成、人物注入, 到动画贴图打包 —— 全部内置, 无需安装任何外部工具.
All-in-one DST modding toolkit: mod scaffolding, character injection, and animation/texture packing — all built-in, no external tools required.
命令速查 / Command Reference
Ctrl+Shift+P 输入 dst-lan 即可看到全部命令 / Type dst-lan in the Command Palette.
命令 / Command
说明 / Description
dst-lan: 生成mod框架 (gen-mod)
输入 modid, 一键生成完整 mod 骨架 / Scaffold a full mod from a modid
dst-lan: 人物模板注入 (inject-avatar)
向已有 mod 注入新人物全套资源 / Inject a new character into an existing mod
dst-lan: 打包动画 (compiler)
动画/贴图打包、图集打包 二合一 / Compile & atlas-pack
dst-lan: 制作预制物图 (makeimg)
提取三张模板图供绘制, 完成后自动注入 inventoryimages / swap / ground 与 scml / Extract 3 template images to draw on, then inject inventoryimages, swap, ground assets and scml
打开 LLS 插件设置, 找到 Workspace: Library, 将下载好的库的scripts文件夹的路径,添加进去./Open the LLS plugin settings, find Workspace: Library, and add the path to the scripts folder of the downloaded library.
如果你不想全局设置该库,可以在工作区JSON中配置./If you do not want to set this library globally, you can configure it in the workspace JSON.