adventure_core/chat_commands.lua

15 lines
292 B
Lua
Raw Normal View History

-- 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