Sometimes a scripter would like to construct a ship that has a default weapon not only at the front, but also at its back. So rather than this
Code: Select all
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array>
<string>EQ_FUEL_SCOOPS</string>
<string>EQ_FUEL_INJECTION</string>
</array>
<key>forward_weapon_type</key>
<string>EQ_WEAPON_MILITARY_LASER</string>
<key>missiles</key>
<integer>4</integer>
</dict>
Code: Select all
<key>standard_equipment</key>
<dict>
<key>aft_weapon_type</key>
<string>EQ_WEAPON_TWIN_PLASMA_CANNON</string>
<key>extras</key>
<array>
<string>EQ_FUEL_SCOOPS</string>
<string>EQ_FUEL_INJECTION</string>
</array>
<key>forward_weapon_type</key>
<string>EQ_WEAPON_MILITARY_LASER</string>
<key>missiles</key>
<integer>4</integer>
</dict>
The <key>aft_weapon_type</key> is supposed to work analogous to <key>forward_weapon_type</key>, assigning the specified weapon to the ship. It doesn't do so, however, and hasn't at 1.65 as well.
The matter is a little bit more complicated, as <key>aft_weapon_type</key> isn't documented, so one could argue that it isn't supposed to work. However it does work for NPC ships in shipdata.plist (although undocumented as well), and so I felt safe to assume that it would work for the player in shipyard.plist as well. I was wrong with that assumption.
So my request is: If this is a broken functionality, I ask it to be repaired. If it wasn't supposed to be a functionality, I ask it to be added. (In the latter case: What about analogous keys for the port and starboard weapons?)
Thanks!