Okay, so if a ship has no guns and some are transferred onto it (not bought, that works differently, this is a ship-to-ship transfer), then because it has a zero calibre (because it has no guns) the guns being transferred will not have a calibre defined. This means that it would not be possible to fire them.
I’m struggling to get my head around the way the code is keeping track of the guns going back and forth, but one thing stands out... there is no exit confirmation in this scenario. Therefore, although the guns are transferred the calibre is not being set because that is what the confirmation does.
For some reason, the current number of guns being transferred is dropping into a negative number at some point for the ship which is taking them (the one with no guns to begin with), I cannot fathom why this is happening.
I’m struggling to get my head around the way the code is keeping track of the guns going back and forth, but one thing stands out... there is no exit confirmation in this scenario. Therefore, although the guns are transferred the calibre is not being set because that is what the confirmation does.
For some reason, the current number of guns being transferred is dropping into a negative number at some point for the ship which is taking them (the one with no guns to begin with), I cannot fathom why this is happening.
Last edited: