Thank you FrauBlake and Abraxas* for your time.
@FrauBlake
It worked. It also shows previews as well. Thanks a lot man.
Now that this issue is resolved, can I edit the file to add my own recipes? I want to be able to craft the armors that you normally can't craft- the scale armor(the one that looks like orc armor), the mail armor(found in early game) and the leather armor variation 1(the one you find early game).
The game only allows you to craft the plate armor, the leather ring armor, cloth armor and robes
I found that the armors are named as-
ClothArmor
ArmorLeather
RobeArmor
ArmorScale
But can't find what are the other armors(eg- scale armor(the one that looks like orc armor), the mail armor(found in early game) and the leather armor variation 1) have been named as.
All the stuff you wrote are no items but item categories. They cannot be crafted but only used as ingredients.
e.g. something like
use category Anvil on category ArmorScale with code Boost2 Armor__Plate_BuffMovement_Mod, ....
means that if you 'craft' any anvil with any item of category 'ArmorScale', a movement buff is applied to the specific item. You cannot craft an 'ArmorScale' though, because that is not an item but a category and the crafting would not be able to find out which of the many items of that category was meant.
As output, you can only have real 'stats'. Those you could find somewhere in the editor's templates folder, best to look them up in the Excel files there. The Excel files are used to create the .txt files the game actually uses. (Well, most modders edit the .txt files directly)
A stat entry looks like the ones for the starting armors of Madora, Bairdotr and Wolgraff:
new entry "ARM_Leather_Torso_Henchman_Madoc"
type "Armor"
using "_LeatherArmor"
data "Act part" "3"
data "Requirements" "Strength 6"
data "ComboCategory" "ArmorLeather"data "ItemColor" "Red Ore"
new entry "ARM_Leather_Torso_Henchman_Bairdotr"
type "Armor"
using "_LeatherArmor"
data "Act part" "3"
data "Requirements" "Strength 5"
data "ComboCategory" "ArmorLeather"data "ItemColor" "Cobalt"
new entry "ARM_Leather_Torso_Henchman_Wolgraff"
type "Armor"
using "_LeatherArmor"
data "Act part" "3"
data "Requirements" "Strength 4"
data "ComboCategory" "ArmorLeather"data "ItemColor" "Red Ore"
As you can see, all of them are in the same ComboCategory 'ArmorLeather', this line in the whole stat entry is only for crafting.
If you wanted to craft Madora's armor yourself, you'd have to use the stat name 'ARM_Leather_Torso_Henchman_Madoc' as an output, not the crafting category name 'ArmorLeather'.
If you have the Excel files, you can also find one Excel file especially for crafting: ItemCombos.xlsm
A long time ago in classic DOS, I even managed to use the included macros in this file for the creation of a new ItemCombos.txt in LibreOffice (because I do not have Excel), and it worked. I do not know, if that would still be the case.