anchor.diff:    recipeItems := ElementByPath(recipeCraft, 'items');
   
     // trying to figure out propper requirements amount
  -  amountOfMainComponent := 1 + round(
  -    GetElementEditValues(itemRecord, 'DATA\Weight')
  -    * 0.2
  -  );
  +  amountOfMainComponent := calcAmountOfMainMaterial(itemRecord);
     amountOfAdditionalComponent := round(amountOfMainComponent / 3);
     if amountOfAdditionalComponent < 1 then
       amountOfAdditionalComponent := 1;
  
positive.code:         addPerkCondition(recipeCraft, getRecordByFormID('000CB40E')); // DwarvenSmithing
          Break;
  
        end else if (currentKeywordEDID = 'ArmorMaterialEbony'
          or currentKeywordEDID = 'DLC2ArmorMaterialStalhrimLight'
          or currentKeywordEDID = 'DLC2ArmorMaterialStalhrimHeavy'
        ) then begin
          addPerkCondition(recipeCraft, getRecordByFormID('000CB412')); // EbonySmithing
          Break;
  
negative.code:     for i := 0 to ElementCount(tmpKeywordsCollection) - 1 do begin
        currentKeywordEDID := GetElementEditValues(LinksTo(ElementByIndex(tmpKeywordsCollection, i)), 'EDID');
  
       if (
  		   (currentKeywordEDID = 'ArmorMaterialSteel')
          or (currentKeywordEDID = 'ArmorMaterialSteel')
          or (currentKeywordEDID = 'DLC2ArmorMaterialBonemoldLight')
          or (currentKeywordEDID = 'DLC2ArmorMaterialBonemoldHeavy')
          or (currentKeywordEDID = 'ArmorMaterialImperialHeavy')
          or (currentKeywordEDID = 'ArmorMaterialImperialLight')
          or (currentKeywordEDID = 'ArmorMaterialStormcloak')
          or (currentKeywordEDID = 'ArmorMaterialImperialStudded')
          or (currentKeywordEDID = 'DLC1ArmorMaterialDawnguard')
        ) then begin
          addPerkCondition(recipeCraft, getRecordByFormID('000CB40D')); // SteelSmithing
          Break;
  
        end else if (
  			  (currentKeywordEDID = 'ArmorMaterialScaled')
          or (currentKeywordEDID = 'DLC2ArmorMaterialNordicLight')
          or (currentKeywordEDID = 'DLC2ArmorMaterialNordicHeavy')
          or (currentKeywordEDID = 'ArmorMaterialSteelPlate')
        ) then begin
          addPerkCondition(recipeCraft, getRecordByFormID('000CB414')); // AdvancedArmors
          Break;
  