sub Regs_Harvester() 
var oldx, oldy; 
uo.set('finddistance', '2'); 
while not uo.dead() 
oldx = uo.getx(); 
oldy = uo.gety(); 
uo.deletejournal(); 
uo.ignorereset(); 
while oldx == uo.getx() and oldy == uo.gety() 
uo.findtype('0x18E5', -1, 1); НС 
if uo.findcount('finditem')==0 then 
uo.findtype('0x18E9', -1, 1); Женьшень 
if uo.findcount('finditem')==0 then 
uo.findtype('0x18E1', -1, 1); Чеснок 
if uo.findcount('finditem')==0 then 
uo.findtype('0x1F10', -1, 1); Блудмос 
if uo.findcount('finditem')==0 then 
uo.findtype('0x18E0', -1, 1); Мандрейк 
if uo.findcount('finditem')==0 then
uo.findtype('0x0C4F', -1, 1); хлопок
if uo.findcount('finditem')==0 then 
wait(500) 
endif
endif
endif 
endif 
endif 
endif 
if uo.findcount('finditem') then 
uo.useobject('finditem'); 
uo.deleteJournal(); 
repeat 
wait(1000) 
until uo.injournal("You put") or uo.injournal("You must wait") or uo.injournal("That is too") or uo.injournal("t see that") 
if uo.injournal("You must wait") or uo.injournal("That is too") or uo.injournal("t see that") then 
uo.ignore('finditem', 'on'); 
uo.deletejournal(); 
endif 
else 
wait(500) 
endif 
wend 
wait(500) 
wend 
end sub