Difference between revisions of "Shipdata-overrides.plist"
From Elite Wiki
m (get rid of deadend pages) |
Cholmondely (talk | contribs) (Added link) |
||
Line 1: | Line 1: | ||
'''shipdata-overrides.plist''' is added with oolite 1.72. | '''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. | + | 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" = { | "adder-player" = { | ||
Line 7: | Line 7: | ||
thrust = 25; | thrust = 25; | ||
}; | }; | ||
− | Will change the max_energy and the thrust of the | + | Will change only the max_energy and the thrust of the adder-player ships. ''All other data remain unchanged.'' |
See [[OXP_howto]] for a overview about the other plists. | See [[OXP_howto]] for a overview about the other plists. | ||
+ | |||
+ | *[http://www.aegidian.org/bb/viewtopic.php?f=4&t=20672 Overriding shipdata entries in the core game and in other OXPs] (2020) | ||
---- | ---- | ||
[[Category:Oolite]] | [[Category:Oolite]] | ||
[[Category:Oolite scripting]] | [[Category:Oolite scripting]] |
Revision as of 16:47, 24 November 2021
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 only the max_energy and the thrust of the adder-player ships. All other data remain unchanged.
See OXP_howto for a overview about the other plists.