Difference between revisions of "Shipdata-overrides.plist"

From Elite Wiki
(added shipdata-overrides.plist)
 
m (get rid of deadend pages)
Line 9: Line 9:
 
Will change the max_energy and the thrust of the ship adder-player. All other data remain original.
 
Will change the max_energy and the thrust of the ship adder-player. All other data remain original.
  
--------------------------------------------------------------------------------
+
See [[OXP_howto]] for a overview about the other plists.
 +
 
 +
----
 
[[Category:Oolite]]
 
[[Category:Oolite]]
 
[[Category:Oolite scripting]]
 
[[Category:Oolite scripting]]

Revision as of 11:34, 2 June 2012

shipdata-overrides.plist is added with oolite 1.72.

It loads after all the shipdata.plist data are read in. It contains the same keys as the normal shipdata.plist. Whenever it finds a match with a key that also exists in shipdata.plist of any oxp, it overwrites the entries defined in shipdata-overrides.plist but leaves the other as they were. e.g.

"adder-player" = {
 max_energy = 95;
 thrust = 25;
};

Will change the max_energy and the thrust of the ship adder-player. All other data remain original.

See OXP_howto for a overview about the other plists.