mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2025-07-03 00:40:35 +02:00
add lua sandbox, tabs, stuff
This commit is contained in:
7
computers/commands/exit/conf.json
Normal file
7
computers/commands/exit/conf.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "exit",
|
||||
"license": "MIT",
|
||||
"version": 0.1,
|
||||
"engine": 0.42,
|
||||
"help": "exits the computer"
|
||||
}
|
7
computers/commands/exit/init.lua
Normal file
7
computers/commands/exit/init.lua
Normal file
@ -0,0 +1,7 @@
|
||||
function exit(pos, input, data)
|
||||
minetest.close_formspec(data.player:get_player_name(), "")
|
||||
|
||||
return "you shouldnt see this"
|
||||
end
|
||||
|
||||
return exit
|
Reference in New Issue
Block a user