[v1.7.0+] Telekinetically Swap Tinkers

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.7.0+] Telekinetically Swap Tinkers

#1 Post by Zizzo »

Does it vaguely bug anyone else that wielding things in the TK slot via Telekinetic Grasp doesn't honor the "Gameplay | Swap tinkers" game option, which means that you have to manually transfer the tinker back to your newly TK-wielded item? Well, I did some digging, and it wasn't as easy as I'd hoped it would be, but my new Telekinetically Swap Tinkers addon wedges in the appropriate tinker juggling. We check for tinker compatibility, of course, so if you temporarily swap in a gem for some stat boosts to learn a talent, your previously TK-wielded weapon's tinker will stay attached to it.

[NOTE: By "not as easy as I'd hoped it would be", I mean that I had to wholesale replace Telekinetic Grasp's .action() method, which means that any other addon playing around in that area might have compatibility problems. This (sort of) includes Use Item Shortcuts, which requires its own separate copy of (part of) Telekinetic Grasp's .action() method, and thus won't inherit our newly added functionality. Not to worry, though; I also added the same functionality to the latest version of Use Item Dialog. :wink: You'll just need to upgrade to the latest version (2.13.0 for Use Item Dialog, 17.7.4 for ZOmnibus or ZOmnibus Lite).]

(Looking ahead, I'm not sure whether this would count as a bugfix addon; for now, I'm categorizing it as a "maybe" to potentially be added to ZOmnibus and ZOmnibus Lite, since we're keying off an existing game option.)

[Implementation notes:

Code: Select all

Hooks:
  ToME:load [to modify Telekinetic Grasp]
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply