+ if (!game.landed && game.state.planets[game.iplnet].crystals==absent) {
+ prout(_("Spock- \"Captain, I fail to see the logic in"));
+ prout(_(" exploring a planet with no dilithium crystals."));
+ proutn(_(" Are you sure this is wise?\" "));
+ if (ja() == false) {
+ chew();
+ return;
+ }
+ }
+ if (!(game.options & OPTION_PLAIN)) {
+ nrgneed = 50 * game.skill + game.height / 100.0;
+ if (nrgneed > game.energy) {
+ prout(_("Engineering to bridge--"));
+ prout(_(" Captain, we don't have enough energy for transportation."));
+ return;
+ }
+ if (!game.landed && nrgneed * 2 > game.energy) {
+ prout(_("Engineering to bridge--"));
+ prout(_(" Captain, we have enough energy only to transport you down to"));
+ prout(_(" the planet, but there wouldn't be an energy for the trip back."));
+ if (game.state.planets[game.iplnet].known == shuttle_down)
+ prout(_(" Although the Galileo shuttle craft may still be on a surface."));
+ proutn(_(" Are you sure this is wise?\" "));
+ if (ja() == false) {
+ chew();
+ return;
+ }
+ }
+ }
+ if (game.landed) {