--------------------------------------------
--һκⶼԷǵĴ
------------ǻһʱ㴦----------
--------------------------------------------

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ') end
if ϵͳ.ǰͼ('D10013') then ϵͳ.ת('Ͽȶ') end
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡') end
if ϵͳ.ǰͼ('D10031') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮') end
if ϵͳ.ǰͼ('D10052') then ϵͳ.ת('ɽص') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('0') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('5') then ϵͳ.ת('µ') end
if ϵͳ.ǰͼ('0103') then ϵͳ.ת('̵') end
if ϵͳ.ǰͼ('0106') then ϵͳ.ת('װ') end
if ϵͳ.ǰͼ('0105') then ϵͳ.ת('ε') end
ϵͳ.ת('ûԶس')

űļ('-س.txt')


if ϵͳ.ǰͼ('11') then ϵͳ.ת('Թ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('жϵͼ') end
.ܵ(328, 269)
.NPCԻ('ϱ')
.ѡ('˲ƶ','@talkwith')
.ѡ('ƶ','@move1')
.ѡ('ƶ','@pay1')
ϵͳ.sleep(1500)
if ϵͳ.ǰͼ('0') then ϵͳ.ת('') end

Թ:
_ʱ = os.clock()
if .('˲Ϣƶ') then ϵͳ.ñ('ŷʦ˲ƶ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('жϵͼ') end
.ܵ(350, 240, true)
.߽ŵ㵽ͼ(349,239,'12',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('11') then ϵͳ.ת('Թ') end

Թ
.л״̬Ϊ('')
.ߴߵ(321, 120)
.߽ŵ㵽ͼ(320,119,'D10013')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ') end

Ͽȶڣ
.ߴߵ(169, 261)
.ߴߵ(31, 241)
.ߴߵ(21, 47)
.ߴߵ(178, 124)
.ߴߵ(129, 209)
.ߴߵ(217, 233)
.ߴߵ(251, 42)
.ߴߵ(147, 13)
.߽ŵ㵽ͼ(148,12,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10013') then ϵͳ.ת('Ͽȶ') end

Ͽȹ㳡
.ߴߵ(14, 27)
.߽ŵ㵽ͼ(13,26,'D10031')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡') end

ȣ
.ߴߵ(257, 250)
.ߴߵ(39, 254)
.ߴߵ(32, 218)
.ߴߵ(161, 158)
.ߴߵ(102, 169)
.ߴߵ(28, 168)
.ߴߵ(33, 37)
.ߴߵ(81, 63)
.ߴߵ(261, 52)
.ߴߵ(150, 104)
.߽ŵ㵽ͼ(149,103,'D1004')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10031') then ϵͳ.ת('') end

֮أ
.ߴߵ(67, 125)
.ߴߵ(38, 200)
.ߴߵ(47, 258)
.ߴߵ(74, 144)
.ߴߵ(139, 125)
.ߴߵ(205, 138)
.ߴߵ(196, 274)
.ߴߵ(280, 178)
.ߴߵ(238, 23)
.ߴߵ(176, 82)
.ߴߵ(216, 132)
.߽ŵ㵽ͼ(217,133,'D10052')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮') end

ɽص
.ߴߵ(77, 166)
.ߴߵ(99, 100)
.ߴߵ(29, 141)
.ߴߵ(72, 33)
.ߴߵ(168, 176)
.ߴߵ(161, 36)
.ߴߵ(64, 161)
.ߴߵ(52, 122)
.ߴߵ(98, 185)
.߽ŵ㵽ͼ(99,185,'D1004')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10052') then ϵͳ.ת('ɽص') end

֮ػأ
.ߴߵ(134, 131)
.ߴߵ(31, 256)
.ߴߵ(53, 127)
.ߴߵ(106, 34)
.ߴߵ(120, 37)
.߽ŵ㵽ͼ(121,38,'D10031')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮ػ') end

Ȼأ
.ߴߵ(152, 50)
.ߴߵ(29, 158)
.ߴߵ(163, 190)
.ߴߵ(50, 266)
.ߴߵ(289, 150)
.߽ŵ㵽ͼ(190,151,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10031') then ϵͳ.ת('Ȼ') end

Ͽȹ㳡أ
.ߴߵ(122, 188)
.߽ŵ㵽ͼ(121,189,'D10013')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡') end
ϵͳ.ת('жϵͼ')

ûԶس:
if ϵͳ.ǰͼ('0') then ϵͳ.ñ('ֱɱ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('жϵͼ') end
if .Ʒ('سǾ*') > 0 then ϵͳ.ת('ʹûسǾ') end
if .Ʒ('Ѿ') < 1 then ϵͳ.ת('߻ذ') end
.ʹƷ('Ѿ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

ʹûسǾ:
if .Ʒ('سǾ') < 1 then ϵͳ.ñ('سǾ') end
.ʹƷ('سǾ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

سǾ
.ʹƷ('سǾ')
ϵͳ.sleep(1000)


߻ذţ
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ߻') end
if ϵͳ.ǰͼ('D10013') then ϵͳ.ת('Ͽȶ߻') end
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡߻') end
if ϵͳ.ǰͼ('D10031') then ϵͳ.ת('߻') end
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮߻') end

ɽص߻أ
.ܵ(98, 185)
.߽ŵ㵽ͼ(99,185,'D1004')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10052') then ϵͳ.ת('ɽص߻') end

֮߻أ
.ܵ(120, 37)
.߽ŵ㵽ͼ(121,38,'D10031')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮߻') end

߻أ
.ܵ(189, 150)
.߽ŵ㵽ͼ(190,151,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10031') then ϵͳ.ת('߻') end

Ͽȹ㳡߻أ
.ܵ(122, 188)
.߽ŵ㵽ͼ(121,189,'D10013')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡߻') end

Ͽȶ߻أ
.ܵ(289, 287)
.߽ŵ㵽ͼ(289,288,'12')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10013') then ϵͳ.ת('Ͽȶ߻') end

Թ߻أ
.ܵ(325, 472)
.߽ŵ㵽ͼ(325,474,'11')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ߻') end
ϵͳ.ת('жϵͼ')

űļ('-س.txt')


if ϵͳ.ǰͼ('11') then ϵͳ.ת('س') ϵͳ.д־('ǰͼ11תûԶس') ϵͳ.ӡ('ǰͼ11תûԶس') return true end

