(- Bread Vendor Tutorial Pray Template for both C3 and Docking Station -)
(- by Hausmouse1@aol.com -)
(- Compile this in Docking Station or with PRAYbuilder, not C3. -)
(- Comments appear above the line being discussed. -)


(- --------------------------------------------------------- -)

"en-GB"

(- DSAG is the chunk type for Docking Station. C3 won't recognize it. -)
(- The text in quotes must be different for the DSAG and AGNT chunks -)
group DSAG "DS Bread Vendor"

"Agent Type" 0

"Agent Description" "The Docking Station Bread Vendor"

"Dependency Count" 3

"Dependency 1" "bread_vendor.c16"

(- Dependency 1 goes to the Images folder -)
"Dependency Category 1" 2

(- This is the image file for the Web Icon -)
"Dependency 2" "hm_logo.c16"

(- Dependency 2 goes to the Images folder -)
"Dependency Category 2" 2

"Dependency 3" "bread_tut.catalogue"

(- Dependency 1 goes to the Images folder -)
"Dependency Category 3" 7

"Script Count" 1

(- This is the cos file. This one has the code to move the vendor into
any type of world safely. -)

"Script 1" @ "ds-c3_bread.cos"

"Agent Animation File" "bread_vendor.c16"

"Agent Animation Gallery" "bread_vendor"

"Agent Sprite First Image" 0

"Agent Animation String" "0"

"Web URL" "members.aol.com/hausmouse4/index.htm"

"Web Label" "Hausmouse's Creatures 3 Page"

(- The following fields aren't needed for the Web URL to work. DS has a 
default icon, but you can use these fields to display your own. -)

"Web Icon" "hm_logo"

"Web Icon Base" "0"

"Web Icon Animation String" "0"

(- The remove script - all on one line and in quotes. -)
"Remove script" "enum 2 23 54000 kill targ next enum 2 11 54000 kill targ next scrx 2 23 54000 1 scrx 2 23 54000 2 scrx 2 23 54000 6 scrx 2 11 54000 6 scrx 2 11 54000 12"

(- --------------------------------------------------------- -)
(- THIS IS THE C3 STANDALONE CHUNK -)

(- Use AGNT for C3 -)
(- The text in quotes must be different than the DSAG one. -)

group AGNT "C3 Bread Vendor"

"Agent Type" 0

(- Change the text in quotes to describe your agent. -)
"Agent Description" "Bread vendor by Hausmouse1@aol.com"

(- The total number of files your agent needs to work, *not* including the COS file. -)
(- Note that C3 doesn't need a web-icon, so it's not included here. -)
"Dependency Count" 2

(- The dependencies counted above are listed below. Pay attention to -)
(- the placement of quotation marks! -)

(- List the first dependency -)
"Dependency 1" "bread_vendor.c16"

(- Dependency 1 goes to Images directory -)
"Dependency Category 1" 2

(- List the second dependency -)
"Dependency 2" "bread_tut.catalogue"

(- Dependency 2 goes to Catalogue directory -)
"Dependency Category 2" 7

(- How many cos files are there? Usually 1 -)
"Script Count" 1

(- List your cos file here. This one will move the vendor into any type
of world safely. -)
"Script 1" @ "ds-c3_bread.cos"

(- Image file with extension. Appears on Creator Machine. -)
"Agent Animation File" "bread_vendor.c16"

(- Image file WITHOUT extension. Appears on Creator Machine. -)
"Agent Animation Gallery" "bread_vendor"

(- Sprite number or animation to use on Creator Machine. No brackets! [] -)
"Agent Animation String" "0"

(- Bioenergy the Creator needs to make the Agent. -)
"Agent Bioenergy Value" 50

(- The remove script must be all on one line, with no line breaks. -)
"Remove script" "enum 2 23 54000 kill targ next enum 2 11 54000 kill targ next scrx 2 23 54000 1 scrx 2 23 54000 2 scrx 2 23 54000 6 scrx 2 11 54000 6 scrx 2 11 54000 12"


(- inline FILE lists the files to be packaged with the agent.  -)
(- inline FILE "<destination name>" "<source name>" -)
(- Remember to use the extensions (.c16, .wav, etc.)   -)
(- These lines must be the very last in the file. -)
(- There must be a carriage return <enter> at the end of the last line. -)

inline FILE "bread_vendor.c16" "bread_vendor.c16"
inline FILE "hm_logo.c16" "hm_logo.c16"
inline FILE "bread_tut.catalogue" "bread_tut.catalogue"
