The Project Getting started The Details Appendices

 

Sbod textfile format:

Each Bod needs to be on one line and is terminated by a normal hard return (CR/LF ; 0Dh 0Ah). In order to let you see where such a hard return is I have marked them here with a "¶" sign, that will not normally appear in your file. Also I have replaced any spaces in the examples with a "•" symbol.

Each such file must start with a line containing the field names.

Here is what it looks like (for SBods)

Type;Material;Quality;Lbod;Part;Amount;Filled;Toolmenu;Price;Book
Type is always Sbod here
Material the material the items must be made of
Quality the required quality
LBod the LBod this Sbod can be combined with
Part the actual item to make
Amount the required number
Filled the number of already produced items that are inside the Sbod
Toolmenu the category from the tool's menu (smith's hammer or sewing kit) that must be used to produce the item
Price the amount of GP you are offering the Sbod for
Book the Bod Book or container where you store this Sbod

The field names also show you in which order your Bods data must be represented.

Behind each field there is a semicolon as a delimiter. In the "Price" field you can enter your price for those Bods that you want to sell. The Book field should contain a number of your choice (up to 5 digits) - different numbers for different books. You can easily substitute the final book names for these numbers inside the program later.

All following data records must keep to this order, using the field delimiter and be terminated by a linefeed/carriage return each.

Here are some examples:

Sbod;Iron;normal;Platemail;Legs;10;0;Platemail;12345;15724;¶ (Price and Book)
Sbod;Iron;normal;Platemail;Gorget;15;0;Platemail;0;0;¶ (No Price; no Book)
SBod;Iron;normal;Platemail;Plate•Helm;20;0;Helmets;0;15724;¶
SBod;Iron;exceptional;Platemail;Gorget;10;0;Platemail;0;15724;¶
SBod;Iron;exceptional;Platemail;Arms;10;10;Platemail;0;15724;¶
SBod;Shadow;normal;Ringmail;Sleeves;15;0;Ringmail;0;29358;¶
SBod;Plain•Leather;normal;Bone•AR;Bone•Arms;15;15;Bone•Armor;0;5705;¶
SBod;Spined•Leather;normal;Bone•AR;Bone•Armor;10;10;Bone•Armor;0;16827;¶
SBod;Horned•Leather;normal;Bone•AR;Bone•Leggings;20;0;Bone•Armor;0;23281;¶
SBod;Barbed•Leather;exceptional;Female•Set;Leather•Skirt;20;0;Female•Armor;0;19169;¶
SBod;Barbed•Leather;normal;The•Jester;Shoes;20;0;Footwear;0;19169;¶
SBod;Cloth;normal;The•Gypsy;Shirt;15;0;Shirts;0;28145;¶
SBod;Cloth;exceptional;The•Gypsy;Bandana;10;0;Hats;0;28145;¶
SBod;Cloth;normal;The•Pirate;Kilt;20;0;Pants;0;28145;¶
SBod;Cloth;exceptional;The•Farmer;Long•Pants;10;0;Pants;0;28145;¶
SBod;Cloth;exceptional;The•Hat-Set;Tall•Straw•Hat;20;0;Hats;0;28145;¶

SBods - allowed strings for each field (Part One)
Type Material Quality LBod
SBod Iron normal Ringmail
  Dull exceptional Chainmail
  Shadow   Platemail
  Copper   Axes
  Bronze   Swords
  Gold   Piercing
  Agapite   Bashing
  Verite   Polearms
  Valorite   Footware•Set
  Plain•Leather   Leather•Set
  Spined•Leather   Studded•Set
  Horned•Leather   Female•Set
  Barbed•Leather   Bone•AR
  Cloth   The•Gypsy
      The•Pirate
      The•Farmer
      The•Wizard
      Fishergirl
      Town•Crier
      The•Lady
      The•Jester
      The•Hat-Set
 

SBods - allowed strings for each field (Part Two)

Part Part

(cont.)

Part

(cont.)

Arms Gloves Sandals
Axe Gorget Scimitar
Bandana Halberd Shirt
Bardiche Half•Apron Shoes
Bascinet Hammer•Pick Short•Pants
Battle•Axe Heater•Shield Short•Spear
Body•Sash Helmet Skirt
Bone•Armor Jester•Hat Skullcap
Bone•Arms Jester•Suit Sleeves
Bone•Gloves Katana Spear
Bone•Helmet Kilt Straw•Hat
Bone•Leggings Kryss Studded•Bustier
Bonnet Large•Battle•Axe Studded•female
Boots Leather•Armor Surcoat
Broadsword Leather•Bustier Tall•Straw•Hat
Bronze•Shield Leather•Shorts Tear•Kite•Shield
Buckler Leather•Skirt Thigh•Boots
Cap Leggings Tricorne•Hat
Cloak Legs Tunic
Close•Helmet Long•Pants Two•Handed•Axe
Coif Longsword Viking•Sword
Cutlass Mace War•Axe
Dagger Maul War•Fork
Double•Axe Metal•Kite•Shield War•Hammer
Doublet Metal•Shield War•Mace
Executioner's•Axe Norse•Helm Wide-Brim•Hat
Fancy•Dress Plain•Dress Wizard's•Hat
Fancy•Shirt Wide-Brim•Hat  
Feathered•Hat    
Female•Tunic    
Floppy•Hat    
Full•Apron    

SBods - allowed strings for each field (Part Three)

Amount

Filled

Toolmenu

Price

Book

10 0 up to 20 Ringmail any number any number up
15 depending on Chainmail or blank to 5 digits
20 "Amount" Platemail   or blank
    Helmets    
    Shields    
    Axes    
    Bladed    
    Bashing    
    Polearms    
    Leather Armor    
    Studded Armor    
    Female Armor    
    Bone Armor    
    Footwear    
    Hats    
    Shirts    
    Pants    
    Miscellaneous