--------------------------------------------
--һκⶼԷǵĴ
------------ǻһʱ㴦----------
--------------------------------------------
ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D422') then ϵͳ.ת('ɽȿ') end
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿһ') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('3') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('0122') then ϵͳ.ת('ͥ') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('6') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0161') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0149') then ϵͳ.ת('װ') end
if ϵͳ.ǰͼ('0158') then ϵͳ.ת('ε') end
if ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('ûԶس')

س
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ܱΧ() then ϵͳ.ñ('Χ') end
--<><4500000>ôת<ׯ԰>
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 .ƷҪ('ҩƷ') then ϵͳ.ñ('ҩ') end
if .ƷҪ('ҩ') then ϵͳ.ñ('ҩ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .װҪ('ѫ') then ϵͳ.ñ('ѫ') end
if .Ʒ('ҩ()') > 0 then ϵͳ.ñ('װҩ') end
if .װ('') == 'ҩ()' then ϵͳ.ñ('ҩ') end
if .Ʒ('ҩ()') > 0 then ϵͳ.ñ('װҩ') end
if .װ('') == 'ҩ()' then ϵͳ.ñ('ҩ') end
if .Ʒ('ҩ()') > 0 then ϵͳ.ñ('װҩ۴') end
if .װ('') == 'ҩ()' then ϵͳ.ñ('ҩ۴') end


.ܵ(513, 776)
.߽ŵ㵽ͼ(512,777,'2')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end

ɽȿ
.л״̬Ϊ('')
.ܵ(564, 170, true)
.߽ŵ㵽ͼ(564,169,'D421',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽȿ') end

ɽȿһ:
.ʹƷ(';')
ϵͳ.sleep(1000)
.ߴڵ(226,314,50)
.ߴڵ(86,314,50)
.ߴڵ(36,358,50)
.ߴڵ(60,175,50)
.ߴڵ(64,305,50)
.ߴڵ(90,378,50)
.ߴڵ(224,317,50)
.ߴڵ(112,315,50)
.ߴڵ(65,167,50)
.ߴڵ(101,34,50)
.ߴڵ(183,131,50)
.ߴڵ(121,216,50)
.ߴڵ(359,243,50)
.ߴڵ(361,40,50)
.ߴڵ(327,78,50)
.ߴڵ(254,171,50)
.ߴڵ(248,76,50)
.ߴڵ(187,101,50)
.ߴڵ(147,56,50)
.ߴڵ(268,65,50)
.ߴڵ(345,30,50)
ϵͳ.ת('жϵͼ')

ɽȿ:
.ܵ(22, 41)
.߽ŵ㵽ͼ(22,42,'D421')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D422') then ϵͳ.ת('ɽȿ') end
ϵͳ.ת('жϵͼ')


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


߻ض:
.ܵ(30, 374)
.߽ŵ㵽ͼ(30,375,'2')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿһ') end
ϵͳ.ת('жϵͼ')

ͥ
if ϵͳ.ǰͼ('0') then ϵͳ.ת('жϵͼ') end
.ܵ(25, 35)
.NPCԻ('ֿԱ')
.ѡ('','@goback')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('ͥ') then ϵͳ.ת('ͥ') end
ϵͳ.ת('жϵͼ')

·ɻ:
.ܵ(139, 327)
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1000)

Ʒ
.ܵ(132, 334)
.NPCԻ('ֿⱣԱ')
.ѡ('','@storage')
ϵͳ.sleep(1000)
.('Ǯ')
.('Ʒ')
.('װ')
.('ͷ')
.('')
.('')
.('')
.('ָ')
.('鼮')
.('ҩƷ')
.('ӻ')
.('')
.('')


ȥ꣺
.ܵ(407, 326)
.߽ŵ㵽ͼ(409,322,'0161')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ') end

鼮
.ܵ(22, 24)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('鼮')

꣺
.ܵ(21, 26)
.߽ŵ㵽ͼ(21,27,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0161') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('س') end


.ܵ(18, 27)
.Ʒ('ϰ','') 
ϵͳ.sleep(1000)



.ܵ(18, 27)
ϵͳ.sleep(1000)
.Ʒָλ('','')
ϵͳ.sleep(1000)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if .װ('') == 'Ѫħ' then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')



.ܵ(18, 27)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')



.ܵ(18, 27)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if .װ('') == 'Ѫħ' then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ȥ·꣺
.ܵ(323, 324)
.NPCԻ('ϱ')
.ѡ('ȥ̵','@move0')
.ѡ('װ','@move01')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ·') end

װ꣺
if .ƷҪ('װ') then ϵͳ.ñ('·') end
if .ƷҪ('ͷ') then ϵͳ.ñ('ͷ') end
if .װҪ('·') then ϵͳ.ñ('·') end
if .װҪ('ͷ') then ϵͳ.ñ('ͷ') end
if .װҪ('') then ϵͳ.ñ('') end
if .װҪ('ѥ') then ϵͳ.ñ('ѥ') end

װ꣺
.ܵ(16, 21)
.߽ŵ㵽ͼ(15,21,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0149') then ϵͳ.ת('װ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('س') end

ͷ
.ܵ(26, 25)
.NPCԻ('ͷ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ͷ')


·
.ܵ(26, 25)
.NPCԻ('żҲϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('װ')


·
.ܵ(26, 25)
.NPCԻ('żҲϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('·')


ͷ
.ܵ(26, 25)
.NPCԻ('ͷ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ͷ')



.ܵ(26, 25)
.NPCԻ('żҲϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ѥ
.ܵ(26, 25)
.NPCԻ('żҲϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ѥ')


ȥε:
.ܵ(323, 324)
.NPCԻ('ϱ')
.ѡ('ȥ̵','@move0')
.ѡ('ε','@move03')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') 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

ε꣺
.ܵ(17, 34)
.߽ŵ㵽ͼ(17,35,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0158') then ϵͳ.ת('ε') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('س') end


Σ
.ܵ(24, 25)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')



.ܵ(24, 25)
.NPCԻ('ϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')


ָ
.ܵ(24, 25)
.NPCԻ('ָϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ָ')



.ܵ(24, 25)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')



.ܵ(24, 25)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')



.ܵ(24, 25)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ָ
.ܵ(24, 25)
.NPCԻ('ָϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ָ')


ҽָ
.ܵ(24, 25)
.NPCԻ('ָϰ')
ϵͳ.sleep(1000)
if ϵͳ.ѡ('chk_YJTX') == true then ϵͳ.ת('ȫ') end  --chk_YJTXһȫ޸ѡ
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ҽָ')


ҩ
.ܵ(358, 338)
.NPCԻ('ҩϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ҩƷ')


ҩ
.ܵ(358, 338)
ϵͳ.sleep(1000)
.Ʒ('ҩϰ','ҩ') 


ׯ԰
.ܵ(328, 326)
.NPCԻ('ϱ')
.ѡ('ׯ԰','@baodian')
ϵͳ.sleep(1000)
.ѡ('ǰ','@zhuangyuan')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ׯ԰') end

ׯ԰
--<><4500000>ôñ<>
if .Ʒ('') > 4 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

ز£
.ܵ(71, 71)
.NPCԻ('ֿԱ')
.ѡ('','@goback')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('жϵͼ') end
ϵͳ.ת('жϵͼ')

ׯ԰
.ܵ(325, 271)
.NPCԻ('ϱ')
.ѡ('ׯ԰Ԫ','@baodian')
.ѡ('ׯ԰','@zhuangyuan')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('0') then ϵͳ.ת('ׯ԰') end
ϵͳ.ת('жϵͼ')

ׯ԰Ʒ
.ܵ(71, 71)
.NPCԻ('ֿԱ')
.ѡ('','@storage')
ϵͳ.sleep(1000)
.('Ǯ')
.('Ʒ')
.('װ')
.('ͷ')
.('')
.('')
.('')
.('ָ')
.('鼮')
.('ҩƷ')
.('ӻ')
.('')
.('')



.ܵ(71, 71)
.NPCԻ('ֿԱ')
.ѡ('','@mbind')
ϵͳ.sleep(1000)
.ѡ('һ.','@chgtobar')
.ѡ('һ.','@chgtobar')
.ѡ('һ.','@chgtobar')
.ѡ('һ.','@chgtobar')


ש
.ܵ(71, 71)
.NPCԻ('ֿԱ')
.ѡ('','@mbind')
ϵͳ.sleep(1000)
.ѡ('ש.','@chgtobrick')
.ѡ('ש.','@chgtobrick')
.ѡ('ש.','@chgtobrick')
.ѡ('ש.','@chgtobrick')


ħȣ
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(236, 196)
.NPCԻ('ħϱ')
.ѡ('ȥ','@leave')
.ѡ('ƶ','@pay1')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('4') 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
.ܵ(673, 84)
.߽ŵ㵽ͼ(672,81,'2')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('0') then ϵͳ.ת('ʡ') end

ɽȣ
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(560, 78)
.߽ŵ㵽ͼ(560,76,'3')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
.ܵ(330, 330)
ϵͳ.ת('жϵͼ')

ʡ
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if .ָľ(330,330) > 80 then ϵͳ.ñ('ֱ') end
.ܵ(327, 325)
.NPCԻ('ϱ')
.ѡ('ȥµ','@move4')
ϵͳ.sleep(1200)
ϵͳ.ת('жϵͼ')

װҩ:
.Ʒָλ('ҩ()','')
ϵͳ.sleep(1000)


װҩ:
.Ʒָλ('ҩ()','')
ϵͳ.sleep(1000)


װҩ۴:
.Ʒָλ('ҩ()','')
ϵͳ.sleep(1000)


޳ҩ:
if .ָľ(330,330) > 80 then ϵͳ.ñ('') end
.ܵ(338, 335)
.NPCԻ('˺')
ϵͳ.sleep(1000)
--NPC˵<*ȫ*>ôת<ʹ>
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ҩ:
if .ָľ(330,330) > 80 then ϵͳ.ñ('') end
.ܵ(338, 335)
.NPCԻ('˺')
ϵͳ.sleep(1000)
--NPC˵<*ȫ*>ôת<ʹ>
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ҩ:
if .ָľ(330,330) > 80 then ϵͳ.ñ('') end
.ܵ(338, 335)
.NPCԻ('˺')
ϵͳ.sleep(1000)
--NPC˵<*ȫ*>ôת<ʹ>
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ҩ۴:
if .ָľ(330,330) > 80 then ϵͳ.ñ('') end
.ܵ(338, 335)
.NPCԻ('˺')
ϵͳ.sleep(1000)
--NPC˵<*ȫ*>ôת<ʹ>
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ѫ:
if .ָľ(330,330) > 80 then ϵͳ.ñ('') end
.ܵ(338, 335)
.NPCԻ('˺')
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ѫ')


ӻ:
.ܵ(338, 335)
.NPCԻ('˺')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ:
.ܵ(338, 335)
.Ʒ('˺','ӻ') 


ºɻ:
.ܵ(139, 327)
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('ºɻ') end


һ:
.ܵ(338, 335)
.NPCԻ('˺')
.ѡ('','@buy')
ϵͳ.sleep(1000)
.('Ѿ', 1)
ϵͳ.sleep(1000)

ȥ:
if .ָľ(330,330) > 80 then ϵͳ.ñ('') end
--<Ѿ>С<1>ôת<һ>
.ܵ(327, 325)
.NPCԻ('ϱ')
.ѡ('ȥ̵','@move0')
.ѡ('','@move02')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ') end

:
if .ƷҪ('') then ϵͳ.ת('') end
if .ƷҪ('') then ϵͳ.ñ('') end
if .װҪ('') then ϵͳ.ñ('') end
if .ƷҪ('') then ϵͳ.ñ('') end
if .Ʒ('') > 0 then ϵͳ.ñ('') end
_ʱ = os.clock()

:
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ͳ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(16, 28)
.߽ŵ㵽ͼ(15,30,'3')
ϵͳ.sleep(1200)
if os.clock() - _ʱ > 60 then ϵͳ.ת('ɳ') end
if ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('жϵͼ')

ɳ:
.ʹƷ('Ѿ')
ϵͳ.sleep(1200)
ϵͳ.ת('жϵͼ')

ħǣ
.ܵ(124, 155)
.NPCԻ('ħϱ')
.ѡ('ȥ','@move3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('6') then ϵͳ.ת('ħ') end
ϵͳ.ת('жϵͼ')

ħǣ
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(238, 200)
.NPCԻ('ħϱ')
.ѡ('ȥ','@leave')
.ѡ('ƶ','@pay1')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
ϵͳ.ת('жϵͼ')

ţ
.ܵ(48, 479)
.߽ŵ㵽ͼ(50,481,'1')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end

ɭ֣
.ܵ(560, 554)
.߽ŵ㵽ͼ(559,555,'0')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('1') then ϵͳ.ת('ɭ߻') end
ϵͳ.ת('жϵͼ')

һ
if ϵͳ.ǰͼ('3') then ϵͳ.ת('һ') end
if .ָľ(140,330) < 12 then ϵͳ.ת('ϱԻ') end
.ܵ(140, 330)
ϱԻ:
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('һ') end

һ:
if .ܱΧ() then ϵͳ.ת('ʹ') end
.ܵ(338, 333)
.NPCԻ('˺')
.ѡ('','@buy')
ϵͳ.sleep(1000)
.(';', 1)
ϵͳ.sleep(1000)

ȥ:
.ܵ(329, 324)
.NPCԻ('ϱ')
.ѡ('ȥµ','@move4')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ') end


±Χ:
.NPCԻ('ָԱ')
.ѡ('Χɵ','@gotoc')
ϵͳ.sleep(1000)
if .ָľ(140,330) > 10 then ϵͳ.ת('ʹ') end
ϵͳ.ת('±Χ')

Χ:
if ϵͳ.ǰͼ('5') then ϵͳ.ת('±Χ') end
.NPCԻ('ָԱ')
.ѡ('Χɵ','@gotom')
ϵͳ.sleep(1000)
if .ָľ(330,330) > 10 then ϵͳ.ת('ʹ') end

±Χ:
_ʱ = os.clock()
if .('˲Ϣƶ') then ϵͳ.ת('ʹ˲Ϣƶ') end
if .Ʒ('*') < 1 then ϵͳ.ñ('һ') end
if .Ʒ(';') < 1 and .Ʒ(';') > 0 and .Ʒ('ո') > 5 then ϵͳ.ñ('') end
.ʹƷ(';')
ϵͳ.sleep(1000)


ʹ˲Ϣƶ
.ʹħ('˲Ϣƶ')
ϵͳ.sleep(1200)
if os.clock() - _ʱ > 30 then ϵͳ.ת('ʹ') end
if .ܱΧ() then ϵͳ.ת('ʹ˲Ϣƶ') end


ʹ
if .Ʒ(';*') < 1 then ϵͳ.ת('ʹʯ') end
if .Ʒ(';') < 1 and .Ʒ(';') > 0 and .Ʒ('ո') > 5 then ϵͳ.ñ('') end
.ʹƷ(';')
ϵͳ.sleep(1000)

ʹ


ʹʯ
if .Ʒ('ʯ*') < 1 then ϵͳ.ת('ʹ') end
.ʹƷ('ʯ*')
ϵͳ.ת('ʹ')

:
.ʹƷ(';')
ϵͳ.sleep(1000)


ӻ
.ܵ(337, 335)
ϵͳ.sleep(1200)
.NPCԻ('˺')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ
.ܵ(337, 335)
ϵͳ.sleep(1200)
.Ʒ('˺','ӻ') 


ֱ:
local _= ϵͳ.() if _ > 905 or _ < 900 then ϵͳ.ת('ʹ') end
ϵͳ.ֱ('')
ϵͳ.sleep(1000)


߽ܵ:
.ܵ(290, 617)
ϵͳ.ת('ضԻ')

ܵɽ:
.ܵ(647, 623)
ϵͳ.ת('ضԻ')

:
if ϵͳ.() == 910 then ϵͳ.ת('ʹ') end
ϵͳ.sleep(1000)
if .ָľ(647,623) < 180 then ϵͳ.ת('ܵɽ') end
if .ָľ(275,599) < 180 then ϵͳ.ת('߽ܵ') end
.ܵ(647, 623)
ضԻ:
.NPCԻ('ָԱ')
.ѡ('','@gotom')
ϵͳ.sleep(1000)


طɱ:
if ϵͳ.() == 910 then ϵͳ.ת('ʹ') end
if .ָľ(330,324) > 80 then ϵͳ.ñ('') end
.ܵ(330, 324)
.NPCԻ('ָԱ')
.ѡ('ɱ','@gotob')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('طɱ') end
.ܵ(327, 276)


·ɱ:
if ϵͳ.() == 910 then ϵͳ.ת('ʹ') end
if .ָľ(140,330) > 80 then ϵͳ.ñ('ز') end
.ܵ(141, 332)
.NPCԻ('ָԱ')
.ѡ('ɱ','@gotob')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('·ɱ') end
.ܵ(327, 276)


ͳ:
.ܵ(18, 27)
.NPCԻ('ϰ')
.ѡ('ذȫ','@goout')
ϵͳ.sleep(1000)


:
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʹ') end
_ʱ = os.clock()
if .('˲Ϣƶ') then ϵͳ.ת('طʦ˲ƶ') end
if .ָľ(330,330) < 80 then ϵͳ.ת('ʹ') end
if .Ʒ('*') < 1 then ϵͳ.ת('ʹ') end
if .Ʒ(';') < 1  and .Ʒ(';') > 0 and .Ʒ('ո') > 5 then ϵͳ.ת('ػسǽ') end
.ʹƷ(';')
ϵͳ.sleep(1000)
if .ָľ(330,330) > 80 and (.Ʒ(';') > 0  or .Ʒ(';') > 0 and .Ʒ('ո') > 5) then ϵͳ.ת('') end


ػسǽ:
if .Ʒ('ո') < 6 then ϵͳ.ת('ʹ') end
.ʹƷ(';')
ϵͳ.sleep(1000)
ϵͳ.ת('')

طʦ˲ƶ:
if .ָľ(330,330) < 80 then ϵͳ.ת('ʹ') end
.ʹħ('˲Ϣƶ')
ϵͳ.sleep(1000)
if os.clock() - _ʱ > 180 then ϵͳ.ת('ʹ') end
if .ָľ(330,330) > 80 then ϵͳ.ת('طʦ˲ƶ') end


ȫ:
.ѡ('ȫ','@t_repair')
ϵͳ.sleep(1000)


Ҫ޶:
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')



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

