";
192 | cout << "" << planet.first;
193 | cout << "
\n";
194 |
195 | const Planet &data = planets[planet.first];
196 | cout << "(" << uses[planet.second] << " / "
197 | << uses[data.landscape] << " uses. ";
198 |
199 | // Draw the star system, with this planet highlighted.
200 | double distance = MaxDistance(*it.second.root);
201 | double scale = min(.03, 116. / distance);
202 |
203 | cout << "\n";
206 |
207 | if(!data.shipyard.empty())
208 | {
209 | cout << "Shipyard: " << endl;
210 | for(const string &name : data.shipyard)
211 | cout << "" << name << " ";
212 | cout << " ";
213 | }
214 | if(!data.outfitter.empty())
215 | {
216 | cout << "Outfitter: " << endl;
217 | for(const string &name : data.outfitter)
218 | cout << "" << name << " ";
219 | cout << " ";
220 | }
221 | cout << " | " << endl;
222 | cout << "";
223 | if(!data.landscape.empty())
224 | cout << " ";
225 | cout << data.description << " ";
226 | if(data.spaceport.empty())
227 | cout << "YOU CANNOT REFUEL HERE. ";
228 | else
229 | cout << data.spaceport;
230 | cout << " ";
231 | cout << " | ";
232 | if(!first)
233 | cout << "
";
234 | cout << endl;
235 |
236 | first = false;
237 | }
238 | cout << "