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

--************ʹô˽ű************
--****Լ()ڲֿȻü****
--سǶ-ù()-Ҳһɱ
---ڿҪʹõ-д(:ħ)
--Ʒ-ɸѡ:-еĿʯ()-()
--************ʹô˽ű************

--****************ܼƷ÷****************
--Ʒ-ҪܵĿʯóɼƷ-ƷԳ־
--(:ʯ,Ʒд[ʯ],ĳ־üҪ15ϵĲűܾд15)
--****************÷****************
--ڵĿҪҪ8ϵĲűڰûȥ,8ľͶ.
--Ʒ-һ-ҪĿʯд-ĳ־дҪٴϵ
--(:ͭ,Ʒд[ͭ],ĳ־üڵĿ󴿶8Ͷôд8)
--ͬʱҪ-Ʒ-ȡƷ-ӵ-ǰ湳
ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿ') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('5') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('Ʒ') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('ûԶس')

س
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .Ʒ('') > 4500000 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 .ƷҪ('ͷ') 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 ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
.л״̬Ϊ('Ϣ')
if .װҪ('ѫ') then ϵͳ.ñ('ѫ') end
if .Ʒ('') > 4500000 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 ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ') end
.ܵ(143, 329)
.NPCԻ('ϱ')
.ѡ('ȥ','@move3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ȥߣ
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end

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

ɽȿ
.ܵ(554, 166, true)
.߽ŵ㵽ͼ(564,169,'D421')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽȿ') end

ɽȿ:
.л״̬Ϊ('')
.ߴڵ(34,357,50)
.ߴڵ(56,175,50)
.ߴڵ(56,321,50)
.ߴڵ(90,375,50)
.ߴڵ(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)
ϵͳ.ת('жϵͼ')

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

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

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


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

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


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



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



.ܵ(122, 306)
.Ʒ('ϰ','') 



.ܵ(122, 306)
ϵͳ.sleep(1000)
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


޺:
.ܵ(122, 306)
ϵͳ.sleep(1000)
.Ʒָλ('','')
.NPCԻ('ϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


·
.ܵ(148, 335)
.NPCԻ('װϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('װ')
.('ͷ')


·
.ܵ(148, 335)
.NPCԻ('װϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('·')


ͷ
.ܵ(148, 335)
.NPCԻ('װϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ͷ')



.ܵ(148, 335)
.NPCԻ('װϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ѥ
.ܵ(148, 335)
.NPCԻ('װϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ѥ')


Σ
if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(144, 334)
if .ָľ(145,335) >= 100000 then ϵͳ.ñ('жε') end
if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(145, 335)
1:
.NPCԻ('εϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')
.('')
.('ָ')



if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(144, 334)
if .ָľ(145,335) >= 100000 then ϵͳ.ñ('жε') end
if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(145, 335)
1:
.NPCԻ('εϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')



if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(144, 334)
if .ָľ(145,335) >= 100000 then ϵͳ.ñ('жε') end
if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(145, 335)
1:
.NPCԻ('εϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')



if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(144, 334)
if .ָľ(145,335) >= 100000 then ϵͳ.ñ('жε') end
if .ָľ(145,334) < 1 then ϵͳ.ת('1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('1') end
.ܵ(145, 335)
1:
.NPCԻ('εϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('')


ָ
if .ָľ(145,334) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('ָ1') end
.ܵ(144, 334)
if .ָľ(145,335) >= 100000 then ϵͳ.ñ('жε') end
if .ָľ(145,334) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('ָ1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('ָ1') end
.ܵ(145, 335)
ָ1:
.NPCԻ('εϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ָ')


ҽָ
if .ָľ(145,334) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('ҽָ1') end
.ܵ(144, 334)
if .ָľ(145,335) >= 100000 then ϵͳ.ñ('жε') end
if .ָľ(145,334) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,336) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,337) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,338) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,339) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,340) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,341) < 1 then ϵͳ.ת('ҽָ1') end
if .ָľ(145,342) < 1 then ϵͳ.ת('ҽָ1') end
.ܵ(145, 335)
ҽָ1:
.NPCԻ('εϰ')
ϵͳ.sleep(1000)
if ϵͳ.NPC˵():find('ȫ') then ϵͳ.ת('ȫ') end
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ҽָ')


жε:
if .ָľ(145,334) < 10000 then ϵͳ.ת('1') end
if .ָľ(145,336) < 10000 then ϵͳ.ת('2') end
if .ָľ(145,337) < 10000 then ϵͳ.ת('3') end
if .ָľ(145,338) < 10000 then ϵͳ.ת('4') end
if .ָľ(145,339) < 10000 then ϵͳ.ת('5') end
if .ָľ(145,340) < 10000 then ϵͳ.ת('6') end
if .ָľ(145,341) < 10000 then ϵͳ.ת('7') end
if .ָľ(145,342) < 10000 then ϵͳ.ת('8') end
ϵͳ.sleep(1000)
ϵͳ.ת('жε')

1:
.ܵ(145, 334)
ϵͳ.sleep(1000)


2:
.ܵ(145, 336)
ϵͳ.sleep(1000)


3:
.ܵ(145, 337)
ϵͳ.sleep(1000)


4:
.ܵ(145, 338)
ϵͳ.sleep(1000)


5:
.ܵ(145, 339)
ϵͳ.sleep(1000)


6:
.ܵ(145, 340)
ϵͳ.sleep(1000)


7:
.ܵ(145, 341)
ϵͳ.sleep(1000)


8:
.ܵ(145, 342)
ϵͳ.sleep(1000)


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


ҩ
.ܵ(148, 341)
ϵͳ.sleep(1000)
.Ʒ('ҩϰ','ҩ') 


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

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

ׯ԰
if .Ʒ('') > 4500000 then ϵͳ.ñ('') end
if .Ʒ('') > 4 then ϵͳ.ñ('ש') end

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


.ܵ(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 ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(326, 272)
.NPCԻ('ϱ')
.ѡ('˲ƶ','@talkwith')
.ѡ('ɽƶ','@move2')
.ѡ('ƶ','@pay2')

ʡ
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') 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

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

ѫ:
.ܵ(338, 335)
.NPCԻ('˺')
.ѡ('','@s_repair')
ϵͳ.sleep(1000)
.װ('ѫ')


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

ţ
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
.ܵ(182, 302)
.NPCԻ('')
.ѡ('ȥ','@talkwith')
.ѡ('ص','@move1')
.ѡ('ƶ','@pay1')
ϵͳ.sleep(1200)
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
ϵͳ.ת('жϵͼ')

һ
if ϵͳ.ǰͼ('3') then ϵͳ.ת('һ') end
if .ָľ(140,330) < 12 then ϵͳ.ת('ϱԻ') end
.ܵ(140, 330)
ϱԻ:
.NPCԻ('ϱ')
.ѡ('ȥ','@move3')
ϵͳ.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


Χ:
_ʱ = 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)

ʹ
ϵͳ.sleep(1000)


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

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


ӻ:
if .Ʒ('') > 0 then ϵͳ.ñ('') end
if .Ʒ('') > 0 then ϵͳ.ñ('') end
.ܵ(338, 335)
.NPCԻ('˺')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


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


:
.ܵ(351, 333)
.NPCԻ('Ƽϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('')
.('')


ӻ7
.ܵ(134, 326)
if .ָľ(133,325) >= 100000 then ϵͳ.ת('ӻ8') end
.ܵ(133, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ8
.ܵ(134, 326)
if .ָľ(134,325) >= 100000 then ϵͳ.ת('ӻ9') end
.ܵ(134, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ9
.ܵ(141, 326)
if .ָľ(141,325) >= 100000 then ϵͳ.ת('ӻ10') end
.ܵ(141, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ10
.ܵ(142, 326)
if .ָľ(142,325) >= 100000 then ϵͳ.ת('ӻ11') end
.ܵ(142, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ11
.ܵ(143, 326)
if .ָľ(143,325) >= 100000 then ϵͳ.ת('ӻ') end
.ܵ(143, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ
.ܵ(135, 326)
if .ָľ(135,325) >= 100000 then ϵͳ.ת('ӻ1') end
.ܵ(135, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ1:
.ܵ(136, 326)
if .ָľ(136,325) >= 100000 then ϵͳ.ת('ӻ2') end
.ܵ(136, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ2:
.ܵ(137, 326)
if .ָľ(137,325) >= 100000 then ϵͳ.ת('ӻ3') end
.ܵ(137, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ3:
.ܵ(138, 326)
if .ָľ(138,325) >= 100000 then ϵͳ.ת('ӻ4') end
.ܵ(138, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ4:
.ܵ(138, 326)
if .ָľ(139,325) >= 100000 then ϵͳ.ת('ӻ5') end
.ܵ(139, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ5:
.ܵ(140, 326)
if .ָľ(140,325) >= 100000 then ϵͳ.ת('ӻ6') end
.ܵ(140, 325)
ϵͳ.sleep(1200)
.NPCԻ('ӻϰ')
.ѡ('','@sell')
ϵͳ.sleep(1000)
.('ӻ')


ӻ7
.ܵ(134, 326)
if .ָľ(133,325) >= 100000 then ϵͳ.ת('ӻ8') end
.ܵ(133, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ8
.ܵ(134, 326)
if .ָľ(134,325) >= 100000 then ϵͳ.ת('ӻ9') end
.ܵ(134, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ9
.ܵ(141, 326)
if .ָľ(141,325) >= 100000 then ϵͳ.ת('ӻ10') end
.ܵ(141, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ10
.ܵ(142, 326)
if .ָľ(142,325) >= 100000 then ϵͳ.ת('ӻ11') end
.ܵ(142, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ11
.ܵ(143, 326)
if .ָľ(143,325) >= 100000 then ϵͳ.ת('ӻ') end
.ܵ(143, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ
.ܵ(135, 326)
if .ָľ(135,325) >= 100000 then ϵͳ.ת('ӻ1') end
.ܵ(135, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ1:
.ܵ(136, 326)
if .ָľ(136,325) >= 100000 then ϵͳ.ת('ӻ2') end
.ܵ(136, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ2:
.ܵ(137, 326)
if .ָľ(137,325) >= 100000 then ϵͳ.ת('ӻ3') end
.ܵ(137, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ3:
.ܵ(138, 326)
if .ָľ(138,325) >= 100000 then ϵͳ.ת('ӻ4') end
.ܵ(138, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ4:
.ܵ(138, 326)
if .ָľ(139,325) >= 100000 then ϵͳ.ת('ӻ5') end
.ܵ(139, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ӻ5:
.ܵ(140, 326)
if .ָľ(140,325) >= 100000 then ϵͳ.ת('ӻ6') end
.ܵ(140, 325)
ϵͳ.sleep(1200)
.Ʒ('ӻϰ','ӻ') 


ֱ:
ϵͳ.ֱ('')
ϵͳ.sleep(1200)


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



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

