Requires.plist

From Elite Wiki
Revision as of 11:40, 6 June 2012 by Svengali (talk | contribs) (Created page with "==Structure== The file is organized as a dictionary with pairs of key and value. { version = "1.76.1"; max_version = "1.76.99"; } ==Use== Every OXP should contain a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Structure

The file is organized as a dictionary with pairs of key and value.

{
  version = "1.76.1";
  max_version = "1.76.99";
}

Use

Every OXP should contain a Property lists with the name requires.plist that is placed at the main level of the oxp folder.

version
is the lowest Oolite version the code can run on. This ensures that older Oolite versions don't behave bad or crash because they load an OXP that does contain unknown stuff.
max_version
is only needed when you want an OXP to not run with newer Oolite versions. Very useful for adding in test versions to ensure this test version is not used forever.

Links