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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ') end
if ϵͳ.ǰͼ('D10011') then ϵͳ.ת('Ͽȱ') end
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡') end
if ϵͳ.ǰͼ('D10032') then ϵͳ.ת('һ') end
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮') end
if ϵͳ.ǰͼ('D10051') 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
if ϵͳ.ǰͼ('1007') then ϵͳ.ת('ӻ') end
ϵͳ.ת('ûԶس')
űļ('а-س.txt')

if ϵͳ.ǰͼ('11') then ϵͳ.ת('Թ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('жϵͼ') end
.ܵ(328, 269)
.NPCԻ('ϱ')
.ѡ('˲ƶ','@talktowith')
.ѡ('ƶ','@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

Թ
.ߴߵ(90, 14)
.߽ŵ㵽ͼ(89,13,'D10011')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ') end
Ͽȱڣ

.ߴߵ(122, 25)
.߽ŵ㵽ͼ(123,24,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10011') then ϵͳ.ת('Ͽȱ') end
ϵͳ.ת('жϵͼ')

Ͽڣ
.ߴߵ(289, 77)
.߽ŵ㵽ͼ(290,76,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10012') then ϵͳ.ת('Ͽ') end

Ͽȹ㳡
.ߴߵ(196, 177)
.ߴߵ(231, 254)
.ߴߵ(194, 179)
.ߴߵ(69, 270)
.ߴߵ(40, 144)
.ߴߵ(148, 187)
.ߴߵ(277, 142)
.ߴߵ(267, 75)
.ߴߵ(23, 34)
.ߴߵ(49, 75)
.ߴߵ(82, 106)
.ߴߵ(36, 166)
.ߴߵ(42, 228)
.ߴߵ(216, 264)
ϵͳ.ת('жϵͼ')

ûԶس:
if ϵͳ.ǰͼ('12') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('D10011') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('D10012') then ϵͳ.ת('س') end
if .ƷҪ('Ǯ') then ϵͳ.ת('س') end
if .ƷҪ('Ʒ') then ϵͳ.ת('س') end
if .ƷҪ('') then ϵͳ.ת('س') end
if .ƷҪ('װ') then ϵͳ.ת('س') end
if .ƷҪ('') then ϵͳ.ת('س') end
if .ƷҪ('') then ϵͳ.ת('س') end
if .ƷҪ('ָ') then ϵͳ.ת('س') end
if .ƷҪ('鼮') then ϵͳ.ת('س') end
if .ƷҪ('ҩƷ') then ϵͳ.ת('س') end
if .ƷҪ('ӻ') then ϵͳ.ת('س') end
if .ƷҪ('') then ϵͳ.ת('س') end
if .ƷҪ('') then ϵͳ.ת('س') end
if .ƷҪ('') then ϵͳ.ñ('㳡Ʒ') end
if .ƷҪ('װ') then ϵͳ.ñ('㳡Ʒ') end
if .ƷҪ('ͷ') then ϵͳ.ñ('㳡Ʒ') end
if .ƷҪ('') then ϵͳ.ñ('㳡Ʒ') end
if .ƷҪ('') then ϵͳ.ñ('㳡Ʒ') end
if .ƷҪ('ָ') then ϵͳ.ñ('㳡Ʒ') end
if .ƷҪ('ҩƷ') then ϵͳ.ñ('㳡Ʒ') end
if .װҪ('') then ϵͳ.ñ('㳡') end
if .װҪ('·') then ϵͳ.ñ('㳡·') end
if .װҪ('ͷ') then ϵͳ.ñ('㳡ͷ') end
if .װҪ('') then ϵͳ.ñ('㳡') end
if .װҪ('ѥ') then ϵͳ.ñ('㳡ѥ') end
if .װҪ('') then ϵͳ.ñ('㳡') end
if .װҪ('') then ϵͳ.ñ('㳡') end
if .װҪ('') then ϵͳ.ñ('㳡') end
if .װҪ('ָ') then ϵͳ.ñ('㳡ָ') end
if .װҪ('ҽָ') then ϵͳ.ñ('㳡ҽָ') end
if .ƷҪ('ҩ') then ϵͳ.ñ('㳡ҩ') end
ϵͳ.ת('жϵͼ')

س:
if ϵͳ.ǰͼ('0') then ϵͳ.ñ('ֱɱ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('жϵͼ') end
_ʱ = os.clock()
if .Ʒ('سǾ*') > 0 then ϵͳ.ת('ʹûسǾ') end
if .('˲Ϣƶ') then ϵͳ.ת('ʹ˲Ϣƶ') end
Ѿ:
if .Ʒ('Ѿ') < 1 then ϵͳ.ת('߻ذ') end
.ʹƷ('Ѿ')
ϵͳ.sleep(1000)
ϵͳ.ת('жϵͼ')

ʹ˲Ϣƶ:
.ʹħ('˲Ϣƶ')
ϵͳ.sleep(1000)
if os.clock() - _ʱ > 60 then ϵͳ.ת('Ѿ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('5') then ϵͳ.ת('µ') end
ϵͳ.ת('ʹ˲Ϣƶ')

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

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


߻ذţ
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('11') then ϵͳ.ת('жϵͼ') end
if ϵͳ.ǰͼ('12') then ϵͳ.ת('Թ߻') end
if ϵͳ.ǰͼ('D10012') then ϵͳ.ת('Ͽ߻') end
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡߻') end
if ϵͳ.ǰͼ('D10032') then ϵͳ.ת('һ߻') end
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮߻') end

ɽص߻أ
.ܵ(47, 189)
.߽ŵ㵽ͼ(46,189,'D1004')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10051') then ϵͳ.ת('ɽص߻') end

֮߻أ
.ܵ(171, 88)
.߽ŵ㵽ͼ(170,89,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1004') then ϵͳ.ת('֮߻') end

һ߻أ
.ܵ(10, 155)
.߽ŵ㵽ͼ(9,156,'D1002')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10032') then ϵͳ.ת('һ߻') end

Ͽȹ㳡߻أ
.ܵ(62, 288)
.߽ŵ㵽ͼ(61,289,'D10011')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D1002') then ϵͳ.ת('Ͽȹ㳡߻') end

Ͽ߻أ
.ܵ(270, 384)
.߽ŵ㵽ͼ(270,385,'12')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D10012') then ϵͳ.ת('Ͽ߻') end

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

űļ('а-س.txt')


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

