Alex and the Wigpowder Treasure by Adrienne Kress
Nasty old ladies, trains that go nowhere, a giant octopus and a shipful of the bloodthirstiest rogues that ever sailed the ocean wave - will the heroic Alex overcome all and discover the secret of The Ironic Gentleman, deadliest of all pirate ships?