Shipdata structure

From Elite Wiki
Revision as of 11:02, 21 March 2013 by Svengali (talk | contribs) (added OpenStep)

Every entity is defined by a title-key, followed by a <dict>ionary of the object's properties. Do not use '-'(minus symbol) in the entity title.

The structure of the shipdata.plist is as follows:

XML:

***usual XML-Header info***
<plist>
<dict>
  <key>my_object</key>
  <dict>
    (all relevant property entries)
  </dict>
  <!-- between these everything will be ignored, convenient for selfcomments --> 
  <key>my_second_object</key>
  <dict>
    (all relevant property entries)
  </dict>
</dict>
</plist>

OpenStep:

{
   // comment
   "my_object" = {
     (all relevant property entries)
   };
}