.pray.xml

.pray.xml is an XML based file format designed as a modern alternative to PRAY source. The standard was developed by GameFreak, but never saw practical use. .pray.xml files are currently only used by MonoTheism.

Sample
Current .pray.xml syntax is something like this example, which includes one agent and one inline file. &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;pray&gt; &lt;filename&gt;example.agents&lt;/filename&gt; &lt;meta&gt; &lt;author&gt;Agent author's name&lt;/author&gt; &lt;/meta&gt; &lt;blocks&gt; &lt;agnt id="0"&gt; &lt;name&gt;example agent&lt;/name&gt; &lt;data&gt; &lt;bioenergy&gt;100&lt;/bioenergy&gt; &lt;type&gt;0&lt;/type&gt; &lt;anim_file&gt;example.c16&lt;/anim_file&gt; &lt;anim_gallery&gt;example&lt;/anim_gallery&gt; &lt;anim_string&gt;0 1 2 4&lt;/anim_string&gt; &lt;remove_script type="raw"&gt;enum 0 0 0 kill targ next&lt;/remove_script&gt; &lt;/data&gt; &lt;scripts&gt; &lt;script type="path" no="1"&gt;C:\whatever\files\script.cos&lt;/script&gt; &lt;count&gt;1&lt;/count&gt; &lt;/scripts&gt; &lt;dependencies&gt; &lt;dependency no="1"&gt; &lt;category&gt;7&lt;/category&gt; &lt;name&gt;example.catalogue&lt;/name&gt; &lt;/dependency&gt; &lt;count&gt;1&lt;/count&gt; &lt;/dependencies&gt; &lt;/agnt&gt; &lt;file id="1"&gt; &lt;name&gt;example.catalogue&lt;/name&gt; &lt;path&gt;C:\whatever\files\example.catalogue&lt;/path&gt; &lt;/file&gt; &lt;/blocks&gt; &lt;/pray&gt;

Related links

 * Agent files
 * PRAY