Difference between revisions of "Shipyard-overrides.plist"

From Elite Wiki
(Added shipyard-overrides.plist)
 
(Added examples)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
'''shipyard-overrides.plist''' is added with oolite 1.72.
 
'''shipyard-overrides.plist''' is added with oolite 1.72.
  
It loads after all the shipyard data are read in. It contains the same keys as the normal '''shipyard.plist'''. Whenever it finds a match with a key that also exists in '''shipyard.plist''' of any oxp, it overwrites the entries defined in '''shipyard-overrides.plist''' but leaves the other as they were. e.g.
+
It loads after all the shipyard data are read in. It contains the same keys as the normal [[shipyard.plist]]. Whenever it finds a match with a key that also exists in '''shipyard.plist''' of any oxp, it overwrites the entries defined in '''shipyard-overrides.plist''' but leaves the other as they were. e.g.
  
 
  "adder-player" = {
 
  "adder-player" = {
Line 7: Line 7:
 
   techlevel = 6;
 
   techlevel = 6;
 
  };
 
  };
Will change the techlevel and the chance of appearance of the ship adder-player. All other data remain original
+
Will change the [[TL|techlevel]] and the chance of appearance of the ship adder-player. All other data remain original
 +
 
 +
See [[OXP_howto]] for a overview about the other plists.
 +
----
 +
== Examples ==
 +
There are examples inside [[Hermitage]], [[Start Choices]] & the OXP with the [[Yasen-N Turret]] upgrade
 +
 
  
--------------------------------------------------------------------------------
 
 
[[Category:Oolite]]
 
[[Category:Oolite]]
 
[[Category:Oolite scripting]]
 
[[Category:Oolite scripting]]

Latest revision as of 12:30, 15 July 2026

shipyard-overrides.plist is added with oolite 1.72.

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

"adder-player" = {
 chance = 0.35;
 techlevel = 6;
};

Will change the techlevel and the chance of appearance of the ship adder-player. All other data remain original

See OXP_howto for a overview about the other plists.


Examples

There are examples inside Hermitage, Start Choices & the OXP with the Yasen-N Turret upgrade