Page 1 of 1

Merchant ships - units.csv identifier

Posted: Wed Nov 21, 2007 2:31 pm
by GoldenGnu
How can I identify merchant ships, you can trade with, in units.csv?

I'm in the process of adding them to VSTrade, but, I'm unsure how to identify them properly...

Any help would be appreciated... :)

Posted: Wed Nov 21, 2007 6:44 pm
by jackS
if a ship has
A) a docking port specified
B) a non-empty cargo_import field

then you can dock with said vessel and purchase the goods present. If it has a docking port but no cargo import field (I don't think there are any as such, but it's certainly a valid state) then you can sell, but they'll have nothing of their own for sale.

Posted: Wed Nov 21, 2007 9:23 pm
by GoldenGnu
Thank you very much :) That's exactly what I needed :D