Note this tutorial is for trunk, this means that some things are not implemented in build13. (but it's ok for build14)
This tutorial describes how to create wares and what options exist.
A conf file, with all the possibilities looks kind of this:
help= default_target_quantity= preciousness= [idle] pics= hotspot=
Now let's describe every option:
Description displayed in ware encyclopedia. It must have an leading underscore (_)
As the name suggests, the default target quantity for a ware. This is the default wanted number of wares in the warehouse/headquarters. This is not required for basic wares.
So for example, if you want to build 3 lumberjacks houses, there won't be enough axes with the default setting (1). When this is set to 5, toolsmith will produce 5 axes and will try to keep it at this number. It can always be adjusted later in-game trough the economy menu (but it'll be kept only in this one particular game).
This is not required as well. It'll tell the AI how important the ware is. I'm unsure whether 1 is the most or least important. This option is only for AI and used by AI.
This section is a must-be in the file. No description is required for that.
What image will be displayed. Usually it is called idle.png and is of size like 16x24.
It tells where the picture should be drawn in the location in question (ie. node). For example the value can be 9 11 (that's the very pixel that'll be drawn in the location).
This is all about the ware's conf file.
Now there need to be 2 more files in the folder. First is the one defined in "pics" and the second one must be named menu.png. It will be displayed in warehouse/headquarters.
So let's have a look at a conf file of an axe for example:
help=_The Axe is the basic weapon and tool for the barbarians. All young soldiers are equipped with this basic weapon, but also the lumberjack is using the same model. default_target_quantity=5 preciousness=3 [idle] pics=idle.png hotspot=9 11
(broke the line in half) and its folder contents:
axe/ conf idle.png menu.png
That's probably how you're folder's contents will look.
The last step is to add info about it in 'conf' in the main tribe's directory. Add a line pointing to the directory in manner of other folders. So for example if the name is lightaxe, it'll look like that:
Place it under '[ware types]' section in alphabetical order.
I think it describes it all quite enough. I hope it helps somebody.