【文件属性】:
文件名称:editor:Minetest Mod
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-17 17:33:52
Lua
Minetest Mod:编辑器
灵活的文本/代码编辑器,可进行雷电测试
local test_editor = editor. editor : new ( " editor:editor " )
test_editor: register_button ( " Run " , function ( self , name , context )
local code = context. buffer [context. open ]
if code then
-- WARNING! Insecure
local luacode = loadstring ( " return ( " .. code .. " ) " )
if luacode then
minetest. chat_send_player (name, " Result: " .. dump (
【文件预览】:
editor-master
----README.md(2KB)
----filesystem.lua(2KB)
----mod.conf(203B)
----screenshot.png(21KB)
----init.lua(146B)
----depends.txt(9B)
----editor.lua(5KB)
----description.txt(49B)