Harroghty wrote:That begins to get complicated. If you are checking for what armor type someone is wearing then what happens if they are wearing more than one type? What if they are wearing three or four types? What if that bandana on your head for style ends up being picked instead of the mail on your body. Or if you were wearing mail and hoping that one day you would get a cool suit of magical plate to replace it?
That's why I suggested there should be a count. At the time of quest completion, the character's equipped items are examined. To take my Gnome, for instance:
Shagel's Snapshot wrote:<worn on finger> a gleaming iron ring embossed with a musical note (perfect)
Item color is bright white, not armor.
<worn on finger> a bejeweled ring (perfect)
Item color is bright red, not armor.
<worn around neck> an amulet of communication (perfect)
bright yellow, not armor.
<worn on neck> a blue iron amulet set with an emerald leaf (perfect)
bright blue, not armor.
<worn on body> a platinum-crested steel cuirass (perfect)
bright white, full plate.
<worn on body> a fur rucksack with many pockets (perfect)
dark yellow, not armor.
<worn on feet> bronzed titanium sabatons set with amethysts (perfect)
dark yellow, full plate.
<worn on hands> steel gauntlets emblazoned with a moon and stars (perfect)
bright white, full plate.
<worn on arms> dark green gold-crested steel vambraces (perfect)
dark green, full plate.
<worn about waist> a glistening fauld worked with platinum designs (perfect)
bright yellow, half plate.
<left hand> (Glowing) a small positive energy shard (superb)
bright white, not armor.
<right hand> a pale steel bastard sword with a crimson blade (perfect)
dark white, not armor.
<worn on belt> a gold pocketwatch decorated with cut obsidians (perfect)
bright yellow, not armor.
<worn on belt> a black leather scabbard (perfect)
black, not armor.
The loot reward determined for Shagel ends up being armor. So, the game would run a count on the types of armor he's wearing. For ease, I put that under each line. The count comes out to be:
Count Phase wrote:Full plate: 4
Half plate: 1
So, loot preference for this character would be Full Plate. Then, a count would be done for color:
Count Phase wrote:Bright White: 4
Bright Red: 1
Bright Yellow: 3
Bright Blue: 1
Dark Yellow: 2
Dark Green: 1
Dark White: 1
Black: 1
So, loot color preference for this character would be Bright White.
At this point, the loot system I propose would either generate a completely random armor item or one that is full plate whose color is bright white.
This land shall come to the God who knows the answer to War. -Ninety-Nine Nights