Silk, yarn, and strands are also soft.

develop
JapaMala 2019-04-27 13:50:52 -05:00
parent 25f767b96b
commit f07f65a1a3
1 changed files with 6 additions and 0 deletions

@ -196,6 +196,12 @@ static bool armorFlagsMatch(BitArray<df::armor_general_flags> * flags, df::job_m
{ {
if (&flags[df::armor_general_flags::SOFT] && category->bits.cloth) if (&flags[df::armor_general_flags::SOFT] && category->bits.cloth)
return true; return true;
if (&flags[df::armor_general_flags::SOFT] && category->bits.yarn)
return true;
if (&flags[df::armor_general_flags::SOFT] && category->bits.silk)
return true;
if (&flags[df::armor_general_flags::SOFT] && category->bits.strand)
return true;
if (&flags[df::armor_general_flags::BARRED] && category->bits.bone) if (&flags[df::armor_general_flags::BARRED] && category->bits.bone)
return true; return true;
if (&flags[df::armor_general_flags::SCALED] && category->bits.shell) if (&flags[df::armor_general_flags::SCALED] && category->bits.shell)