bola_crafter
Differences
This shows you the differences between two versions of the page.
| — | bola_crafter [2025/02/25 22:20] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | < | ||
| + | #Bola Crafter by Frank Castle | ||
| + | # | ||
| + | #What you need: | ||
| + | #1 - Tinkering skill | ||
| + | #2 - Storage Container with Iron ingots and Leather | ||
| + | #3 - Tinker Tool | ||
| + | |||
| + | |||
| + | from System.Collections.Generic import List | ||
| + | |||
| + | global stoCont | ||
| + | |||
| + | stoCont = Target.PromptTarget(' | ||
| + | Misc.Pause(100) | ||
| + | Items.UseItem(stoCont) | ||
| + | Misc.Pause(1100) | ||
| + | |||
| + | def checkTools(): | ||
| + | checkIngots() | ||
| + | countOne = Items.BackpackCount(0x1EB9, | ||
| + | while countOne < 3: | ||
| + | tinkerTool = Items.FindByID(0x1EB9, | ||
| + | Misc.Pause(1100) | ||
| + | Items.UseItem(tinkerTool) | ||
| + | Gumps.WaitForGump(460, | ||
| + | Gumps.SendAction(460, | ||
| + | Misc.Pause(1500) | ||
| + | countOne = Items.BackpackCount(0x1EB9, | ||
| + | Misc.SendMessage(' | ||
| + | | ||
| + | def checkIngots(): | ||
| + | if Items.BackpackCount(0x1BF2, | ||
| + | global stoCont | ||
| + | Misc.SendMessage(' | ||
| + | Misc.Pause(1100) | ||
| + | ingot = Items.FindByID(0x1BF2, | ||
| + | Misc.Pause(100) | ||
| + | Items.Move(ingot, | ||
| + | Misc.Pause(1100) | ||
| + | | ||
| + | def checkLeather(): | ||
| + | if Items.BackpackCount(0x1081, | ||
| + | global stoCont | ||
| + | Misc.SendMessage(' | ||
| + | Misc.Pause(1100) | ||
| + | leather = Items.FindByID(0x1081, | ||
| + | Misc.Pause(100) | ||
| + | Items.Move(leather, | ||
| + | Misc.Pause(1100) | ||
| + | |||
| + | def makeBalls(): | ||
| + | countX = Items.BackpackCount(0x0E73, | ||
| + | while countX < 4: | ||
| + | tinkerTool = Items.FindByID(0x1EB9, | ||
| + | checkTools() | ||
| + | checkIngots() | ||
| + | Items.UseItem(tinkerTool) | ||
| + | Gumps.WaitForGump(460, | ||
| + | Gumps.SendAction(460, | ||
| + | Misc.Pause(1500) | ||
| + | countX = Items.BackpackCount(0x0E73, | ||
| + | Misc.SendMessage(' | ||
| + | | ||
| + | def assembleBola(): | ||
| + | tinkerTool = Items.FindByID(0x1EB9, | ||
| + | checkTools() | ||
| + | checkIngots() | ||
| + | checkLeather() | ||
| + | Items.UseItem(tinkerTool) | ||
| + | Gumps.WaitForGump(460, | ||
| + | Gumps.SendAction(460, | ||
| + | Misc.Pause(1100) | ||
| + | Bola = Items.FindByID(0x26AC, | ||
| + | if Bola: | ||
| + | Items.Move(Bola, | ||
| + | Misc.Pause(1100) | ||
| + | | ||
| + | while True: | ||
| + | makeBalls() | ||
| + | assembleBola() | ||
| + | | ||
| + | </ | ||