'---------------------------------------------------------
'起点:“任一地点”座标:任一地点
'目标:,【54】偷吃老鼠任务
'请佩戴太阳神首饰或月亮首饰
'---------------------------------------------------------
dim @ID,@yes
button 任务日志
delay 1000
check 任务,?,LIKE,*偷吃老鼠任务*已完成},已解过任务

check 道具,空位,>,3,+3
msg 【寂o星】提示请空出3格道具栏!,1
pause

check 任务,?,LIKE,*偷吃老鼠任务*进行中},+2
goto 开始解任务
input @yes,输入1为自动寻找最近座标，不输入就从头执行脚本！,要寻找最近座标吗？
if @yes,=,1,+2
goto +2
nearpos

'---------------------------------------------------------
label 开始解任务
' --------------------------------------------------------
run \99.【公用脚本】\【去加加】.asc
' --------------------------------------------------------
waitmap 3000,5,-2
check 道具,老鼠的骨,>=,1,+2
check 道具,老鼠的牙,>=,1,去加加村长家
walkpos 93,97
walkpos 92,97
walkpos 91,97
walkpos 90,97
walkpos 89,97
walkpos 88,97
walkpos 87,97
walkpos 86,98
walkpos 85,99
walkpos 84,100
walkpos 83,101
walkpos 82,102
walkpos 81,103
walkpos 80,104
walkpos 79,104
walkpos 78,104
walkpos 77,104
walkpos 76,104
walkpos 75,104
walkpos 74,104
walkpos 73,104
walkpos 72,104
walkpos 71,104
walkpos 70,104
walkpos 69,105
walkpos 68,105
walkpos 67,105
walkpos 66,105
walkpos 65,105
walkpos 64,105
walkpos 63,105
walkpos 63,104
walkpos 63,103
label 帕尔多
check 道具,老鼠爱吃的大福,!=,0,寻找偷吃的老鼠
walkpos 63,102
delay 500
EO
delay 800
check 座标,!=,63,102,-4
W 0,0,A
delay 500
say 【寂o星】制作最新版偷吃老鼠任务脚本-www.shiqi.co bbs.93plya.com www.shiqi.so,1
delay 1000
wait 对话,0,?,帕尔多
check 对话,1,=,以后不怕粮食再被老鼠给偷吃了。,已解过任务
check 对话,1,=,怎么只有老鼠的牙呢？你还没抓到它喔！快去,寻找偷吃的老鼠
check 对话,1,=,咦！这不是老鼠的骨头吗？！多亏你的帮助不,交老鼠的骨头
check 对话,1,=,那只老鼠不是你想像的那么简单。,寻找偷吃的老鼠
check 对话,1,=,什么！！大福不见了！！！,重拿大福
wait 对话,1,最近在村子里面出现了一只又大又肥的老鼠,帕尔多
button 下一页
wait 对话,1,但是～～～～～我很怕老鼠！！所以想请你去,帕尔多
button 确定
wait 对话,1,谢谢你喔！！那只老鼠很会跑喔！身上不要放,帕尔多
button OK
delay 3000
check 道具,老鼠爱吃的大福,=,0,帕尔多
goto 寻找偷吃的老鼠

label 重拿大福
button 确定
wait 对话,1,别再搞丢了喔！,帕尔多
button OK
delay 3000
check 道具,老鼠爱吃的大福,=,0,帕尔多
goto 寻找偷吃的老鼠

label 交老鼠的骨头
wait 对话,1,咦！这不是老鼠的骨头吗？！多亏你的帮助不,帕尔多
button 确定
wait 对话,1,这是我们村民大家一起出钱去买的手环。这小,帕尔多
button OK
delay 3000
goto 已解过任务

label 寻找偷吃的老鼠
walkpos 62,102 
walkpos 62,103 
walkpos 62,104 
walkpos 62,105 
walkpos 63,105 
walkpos 64,105 
walkpos 65,105 
walkpos 66,105 
walkpos 67,105 
walkpos 68,105 
walkpos 69,105 
walkpos 70,105 
walkpos 71,105 
walkpos 72,105 
walkpos 73,105 
walkpos 74,105 
walkpos 75,105 
walkpos 76,105 
walkpos 77,105 
walkpos 78,105 
walkpos 79,104 
walkpos 80,103 
walkpos 81,102 
walkpos 82,101 
walkpos 83,100 
walkpos 84,99 
walkpos 85,98 
walkpos 86,97 
walkpos 87,97 
walkpos 88,97 
walkpos 89,97 
walkpos 90,97 
walkpos 91,97 
walkpos 92,97 
walkpos 93,97 
walkpos 94,97 
delay 500
EO
delay 800
check 座标,!=,94,97,-4
check 道具,老鼠的牙,>=,1,去加加村长家
'---------------------------------------------------------
label 整老鼠的牙
waitmap 3000,1,+1
walkpos 94,98 
walkpos 94,99 
walkpos 95,99 
walkpos 96,99 
walkpos 97,99 
walkpos 98,99 
walkpos 99,99 
walkpos 100,99 
walkpos 101,99 
walkpos 102,99 
walkpos 103,99 
walkpos 104,99 
walkpos 105,99 
walkpos 106,99 
walkpos 107,99 
walkpos 108,99 
walkpos 108,100 
walkpos 109,100 
walkpos 110,100 
walkpos 110,99 
walkpos 111,99 
walkpos 112,98 
walkpos 113,97 
walkpos 114,96 
walkpos 115,96 
walkpos 116,96 
walkpos 117,95 
walkpos 118,94 
walkpos 119,94 
delay 500
EO
delay 800
check 座标,!=,119,94,-4
w 119,94,A 
delay 500
let @ID,=,@[寻找NPCID.偷吃的老鼠]
if @ID,!=,101178,+4
call 老鼠对话
delay 500
call 老鼠对话
walkpos 118,94 
walkpos 117,95 
walkpos 116,96 
walkpos 115,96 
walkpos 114,96 
walkpos 113,96 
walkpos 112,96 
walkpos 111,96 
walkpos 110,96 
walkpos 109,96 
walkpos 108,96 
walkpos 107,96 
walkpos 106,96 
walkpos 105,96 
walkpos 104,96 
walkpos 103,96 
walkpos 102,96 
walkpos 101,96 
walkpos 100,96 
walkpos 100,97 
walkpos 100,98 
walkpos 100,99 
walkpos 99,99 
walkpos 98,99 
walkpos 97,99 
walkpos 96,99 
walkpos 95,99 
walkpos 94,99 
walkpos 94,98 
walkpos 94,97 
delay 500
EO
delay 800
check 座标,!=,94,97,-4
check 道具,老鼠的牙,>=,1,去加加村长家
walkpos 93,97 
walkpos 92,97 
walkpos 91,97 
walkpos 90,97 
walkpos 89,97 
walkpos 89,96 
walkpos 89,95 
walkpos 89,94 
walkpos 89,93 
walkpos 89,92 
walkpos 89,91 
walkpos 89,90 
walkpos 89,89 
walkpos 88,88 
walkpos 87,87 
walkpos 86,86 
walkpos 86,85 
walkpos 86,84 
walkpos 86,83 
walkpos 86,82 
walkpos 86,81 
walkpos 86,80 
walkpos 86,79 
walkpos 86,78 
walkpos 86,77 
walkpos 87,77 
delay 500
EO
delay 800
check 座标,!=,87,77,-4
w 87,77,C 
delay 500
let @ID,=,@[寻找NPCID.偷吃的老鼠]
if @ID,!=,101178,+4
call 老鼠对话
delay 500
call 老鼠对话
walkpos 86,77 
walkpos 86,78 
walkpos 86,79 
walkpos 86,80 
walkpos 86,81 
walkpos 86,82 
walkpos 86,83 
walkpos 86,84 
walkpos 86,85 
walkpos 86,86 
walkpos 87,87 
walkpos 88,88 
walkpos 89,89 
walkpos 90,90 
walkpos 91,91 
walkpos 92,92 
walkpos 93,93 
walkpos 94,94 
walkpos 94,95 
walkpos 94,96 
walkpos 94,97 
delay 500
EO
delay 800
check 座标,!=,94,97,-4
check 道具,老鼠的牙,>=,1,去加加村长家
goto 整老鼠的牙
'---------------------------------------------------------
label 去加加村长家
walkpos 94,96
walkpos 94,95
walkpos 94,94
walkpos 94,93
walkpos 95,92
walkpos 95,91
walkpos 96,90
walkpos 97,89
walkpos 98,88
walkpos 99,87
walkpos 100,86
walkpos 101,85
walkpos 102,84
walkpos 103,83
walkpos 103,82
walkpos 103,81
walkpos 103,80
walkpos 103,79
walkpos 103,78
walkpos 103,77
walkpos 103,76
walkpos 103,75
walkpos 103,74
walkpos 103,73
walkpos 103,72
walkpos 103,71
walkpos 102,70
walkpos 101,69
walkpos 100,68
walkpos 99,68
walkpos 98,68
walkpos 97,68
walkpos 96,68
walkpos 95,68
walkpos 94,68
walkpos 93,67
walkpos 92,66
walkpos 91,65
walkpos 90,64
walkpos 90,63
walkpos 90,62
walkpos 90,61
delay 500
EO
delay 800
check 座标,!=,90,61,-4
walkpos 90,60
waitmap 3006,5,-6
walkpos 20,20
walkpos 20,19
walkpos 21,18
walkpos 21,17
walkpos 21,16
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,21,16,-6
label 打老鼠的骨
check 道具,老鼠的骨,>,0,有老鼠的骨
W 0,0,西
run \99.【公用脚本】\【寂星┊卸太阳月亮┆】.asc
set 自动逃跑,0
set 快速战斗,1
set 快速遇敌,1
delay 1000
check 道具,老鼠的骨,=,0,-1
set 自动逃跑,1
set 快速遇敌,0
delay 100
check 人物,战斗,!=,0,-1
useitem 月亮首饰
label 有老鼠的骨
walkpos 21,16
walkpos 21,17
walkpos 21,18
walkpos 21,19
walkpos 21,20
delay 100
check 人物,战斗,!=,0,-1
delay 500
EO
delay 800
check 座标,!=,21,20,-6
walkpos 21,21
waitmap 3000,5,-8
walkpos 90,61
walkpos 90,62
walkpos 90,63
walkpos 90,64
walkpos 90,65
walkpos 90,66
walkpos 90,67
walkpos 90,68
walkpos 90,69
walkpos 90,70
walkpos 89,71
walkpos 88,72
walkpos 87,73
walkpos 86,74
walkpos 85,75
walkpos 85,76
walkpos 85,77
walkpos 85,78
walkpos 85,79
walkpos 85,80
walkpos 85,81
walkpos 85,82
walkpos 85,83
walkpos 85,84
walkpos 85,85
walkpos 85,86
walkpos 85,87
walkpos 85,88
walkpos 85,89
walkpos 84,90
walkpos 83,91
walkpos 82,92
walkpos 81,93
walkpos 80,94
walkpos 79,95
walkpos 78,96
walkpos 77,97
walkpos 76,98
walkpos 75,99
walkpos 74,100
walkpos 73,101
walkpos 72,102
walkpos 71,103
walkpos 70,104
walkpos 69,105
walkpos 68,105
walkpos 67,105
walkpos 66,105
walkpos 65,105
walkpos 64,105
walkpos 63,105
walkpos 63,104
walkpos 63,103 
walkpos 63,102 
delay 500
EO
delay 800
check 座标,!=,63,102,-4
goto 帕尔多

'---------------------------------------------------------
label 老鼠对话
say 【寂o星】制作最新版偷吃老鼠任务脚本-www.shiqi.co bbs.93plya.com www.shiqi.so,2
delay 1000
wait 对话,0,?,返回
check 对话,1,=,吱！吱！吱！,拿回吃的
check 对话,1,吱！吱！吱！我的牙齿，好痛喔！吱！吱！吱,拿牙齿
goto 返回

label 拿回吃的
button 确定
goto 返回

label 拿牙齿
goto 返回

label 返回
return 

'---------------------------------------------------------
label 解不可思议的贝壳
run \99.【公用脚本】\解不可思议的贝壳.asc
goto 开始解任务

'---------------------------------------------------------
label 已解过任务
msg 【寂o星】提示:已解完【54】偷吃老鼠任务,1
end

label .err.
label .log.
goto 开始解任务
