15 lines
292 B
Lua
15 lines
292 B
Lua
|
-- CHAT COMMANDS
|
||
|
if adv_core.setting("do_chat",true) then
|
||
|
|
||
|
minetest.register_chatcommand("make_shop", {
|
||
|
params = "<name> <privilege>",
|
||
|
|
||
|
description = "Generate an Adventure Shop Node"
|
||
|
|
||
|
privs = {interact = true},
|
||
|
|
||
|
func = function(name)
|
||
|
return true, "You said"
|
||
|
end,
|
||
|
})
|
||
|
end
|