Crafting an item in a game world requires the player to have the ingredients and the skill to craft that particular type of item. In addition to being trained in the right skill, the character must also have raised his skill to a sufficient level to make a crafting attempt of the target item. Some or all of ingredients are normally consumed whether or not the crafting attempt was successful. These factors are incorporated into the TFD template in Figure D.2.