You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
254 B
Lua

local goldbuyconf = require "goldbuyconf"
local M = {}
function M.getgold(name)
for i,v in pairs(goldbuyconf) do
if v.item_name == name then
return v.gold
end
end
assert(false, "不存在的配置")
end
return M