Page 1 of 1

[v1.7.0+] Explicit Offhand Notes

Posted: Thu Jun 13, 2024 3:57 pm
by Zizzo
On a lark, I picked up Koholos' request for more clear annotations for one-handed and off-handable weapons, and put together a quickie Explicit Offhand Notes addon. For a first pass, we remove the existing "must be held with both hands" annotation for two-handed weapons, and replace it with one of the following annotations, as appropriate:
  • Two-handed
  • One-handed, mainhand or offhand
  • One-handed, offhand
  • One-handed
(And yes, this takes into account modifications to offhandibility via talents and such, so that shields, for instance, will be listed as "One-handed, mainhand or offhand" for Stone Warden characters.)

[Looking ahead, this seems like an easy fit for ZOmnibus and ZOmnibus Lite, but it would probably need a game option to turn it off for people who don't want it.]

[Implementation notes:]

Code: Select all

Superload
  mod.class.Object:
    getTextualDesc() [to modify object description]

Re: [v1.7.0+] Explicit Offhand Notes

Posted: Tue Sep 24, 2024 7:41 pm
by Zizzo
Just ran into an interesting wrinkle on this one: apparently Telekinetic Grasp modifies a two-handed weapon under the hood as it's wielding it to temporarily remove the "not if wielding something in offhand" flag, presumably to allow wielding a two-handed weapon in the TK slot and a shield in offhand. For our purposes, though, it causes us to incorrectly describe the weapon as "One-handed". Fortunately, the game keeps a backup copy of the necessary information to restore when you un-TK-wield the weapon, and it's easy enough to check there too to see if our weapon is actually two-handed. That's going out as v1a.