I've been modifying my cmp .fo outputsheet, mostly out of necessity.
Now I'm looking at the weapon blocks, and I want to change them a bit.
I think I understand how the code itself works, but I have a question
on displaying double weapons.
First of all, I am assuming that there are four different ways to wield
a double weapon -- two-handed using the first head, two-handed using
the second head, as a double weapon using the first head as the primary
head, and as a double weapon using the second head as the primary
head. What I have done in my data is to assign TwoHanded as a type in
both the TYPE and ALTTYPE tags for the weapon. Then, if the two heads
are the same (including the same magical bonus), I have added
DoubleSame and AltDoubleSame to the TYPE and ALTTYPE tags. If the two
heads are different (e.g. a gnome hooked hammer, or a quarterstaff that
is +4 on one end, and +2 on the other), I have added DoubleDifferent
and AltDoubleDifferent to the TYPE and ALTTYPE tags. This way I can
distinguish between the heads in the weapon block on the outputsheet.
What I want to be able to do is this. If a weapon is a double weapon,
I want to display either one or two weapon blocks for it. If both
heads are the same, then I just want to display one block with TH, TWP-
OL, and OH. If the heads are different, I want to display a block for
each head, again with TH, TWP-OL, and OH.
My problem is that it appears that I only get the information that I
need for each head if the weapon is equipped as a double weapon, and I
can only equip one weapon as a double weapon. What happens if I have
(for example) both a gnome hooked hammer and a dwarven urgrosh that I
want to display blocks for? Is there any way to get the info for each
head for each double weapon without equipping it as a double weapon?
Cheers,
Sir George Anonymous