@ -885,10 +885,10 @@ command_result df_strangemood (color_ostream &out, vector <string> & parameters)
case job_skill : : WEAVING :
case job_skill : : WEAVING :
case job_skill : : CLOTHESMAKING :
case job_skill : : CLOTHESMAKING :
filter = NULL ;
filter = NULL ;
// TODO: do proper search through world->items.other[items_other_id::ANY_GENERIC3 5 ] for item_type CLOTH, mat_type 0, flags2.deep_material, and min_dimension 10000
// TODO: do proper search through world->items.other[items_other_id::ANY_GENERIC3 6 ] for item_type CLOTH, mat_type 0, flags2.deep_material, and min_dimension 10000
for ( size_t i = 0 ; i < world - > items . other [ items_other_id : : ANY_GENERIC3 5 ] . size ( ) ; i + + )
for ( size_t i = 0 ; i < world - > items . other [ items_other_id : : ANY_GENERIC3 6 ] . size ( ) ; i + + )
{
{
filter = world - > items . other [ items_other_id : : ANY_GENERIC3 5 ] [ i ] ;
filter = world - > items . other [ items_other_id : : ANY_GENERIC3 6 ] [ i ] ;
if ( filter - > getType ( ) ! = item_type : : CLOTH )
if ( filter - > getType ( ) ! = item_type : : CLOTH )
{
{
filter = NULL ;
filter = NULL ;
@ -973,10 +973,10 @@ command_result df_strangemood (color_ostream &out, vector <string> & parameters)
case job_skill : : FORGE_FURNITURE :
case job_skill : : FORGE_FURNITURE :
case job_skill : : METALCRAFT :
case job_skill : : METALCRAFT :
filter = NULL ;
filter = NULL ;
// TODO: do proper search through world->items.other[items_other_id::ANY_GENERIC3 5 ] for item_type BAR, mat_type 0, and flags2.deep_material
// TODO: do proper search through world->items.other[items_other_id::ANY_GENERIC3 6 ] for item_type BAR, mat_type 0, and flags2.deep_material
for ( size_t i = 0 ; i < world - > items . other [ items_other_id : : ANY_GENERIC3 5 ] . size ( ) ; i + + )
for ( size_t i = 0 ; i < world - > items . other [ items_other_id : : ANY_GENERIC3 6 ] . size ( ) ; i + + )
{
{
filter = world - > items . other [ items_other_id : : ANY_GENERIC3 5 ] [ i ] ;
filter = world - > items . other [ items_other_id : : ANY_GENERIC3 6 ] [ i ] ;
if ( filter - > getType ( ) ! = item_type : : BAR )
if ( filter - > getType ( ) ! = item_type : : BAR )
{
{
filter = NULL ;
filter = NULL ;