Oolite 1.x supports legacy conditions for ships in two contexts: conditions in shipdata.plist are tested when adding an NPC ship, and conditions in shipyard.plist are tested when adding a ship for sale. A JavaScript replacement is needed.
The options are essentially the same as for equipment scripts in issue #2, and unless there is a pressing need to do otherwise the same solution should be used for both cases.
Oolite 1.x supports legacy
conditionsfor ships in two contexts: conditions in shipdata.plist are tested when adding an NPC ship, and conditions in shipyard.plist are tested when adding a ship for sale. A JavaScript replacement is needed.The options are essentially the same as for equipment scripts in issue #2, and unless there is a pressing need to do otherwise the same solution should be used for both cases.