42 lines
769 B
Lua
42 lines
769 B
Lua
local GMConst = {}
|
|
--des 是命令描述 type 是命令字符串
|
|
GMConst.GM_INFO = {
|
|
{
|
|
title = "添加道具",
|
|
desc = [[添加道具 type:add_item
|
|
arg1:物品id
|
|
arg2:物品数量
|
|
Example: add_item 1 100]],
|
|
type = "add_item"
|
|
},
|
|
{
|
|
title = "全道具",
|
|
desc = [[全道具 type:all_items
|
|
arg1:物品数量
|
|
Example: all_items]],
|
|
type = "all_items"
|
|
},
|
|
{
|
|
title = "删除道具",
|
|
desc = [[删除道具 type:del_item
|
|
arg1:物品id
|
|
arg2:物品数量
|
|
Example: del_item]],
|
|
type = "del_item"
|
|
},
|
|
{
|
|
title = "清除道具",
|
|
desc = [[清除道具 type:clear_item
|
|
Example: clear_item]],
|
|
type = "clear_item"
|
|
},
|
|
{
|
|
title = "添加英雄",
|
|
desc = [[添加英雄 type:add_hero
|
|
arg1:英雄id
|
|
Example: add_hero 1]],
|
|
type = "add_hero"
|
|
},
|
|
}
|
|
|
|
return GMConst |