The Project Getting started The Details Appendices

 

Lbod 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 LBods)

Type;Material;Quality;Lbod;Amount;Part1;Amount1;Part2;Amount2;Part3;Amount3;Part4;Amount4;Part5;Amount5;Part6;Amount6;Price;Book¶
Type: is always LBod here
Material: the material the items must be made of
Quality: the required quality
LBod: the Set this LBod represents
Amount: the amount of items needed for each Sbod
Part1-6: the 3-letter abbreviation for the item belonging into this slot
Amount1 - 6: is either 0 or equals "amount", thus indicating that this Sbod is combined
Price: the amount of GP you are offering the Lbod for
Book: the Bod Book or container where you store this Lbod
 

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:

LBod;Iron;normal;Platemail;20;Gor;0;Glo;20;PHe;0;Arm;0;Leg;0;Tun;0;0;15724;¶
LBod;Dull;normal;Ringmail;10;Glo;0;Sle;0;Leg;0;Tun;0;;0;;0;0;11478;¶
LBod;Dull;exceptional;Chainmail;10;Coi;0;Leg;0;Tun;0;;0;;0;;0;0;11478;¶
LBod;Shadow;normal;Ringmail;10;Glo;0;Sle;0;Leg;10;Tun;0;;0;;0;0;29358;¶
LBod;Shadow;exceptional;Platemail;10;Gor;0;Glo;10;PHe;10;Arm;10;Leg;10;Tun;10;0;29358;¶
LBod;Copper;normal;Chainmail;15;Coi;0;Leg;0;Tun;0;;0;;0;;0;0;26962;¶
LBod;Bronze;normal;Ringmail;15;Glo;15;Sle;0;Leg;15;Tun;0;;0;;0;0;41;¶
LBod;Gold;exceptional;Chainmail;20;Coi;0;Leg;0;Tun;0;;0;;0;;0;0;18467;¶
LBod;Agapite;normal;Platemail;10;Gor;0;Glo;0;PHe;0;Arm;0;Leg;0;Tun;0;0;6334;¶
LBod;Verite;normal;Ringmail;10;Glo;0;Sle;0;Leg;0;Tun;0;;0;;0;0;26500;¶
LBod;Valorite;exceptional;Platemail;15;Gor;0;Glo;0;PHe;0;Arm;0;Leg;0;Tun;0;0;9961;¶


LBod;Plain•Leather;exceptional;Bone•AR;15;BHe;15;BGl;0;BAr;15;BLe;15;BAo;15;;0;0;5705;¶
LBod;Plain•Leather;exceptional;Bone•AR;15;BHe;15;BGl;15;BAr;15;BLe;0;BAo;15;;0;0;5705;¶
LBod;Plain•Leather;normal;Female•Set;15;Ski;0;Bus;0;Sho;0;LAr;0;SBu;0;SAr;0;0;0;¶
LBod;Plain•Leather;normal;Leather•Set;10;Cap;0;Gor;0;Glo;0;Sle;0;Leg;0;Tun;0;0;5705;¶
LBod;Plain•Leather;normal;Footwear•Set;20;San;20;Sho;0;Boo;20;ThB;20;;0;;0;0;5705;¶
LBod;Horned•Leather;normal;Footwear•Set;10;San;10;Sho;0;Boo;10;ThB;10;;0;;0;0;23281;¶
LBod;Barbed•Leather;normal;Footwear•Set;10;San;10;Sho;0;Boo;0;ThB;10;;0;;0;0;19169;¶
LBod;Barbed•Leather;normal;Footwear•Set;15;San;0;Sho;15;Boo;0;ThB;0;;0;;0;0;19169;¶
LBod;Cloth;exceptional;The•Gypsy;20;Ban;20;Shi;0;Ski;0;ThB;0;;0;;0;0;28145;¶
LBod;Cloth;exceptional;The•Pirate;15;SkC;15;Dou;15;Kil;0;Sho;15;;0;;0;0;28145;¶
LBod;Cloth;exceptional;The•Farmer;15;StH;0;Tun;0;LoP;0;Boo;0;;0;;0;0;28145;¶
LBod;Cloth;exceptional;The•Wizard;20;WiH;0;BoS;0;Rob;0;Boo;0;;0;;0;0;28145;¶
LBod;Cloth;exceptional;The•Wizard;20;WiH;0;BoS;20;Rob;20;Boo;20;;0;;0;0;28145;¶
LBod;Cloth;exceptional;Fishergirl;20;FlH;20;FuA;0;PlD;20;San;0;;0;;0;0;28145;¶
LBod;Cloth;normal;Town•Crier;10;FeH;0;Sur;0;FaS;10;ShP;0;ThB;10;;0;0;28145;¶
LBod;Cloth;normal;The•Lady;10;Bon;10;HaA;10;FaD;10;San;0;;0;;0;0;28145;¶
LBod;Cloth;normal;The•Jester;20;JeH;0;JeS;20;Clo;0;Sho;20;;0;;0;0;28145;¶




Mind the capitalization and the spaces, please. If you are in doubt about the exact format you can always enter a Bod into UOBod manually and compare its output using File/Export/Textfile.



LBods - allowed strings for each field (Part One)

 
Type Material Quality LBod Amount
LBod Iron

Dull

Shadow

Copper

Bronze

Gold

Agapite

Verite

Valorite

Plain•Leather

Spined•Leather

Horned•Leather

Barbed•Leather

Cloth

normal

exceptional

Ringmail

Chainmail

Platemail

Axes

Swords

Piercing

Bashing

Polearms

Footware•Set

Leather•Set

Studded•Set

Female•Set

Bone•AR

The•Gypsy

The•Pirate

The•Farmer

The•Wizard

Fishergirl

Town•Crier

The•Lady

The•Jester

The•Hat-Set

10

15

20





LBods - allowed strings for each field (Part Two)

 
  Part1 Amount1 Part2 Amount2 Part3 Amount3 Part4 Amount4 Part5 Amount5 Part6 Amount6
Ringmail Glo <20 Sle <20 Leg <20 Tun <20        
Chainmail Coi <20 Leg <20 Tun <20            
Platemail Gor <20 Glo <20 PHe <20 Arm <20 Leg <20 Tun <20
Axes LBA <20 DAx <20 BAx <20 THA <20 Axe <20 EAx <20
Swords Cut <20 VSw <20 LSw <20 Sci <20 BSw <20 Kat <20
Piercing Dag <20 Kry <20 WFo <20 SSp <20 Spe <20    
Bashing Mac <20 Mau <20 WMa <20 WHa <20 HPi <20 WAx <20
Polearms Bar <20 Hal <20                
Footware San <20 Sho <20 Boo <20 ThB <20        
Leather Set Cap <20 Gor <20 Glo <20 Sle <20 Leg <20 Tun <20
Studded Set Gor <20 Glo <20 Sle <20 Leg <20 Tun <20    
Female Set Ski <20 Bus <20 Sho <20 LAr <20 SBu <20 SAr <20
Bone Armor BHe <20 BGl <20 BAr <20 BLe <20 BAo <20    
Gypsy Ban <20 Shi <20 Ski <20 ThB <20        
Pirate SkC <20 Dou <20 Kil <20 Sho <20        
Farmer StH <20 Tun <20 LoP <20 Boo <20        
Wizard WiH <20 BoS <20 Rob <20 Boo <20        
Fishergirl FlH <20 FuA <20 PlD <20 San <20        
Town Crier FeH <20 Sur <20 FaS <20 ShP <20 ThB <20    
Lady Bon <20 HaA <20 FaD <20 San <20        
Jester JeH <20 JeS <20 Clo <20 Sho <20        
Hat-Set TrH <20 Cap <20 WBH <20 TSH <20        

Here are the abbreviations used in alphabetic order

LBods - allowed strings for each field (Part Three)

Price Book
any number up to maximum or blank any number up to 5 digits or blank

These two fields are both not part of UO's original Bod description, however a "price" is supported by UOAssist and the Bod Books.

In the Price field you can enter a price for the Bod in gp, and so make it a "for sale" Bod.

In the book field enter a number from 1 to 99999. It will become the "name" of the book after import into UOBod, and can be easily renamed later.