#### Back to Server.Engines.Craft

## CraftItem

#### Nested Types: InternalTimer

(static) int ItemIDOf( Type type )
(ctor) CraftItem( Type type, TextDefinition groupName, TextDefinition name )
bool ForceNonExceptional( get; set; )
int GroupNameNumber( get; )
string GroupNameString( get; )
int Hits( get; set; )
Type ItemType( get; )
int Mana( get; set; )
int NameNumber( get; )
string NameString( get; )
bool NeedHeat( get; set; )
bool NeedMill( get; set; )
bool NeedOven( get; set; )
Recipe Recipe( get; )
Expansion RequiredExpansion( get; set; )
CraftResCol Resources( get; )
CraftSkillCol Skills( get; )
int Stam( get; set; )
bool UseAllRes( get; set; )
bool UseSubRes2( get; set; )
void AddRecipe( int id, CraftSystem system )
void AddRes( Type type, TextDefinition name, int amount )
void AddRes( Type type, TextDefinition name, int amount, TextDefinition message )
void AddSkill( SkillName skillToMake, double minSkill, double maxSkill )
int CheckHueGrouping( Item a, Item b )
bool CheckSkills( Mobile from, Type typeRes, CraftSystem craftSystem, ref int quality, ref bool allRequiredSkills )
bool CheckSkills( Mobile from, Type typeRes, CraftSystem craftSystem, ref int quality, ref bool allRequiredSkills, bool gainSkills )
void CompleteCraft( int quality, bool makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CustomCraft customCraft )
bool ConsumeAttributes( Mobile from, ref object message, bool consume )
int ConsumeQuantity( Container cont, Type[][] types, int[] amounts )
bool ConsumeRes( Mobile from, Type typeRes, CraftSystem craftSystem, ref int resHue, ref int maxAmount, ConsumeType consumeType, ref object message )
bool ConsumeRes( Mobile from, Type typeRes, CraftSystem craftSystem, ref int resHue, ref int maxAmount, ConsumeType consumeType, ref object message, bool isFailure )
void Craft( Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool )
bool Find( int itemID, int[] itemIDs )
bool Find( Mobile from, int[] itemIDs )
double GetExceptionalChance( CraftSystem system, double chance, Mobile from )
int GetQuantity( Container cont, Type[] types )
double GetSuccessChance( Mobile from, Type typeRes, CraftSystem craftSystem, bool gainSkills, ref bool allRequiredSkills )
bool IsMarkable( Type type )
bool IsQuantityType( Type[][] types )
void OnResourceConsumed( Item item, int amount )
object RequiredExpansionMessage( Expansion expansion )
bool RetainsColorFrom( CraftSystem system, Type type )