tinkering
Differences
This shows you the differences between two versions of the page.
— | tinkering [2022/09/03 23:25] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | #Tinkering Trainer by Frank Castle | ||
+ | # | ||
+ | #What you need: | ||
+ | # 1 - 30.0+ Tinkering Skill. If you dont have it buy it up. | ||
+ | # 2 - a player made Tinker Tools | ||
+ | # 3 - a chest with plenty of iron ingots | ||
+ | # 4 - a trash barrel locked down and secured within reach | ||
+ | # | ||
+ | # Written and tested on OSI. | ||
+ | # | ||
+ | # | ||
+ | # MAKE SURE YOU HAVE NO RINGS, BRACELETS, SCISSORS, TONGS, OR SPYGLASSES YOU WISH TO KEEP IN YOUR BACKPACK | ||
+ | from System.Collections.Generic import List | ||
+ | global stoCont | ||
+ | |||
+ | stoCont = Target.PromptTarget(' | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(stoCont) | ||
+ | Misc.Pause(1100) | ||
+ | |||
+ | Player.UseSkill(' | ||
+ | Misc.Pause(11000) | ||
+ | |||
+ | GFilter = Items.Filter() | ||
+ | GFilter.RangeMax = 5 | ||
+ | GFilter.OnGround = True | ||
+ | GFilter.Enabled = True | ||
+ | GFilter.Movable = True | ||
+ | garbagecan = List[int]((0x0E77, | ||
+ | GFilter.Graphics = garbagecan | ||
+ | |||
+ | def checkIngots(): | ||
+ | if Items.BackpackCount(0x1BF2, | ||
+ | global stoCont | ||
+ | Misc.Pause(1100) | ||
+ | ingot = Items.FindByID(0x1BF2, | ||
+ | Misc.Pause(100) | ||
+ | Items.Move(ingot, | ||
+ | Misc.Pause(1100) | ||
+ | |||
+ | def checkTools(): | ||
+ | countOne = Items.BackpackCount(0x1EB9, | ||
+ | while countOne < 3: | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | Misc.Pause(1500) | ||
+ | countOne = Items.BackpackCount(0x1EB9, | ||
+ | Misc.SendMessage(' | ||
+ | | ||
+ | def saveItem(item): | ||
+ | global stoCont | ||
+ | if Player.Weight > Player.MaxWeight - 30: | ||
+ | if Items.BackpackCount(item, | ||
+ | move = Items.FindByID(item, | ||
+ | Items.Move(move, | ||
+ | | ||
+ | def TrashItem(item): | ||
+ | garbagecans = Items.ApplyFilter(GFilter) | ||
+ | Misc.Pause(500) | ||
+ | garbagecan = Items.Select(garbagecans, | ||
+ | Misc.Pause(500) | ||
+ | if Items.BackpackCount(item, | ||
+ | move = Items.FindByID(item, | ||
+ | Items.Move(move, | ||
+ | Misc.Pause(1100) | ||
+ | |||
+ | | ||
+ | while True: | ||
+ | Tinkering = Player.GetSkillValue(' | ||
+ | if Tinkering < 45: | ||
+ | checkIngots() | ||
+ | checkTools() | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | TrashItem(0x0F9E) | ||
+ | Misc.Pause(100) | ||
+ | |||
+ | | ||
+ | elif Tinkering >= 45 and Tinkering < 60: | ||
+ | checkIngots() | ||
+ | checkTools() | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | TrashItem(0x0FBC) | ||
+ | | ||
+ | elif Tinkering >= 60 and Tinkering < 75: | ||
+ | checkIngots() | ||
+ | checkTools() | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | saveItem(0x14FB) | ||
+ | |||
+ | elif Tinkering >= 75 and Tinkering < 85: | ||
+ | checkIngots() | ||
+ | checkTools() | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | TrashItem(0x1086) | ||
+ | |||
+ | elif Tinkering >= 85 and Tinkering < 90: | ||
+ | checkIngots() | ||
+ | checkTools() | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | TrashItem(0x14F5) | ||
+ | | ||
+ | elif Tinkering >= 90 and Tinkering != Player.GetSkillCap(' | ||
+ | checkIngots() | ||
+ | checkTools() | ||
+ | tinkerTool = Items.FindByID(0x1EB9, | ||
+ | Misc.Pause(100) | ||
+ | Items.UseItem(tinkerTool) | ||
+ | Gumps.WaitForGump(460, | ||
+ | Gumps.SendAction(460, | ||
+ | TrashItem(0x108A) | ||
+ | |||
+ | elif Tinkering == Player.GetSkillCap(' | ||
+ | Misc.ScriptStopAll() | ||
+ | Misc.Pause(1100) | ||
+ | |||
+ | |||
+ | </ |
tinkering.txt · Last modified: 2022/09/03 23:25 by 127.0.0.1