""" ================================================================== SCRIPT: The Goblin's Gold Vacuum AUTHOR: Evilrage WEBSITE: unchainedscripts.com ================================================================== DESCRIPTION: Target your Gold Satchel on startup. The script will silently run in the background, instantly vacuuming any gold on the ground around you and sweeping any gold that lands in your main backpack straight into your satchel. ================================================================== """ import Misc import Items import Player import Target from System.Collections.Generic import List from System import Int32 GOLD_ID = 0x0EED def main(): Misc.SendMessage("Target your Gold Satchel...", 68) satchel_serial = Target.PromptTarget("Gold Satchel") if satchel_serial <= 0: Player.HeadMessage(33, "Invalid Satchel. Script Stopped.") return Player.HeadMessage(63, "[unchainedscripts.com] Gold Vacuum Active") while True: if Player.IsGhost: Misc.Pause(1000) continue # 1. Sweep Ground Gold -> Backpack/Satchel golds = Items.Filter() golds.Enabled = True golds.OnGround = True golds.Movable = True golds.RangeMax = 3 # FIX: Feed it the exact C# List[Int32] format RE demands graphics_list = List[Int32]() graphics_list.Add(Int32(GOLD_ID)) golds.Graphics = graphics_list for g in Items.ApplyFilter(golds): try: Items.Move(g.Serial, satchel_serial, 0) Misc.Pause(400) except: pass # 2. Sweep Backpack Gold -> Satchel if Player.Backpack: pack_gold = Items.FindAllByID(GOLD_ID, -1, Player.Backpack.Serial, False) for g in pack_gold: if g.Container != satchel_serial: try: Items.Move(g.Serial, satchel_serial, 0) Misc.Pause(400) except: pass Misc.Pause(500) if __name__ == "__main__": main()