The .plist code was able to add as many missions as it felt like to the manifest page. The .js script is not allowed to do that. It is only allowed to add 1 mission to the page. At maximum, each script file is allowed a maximum of 1 mission.Lestradae wrote:Looks to me as if everything is now working except the listing of player stations on the mission screen. (I did not understand what the five "playerStationShow" scripts are actually supposed to do, I have to admit )
Limitation #2 is that the manifest page is only capable of showing a maximum of 4 missions, for which you may want to think about how to handle that with the player stations.
The scripts to update the missions are now modified so that they perform their update either on game load, or when about to dock with a station.
Eric has the better idea though, to include the update with the buying process. Then you can keep track of how many stations have been purchased, and not allow someone to purchase more than 3 stations.