Exclude worn items from counts for workflow

develop
Kelly Martin 2012-04-07 12:11:53 -05:00
parent 109edc5e77
commit f931060dd9
1 changed files with 4 additions and 0 deletions

@ -1128,6 +1128,10 @@ static void map_job_items(color_ostream &out)
bool is_invalid = false;
// don't count worn items
if (item->getWear() >= 1)
is_invalid = true;
// Special handling
switch (itype) {
case item_type::BUCKET: