Complete trading shenanigans. Proof of concept, could be optimized a lot more, the point was to show the mayhem that can happen when a CPU initiates a trade with a human player.