Added CONTENT_JACKO (test)

This commit is contained in:
Laurent Vivier 2011-09-25 11:46:58 +02:00
parent 4b049e0993
commit cd4079aea4
1 changed files with 10 additions and 0 deletions

View File

@ -92,6 +92,16 @@ InventoryItem *craft_get_result(InventoryItem **items)
}
}
{
ItemSpec specs[9];
specs[0] = ItemSpec(ITEM_MATERIAL, CONTENT_WOOD);
specs[3] = ItemSpec(ITEM_CRAFT, CONTENT_WOOD);
if(checkItemCombination(items, specs))
{
return new MaterialItem(CONTENT_JACKO, 4);
}
}
// Wooden pick
{
ItemSpec specs[9];