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

Difference between revisions of ".pray.xml"

From Creatures Wiki
Jump to navigation Jump to search
m (Updated.)
 
Line 1: Line 1:
'''.pray.xml''' is an XML based file format designed as a modern alternative to [[PRAY source]]. The standard is being developed by [[GameFreak]], with assistance by Miya.
+
'''.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.
 
.pray.xml files are currently only used by MonoTheism.
  

Latest revision as of 03:11, 17 April 2014

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