if ( m_CraftSystem is DefTinkering )
{
return ( weapon is Cleaver )
|| ( weapon is Hatchet )
|| ( weapon is Pickaxe )
|| ( weapon is ButcherKnife )
|| ( weapon is SkinningKnife )
|| ( weapon is ColdBlood );
}
egemen said:Do you know what is your code do?
İ explain:your code only makes cold blood not crafted and repairable ok?
egemen said:But you are not helping me i am saying that cold blood cant be repaired you are writing code that cold is not craftable but repairable is help you think?
if ( m_CraftSystem.CraftItems.SearchForSubclass( weapon.GetType() ) == null && !IsSpecialWeapon( weapon ) || ( weapon is ColdBlood) )
{
number = 1044277; // That item cannot be repaired.
}