我给你福州的吧,全在这里了:
-- 获取护镖目的地
get_path = function(target)
debug_info("get_path()")
if string.find(target, "归云庄太湖街")~=nil then
return "hb_lin_guiyun";
elseif string.find(target, "嘉兴钱庄")~=nil then
return "hb_lin_jiaxing";
elseif string.find(target, "苏州聚宝斋")~=nil then
return "hb_lin_suzhou";
elseif string.find(target, "泉州当铺")~=nil then
return "hb_lin_quanzhou";
elseif string.find(target, "镇江飞龙镖局")~=nil then
return "hb_lin_zhenjiang";
elseif string.find(target, "牙山小荒地")~=nil then
return "hb_lin_yashan";
elseif string.find(target, "南昌飞虎镖局")~=nil then
return "hb_lin_nanchang";
elseif string.find(target, "江州天福镖局")~=nil then
return "hb_lin_jiangzhou";
elseif string.find(target, "岳王墓墓前广场")~=nil then
return "hb_lin_yuewangmu";
elseif string.find(target, "陆家庄大厅")~=nil then
return "hb_lin_lujiazhuang";
elseif string.find(target, "杭州江南钱庄")~=nil then
return "hb_lin_hangzhou";
else
return "";
end
end |