local function _ensure_sql() if type(_G.Sql_con) == "function" and type(_G.rows) == "function" then return true end pcall(require, "Sql_con") if type(_G.Sql_con) == "function" then return true end pcall(dofile, "server_data/script/Sql_con.lua") if type(_G.Sql_con) == "function" then return true end pcall(dofile, "../server_data/script/Sql_con.lua") return type(_G.Sql_con) == "function" end _ensure_sql() function Sand_castle(a, b, c) return 0 end return { Sand_castle = Sand_castle, }