Optional equipment for OXP player ships
Posted: Fri Sep 25, 2015 6:31 pm
I created a variant of the standard player Python as my player ship. When writing the shipyard.plist, I defined all the equipment I had earned with my Cobra Mk III as standard equipment. Because I didn't want to buy "my" ship with some random equipment I don't need (e.g. a docking computer), I left the optional_equipment section completely empty (I wouldn't do this of course when distributing an OXP ship).
So far, so good, everything worked like intended.
But when I completed the Thargoid plans mission, something went wrong. The naval energy unit didn't show up in the equipment list, and worse, the standard energy unit was removed. I could buy it again, and it seems to work, but obviously something went wrong, and obviously I still don't have the naval energy unit. It's probably not essential because the limiting factor while fighting (mostly) is laser temperature and shield strength, but I'd like to know what happened from a technical/programmers viewpoint
I found that most of the ships in the core shipyard.plist have the naval energy unit in their optional equipment list, and as I said, my Python didn't. Was that the reason for not getting it awarded? On the other hand, I could buy and use passenger berths, a galactic hyperspace and a mining laser, although they aren't included in my optional equipment list.
Somehow there must be a difference between optional equipment included when buying a ship and optional equipment that can be fitted later. But I can't see how it is done. Certainly you won't find an Adder already equipped with a naval energy unit in the shipyard - or am I wrong here?
The second mystery is why the standard extra energy unit was removed during the failed awarding of the navy unit. Should it be replaced by the navy unit or do both work together?
So far, so good, everything worked like intended.
But when I completed the Thargoid plans mission, something went wrong. The naval energy unit didn't show up in the equipment list, and worse, the standard energy unit was removed. I could buy it again, and it seems to work, but obviously something went wrong, and obviously I still don't have the naval energy unit. It's probably not essential because the limiting factor while fighting (mostly) is laser temperature and shield strength, but I'd like to know what happened from a technical/programmers viewpoint
I found that most of the ships in the core shipyard.plist have the naval energy unit in their optional equipment list, and as I said, my Python didn't. Was that the reason for not getting it awarded? On the other hand, I could buy and use passenger berths, a galactic hyperspace and a mining laser, although they aren't included in my optional equipment list.
Somehow there must be a difference between optional equipment included when buying a ship and optional equipment that can be fitted later. But I can't see how it is done. Certainly you won't find an Adder already equipped with a naval energy unit in the shipyard - or am I wrong here?
The second mystery is why the standard extra energy unit was removed during the failed awarding of the navy unit. Should it be replaced by the navy unit or do both work together?