Crossfire Server, Trunk  R21670
Collect process

link to relevant documentation.

Add file extension to the relevant places also.

Because it is easier to group all of an object's definitions in the same directory, including archetype, face and treasure, rather than have the definition split apart in big files, everything can be defined in individual files in the arch tree. All those individual files will be grouped during the build process (under Linux only. Under Windows, this is not automated).

The following files will be collected.

Extension Collected to Meaning
arc archetypes archetype definition
trs treasures.bld treasure definition
face faces face and animation definition

The collect process is handled by the lib/ script, which accepts as parameter the path to the archetypes tree.