
Goonie Sanders Local Expanders
同志们,兄弟姐妹们,以及各位杂牌军:长期以来,ComputerCraft 中的工作电脑一直被剥夺了对它们在自己主机上编写的脚本的自由访问权。我再次呼吁大家从本地文件系统加载你们的 Lua 脚本——只不过这次,我带来了一个模组让这一切变得轻松无痛。
这个狂野之物能做什么
- 扩展本地脚本共享库:通过名为
GoonieSandersLocalExpanders 的全局 API 暴露 config/ccscripts/ 目录。
- 在游戏中挂载整个文件夹:挂载在
/goonie 下,这样你就可以直接从开发机运行或复制脚本,无需手动键入。
- 附带一个竞选助手(
localscripts.lua,自动放入 config/ccscripts/):引导你选择脚本、将其保存到 /scripts/,并在你同意时立即执行。
安装指南(因为革命需要后勤保障)
- 将 jar 文件放入你的 NeoForge mods 文件夹。
- 将任何 Lua 杰作放入
config/ccscripts/。该目录是整个操作的核心。(你可以自己创建文件夹,或者启动一次游戏,模组会自动为你创建。)
现场使用方法
- 放置一台 ComputerCraft 电脑或海龟。
- 运行
goonie(自动安装在 /rom/programs 下)以立即启动助手。
- 从列表中选择,让 API 获取它,并看着脚本接管执行权。
想跳过助手?使用普通的 shell 命令手动访问所有内容,例如 fs.list("/goonie")、cp /goonie/myScript.lua myScript.lua,甚至 shell.run("/goonie/myScript.lua")——它们都指向助手所使用的同一挂载文件夹。
F.A.Q. (高频激动问题)
- 这需要网络连接吗? 绝对不需要。我们保持本地化,同志们。
- 如果脚本缺失怎么办? 模组会通知你。将其放入
config/ccscripts/ 并重试。
现在走出去,组织你的 Lua,并以你能成为的最具“Goonie”风格的 Bernie 方式在本地进行扩展。这场革命或许不会被电视转播,但它会被编写成脚本。

Goonie Sanders Local Expanders
Brothers, sisters, and assorted goons: for far too long the working computers of ComputerCraft have been denied unfettered access to the scripts they already wrote on their home machines. I am once again asking you to load your Lua from the local filesystem—only this time, I brought a mod to make it painless.
What This Wild Thing Does
- Expands the local script commons by exposing
config/ccscripts/ through a global API named GoonieSandersLocalExpanders.
- Mounts the whole folder in-game under
/goonie, so you can run or copy scripts straight from your dev machine without typing them in by hand.
- Ships a campaign aide (
localscripts.lua, auto-dropped into config/ccscripts/) that walks you through picking a script, saves it to /scripts/, and—if you say “aye”—executes it immediately.
Installation (Because revolutions need logistics)
- Toss the jar into your NeoForge mods folder.
- Drop any Lua masterpieces into
config/ccscripts/. That directory is the beating heart of the operation. (either create the folder yourself or start your game once with the mod and it'll be made for you.)
How To Use It On The Floor
- Plop down a ComputerCraft computer or turtle.
- Run
goonie (auto-installed under /rom/programs) to launch the helper immediately.
- Choose from the list, let the API fetch it, and watch the scripts seize the means of execution.
Want to skip the helper? Access everything manually with plain shell commands like fs.list("/goonie"), cp /goonie/myScript.lua myScript.lua, or even shell.run("/goonie/myScript.lua")—they all hit the same mounted folder the helper uses.
F.A.Q. (Frequently Agitated Questions)
- Does this require network access? Absolutely not. We’re keeping it local, comrades.
- What if a script is missing? The mod will let you know. Place it in
config/ccscripts/ and rerun.
Now get out there, organize your Lua, and expand locally like the gooniest Bernie you can be. The revolution may not be televised, but it will be scripted.
评论 0
登录后参与评分
还没有评论,来抢沙发吧