The Mad Ship by Robin Hobb. It's the second book in her Liveship trilogy. It's much better than the first one, which was very slow to start.
I aim to read all her books in The Realm of the Elderlings series eventually (current book I'm on is #5). She's not my most favorite writer, but she's up there.