You engage the mechs in battle, the fight is fierce and you exhaust almost all your ammo.  Finally you defeat the last one and see what appears to be a chest they were guarding.  You open the chest and find some sort of ancient secret weapon.  It appears to be a rail cannon.  Should you...

Drop your missiles and attach the cannon

or 

Leave it and continue