Welcome to the Creatures Wiki! Log in and join the community.

.pray.xml

From Creatures Wiki
Jump to: navigation, search

.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[edit]

Current .pray.xml syntax is something like this example, which includes one agent and one inline file.

<?xml version="1.0" encoding="UTF-8"?>
<pray>
  <filename>example.agents</filename>
  <meta>
    <author>Agent author's name</author>
  </meta>
  <blocks>
    <agnt id="0">
      <name>example agent</name>
      <data>
        <bioenergy>100</bioenergy>
        <type>0</type>
        <anim_file>example.c16</anim_file>
        <anim_gallery>example</anim_gallery>
        <anim_string>0 1 2 4</anim_string>
        <remove_script type="raw">enum 0 0 0 kill targ next</remove_script>
      </data>
      <scripts>
        <script type="path" no="1">C:\whatever\files\script.cos</script>
        <count>1</count>
      </scripts>
      <dependencies>
        <dependency no="1">
          <category>7</category>
          <name>example.catalogue</name>
        </dependency>
        <count>1</count>
      </dependencies>
    </agnt>
    <file id="1">
      <name>example.catalogue</name>
      <path>C:\whatever\files\example.catalogue</path>
    </file>
  </blocks>
</pray>

Related links[edit]