wires - výroba drátů z magických kovů
Napsal: stř bře 14, 2018 2:12 am
copperwire (pro magic bally především)
goldwire ( na formy pro stone zbraně:
Silverwire (pro CBčka)
ironwire (pro vlasce a další věci)
Myth wire (na na myth sphere)
Kód: Vybrat vše
#---------------------------------------------------------------
sub copperwire()
#---------------------------------------------------------------
uo.exec('exec afkalarm')
while NOT UO.DEAD() AND UO.Count('0x1BE3','0x0000')>0
UO.DeleteJournal()
UO.waitmenu('Tinkering','Wires','Wires','Copper Wire')
UO.usetype('0x1EBC')
repeat
wait(300)
until UO.InJournal('Tinkering failed|You put the copper wire')
uo.print(str(UO.Count('0x1879',0x0000)))
wend
UO.Print("Konec.")
uo.exec('terminate all')
end sub
Kód: Vybrat vše
#---------------------------------------------------------------
sub goldwire()
#---------------------------------------------------------------
while NOT UO.DEAD() AND UO.Count('0x1BE9','0x0000')>0
UO.DeleteJournal()
UO.waitmenu('Tinkering','Wires','Wires','Gold Wire')
UO.usetype('0x1EBC')
repeat
wait(200)
until UO.InJournal('Tinkering failed|You put the gold wire')
uo.print(str(UO.Count('0x1878',0x0000)))
wend
wait(3000)
UO.Print("Konec.")
end sub
Kód: Vybrat vše
#---------------------------------------------------------------
sub silverwire()
#---------------------------------------------------------------
uo.exec('exec afkalarm')
while NOT UO.DEAD() AND UO.Count('0x1BF5','0x0000')>0
UO.DeleteJournal()
UO.waitmenu('Tinkering','Wires','Wires','Silver Wire')
UO.usetype('0x1EBC')
repeat
wait(500)
until UO.InJournal('Tinkering failed|You put the silver wire')
uo.print(str(UO.Count('0x1877',0x0000)))
wend
UO.Print("Konec.")
uo.exec('terminate afkalarm')
end sub
Kód: Vybrat vše
#---------------------------------------------------------------
sub ironwire()
#---------------------------------------------------------------
#uo.exec('exec afkalarm')
while NOT UO.DEAD() AND UO.Count('0x1BEF','0x0000') > 20 AND UO.Count('0x1876',0x0000) < 255
UO.DeleteJournal()
UO.waitmenu('Tinkering','Wires','Wires','Iron Wire')
UO.usetype('0x1EBC')
repeat
wait(500)
until UO.InJournal('Tinkering failed|You put the iron wire')
if UO.InJournal('Tinkering failed') then
uo.warmode(NOT UO.Warmode())
wait(2000)
endif
wait(500)
uo.print(str(UO.Count('0x1876',0x0000)))
wend
UO.Print("Konec vyroby dratu.")
#uo.exec('terminate afkalarm')
end sub
Kód: Vybrat vše
#---------------------------------------------------------------
sub mythwire()
#---------------------------------------------------------------
uo.exec('exec afkalarm')
while NOT UO.DEAD() AND UO.Count('0x1BEF','0x052D')>0
UO.DeleteJournal()
UO.waitmenu('Tinkering','Wires','Wires','Mytheril Wire')
UO.usetype('0x1EBC')
repeat
wait(300)
until UO.InJournal('Tinkering failed|You put the Mytheril Wire')
uo.print(str(UO.Count('0x1876','0x052D')))
wend
UO.Print("Konec.")
uo.exec('terminate all')
end sub