[v1.7.0+] Explicit Offhand Notes

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+] Explicit Offhand Notes

#1 Post 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]
"Blessed are the yeeks, for they shall inherit Arda..."

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

Re: [v1.7.0+] Explicit Offhand Notes

#2 Post 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.
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply