|
发表于 2017-12-9 22:07:48
|
显示全部楼层
再把
["north"] = "huashan/yaofang",
["east"] = "huashan/celang3",
这两个房间对应的连接 去掉 像下面这样
Room {
id = "huashan/yaofang",
name = "药房",
ways = {
["south"] = "huashan/fanting",
["north"] = "huashan/lianwu1",
},
}
我就是改成了这样啊。。从来不出错
function check_food()
-- exe('remove all;wear all')
exe('remove biao;remove zhen;wear all')
if GetVariable("autosxlian") and (not autolianskillslvl or hp.pot_max>autolianskillslvl) then
-- if not lastchecktime['cha'] or (os.time()-lastchecktime['cha']>60) then
exe('cha')
lastchecktime['cha']=os.time()
-- end
end
dis_all()
jobinit()
hpheqi()
-- job.over=0
exe('hp;unset no_kill_ap;yield no;time')
if hp.food<90 or hp.water<80 then
return go(wudang_eat,'武当山','茶亭')
else
-- locate()
check_bei(check_food_over)
end
end
不准许连贴回 找足了东西才一起发的 |
|