var TryHiding = 0 ## 1 - будем пытаться хидиться 0 - не будем var i
UO.UseType ("0x097B") ### Прячемся . Use hiding
if TryHiding==1 then while not uo.Hidden('self') UO.UseSkill('Hiding') wait (2000) wend endif #####################################
uo.set ('finddistance','3') while not uo.injournal("see the target") UO.Findtype('0x0C4F','-1','ground') UO.UseObject('finditem') wait(300) wend
UO.DeleteJournal()
uo.filterspeech('off')
end sub
Переводим в нитки.
sub main()
var count
uo.Exec ("filterspeech add 'What do you want to use this on?'") uo.Exec ("filterspeech add 'You creat some thread'") uo.Exec ("filterspeech add 'You put the spools of thread in your pack.'") uo.Exec ("filterspeech add 'think'") uo.Exec ("filterspeech add 'create'") uo.Exec ("filterspeech add 'eat'") uo.deletejournal() uo.unsetreceivingcontainer()
uo.print('Выберите Прядильное колесо') uo.exec('addobject SpinningWheel') while uo.targeting() wait(100) wend uo.print('Выберите контейнер с хлопком') uo.exec('addobject Cont') while uo.targeting() wait(100) wend
while not uo.dead() uo.filterspeech('on')
count=uo.count('0x0DF9') if count>0 then uo.print ('в паке еще :'+str(count)) else uo.findtype('0x0DF9',-1,'Cont') wait(1000) uo.grab('40','finditem') wait(1500) uo.print('40 хлопка в пак перенесно') endif uo.print("Перерабатываем хлопок......")
repeat uo.deletejournal()
uo.waittargetobject('SpinningWheel') uo.usetype('0x0DF9') wait(2750) count=uo.count('0x0DF9') uo.print('Хлопка осталось : '+str(count)) until count==0
uo.deletejournal()
UO.usetype ('0x097B') uo.findtype('0x0FA0',-1,'my') #ищем нитки в паке ##if uo.findcount() and uo.getquantity()>95 then uo.setreceivingcontainer('Cont') wait(1000) uo.grab('0','finditem') wait(1500) uo.print('Нитки выложены.........') uo.unsetreceivingcontainer() uo.filterspeech('off') wend
end sub
Нитки в ткань.
sub main()
var count
uo.Exec ("filterspeech add 'What do you want to use this on?'") uo.Exec ("filterspeech add 'You creat some thread'") uo.Exec ("filterspeech add 'You put the spools of thread in your pack.'") uo.Exec ("filterspeech add 'think'") uo.Exec ("filterspeech add 'create'") uo.Exec ("filterspeech add 'eat'") uo.Exec ("filterspeech add 'added'") uo.deletejournal() uo.unsetreceivingcontainer()
uo.print('Выберите Прялку') uo.exec('addobject Loom') while uo.targeting() wait(100) wend uo.print('Выберите контейнер с нитками') uo.exec('addobject Cont') while uo.targeting() wait(100) wend
while not uo.dead() uo.filterspeech('on')
count=uo.count('0x0FA0') if count<>0 then uo.print ('в паке еще :'+str(count)) uo.findtype('0x0FA0') wait(1000) uo.grab('0','finditem') else uo.findtype('0x0FA0',-1,'Cont') wait(1000) uo.grab('40','finditem') wait(1500) uo.print('40 ниток в пак перенесно') endif uo.print("Перерабатываем нитки......")
repeat uo.deletejournal()
uo.waittargetobject('Loom') uo.usetype('0x0FA0') wait(500) count=uo.count('0x0FA0') uo.print('Ниток осталось : '+str(count)) until count==0