Shipdata.plist in 1.70
Posted: Sun Jan 06, 2008 8:25 pm
I've tranfered my shipdata to the new form and now (for all ships):
??? How can I use it? I've used it before to create ships based on the main system conditions (to avoid seeing them in other systems) and the score_number, so it was based on the player skills (3 different types).
The old version (used in 1.69.x):
The new version does not work (see above)
So what can I do?
PS: I've placed it in the Expansion Pack thread, because I think that there must be a work-around for that. And it's something like a secret for scripters.
Code: Select all
2008-01-06 21:06:38.656 oolite.exe[3236] Ship "harkov_escape1":
2008-01-06 21:06:38.656 oolite.exe[3236] WARNING: unknown key "conditions".
The old version (used in 1.69.x):
Code: Select all
<key>conditions</key>
<array>
<string>galaxy_number lessthan 5</string>
<string>systemTechLevel_number greaterthan 7</string>
<string>systemGovernment_number equal 5</string>
<string>score_number greaterthan 50</string>
</array>
Code: Select all
conditions =
(
"galaxy_number lessthan 5",
"systemTechLevel_number greaterthan 7",
"systemGovernment_number equal 5",
"score_number greaterthan 50"
);
PS: I've placed it in the Expansion Pack thread, because I think that there must be a work-around for that. And it's something like a secret for scripters.