if (!damaged(DSRSENS) || game.condition == docked) {
proutn("***");
cramen(ienm);
- proutn(_(" from %s"), cramlc(2, com));
+ proutn(_(" from %s"), cramlc(sector, com));
if (game.kdist[loccom] < dist1)
proutn(_(" advances to "));
else
if (same(game.state.planets[i].w, game.state.kscmdr) &&
game.state.planets[i].crystals == present) {
/* destroy the planet */
- DESTROY(&game.state.planets[i]);
+ game.state.planets[i].pclass = destroyed;
game.state.galaxy[game.state.kscmdr.x][game.state.kscmdr.y].planet = NOPLANET;
if (!damaged(DRADIO) || game.condition == docked) {
- pause_game(true);
+ announce();
prout(_("Lt. Uhura- \"Captain, Starfleet Intelligence reports"));
proutn(_(" a planet in "));
proutn(cramlc(quadrant, game.state.kscmdr));
prout("== SUPERCOMMANDER");
/* Decide on being active or passive */
- avoid = ((NKILLC+NKILLK)/(game.state.date+0.01-game.indate) < 0.1*game.skill*(game.skill+1.0) ||
+ avoid = ((game.incom - game.state.remcom + game.inkling - game.state.remkl)/(game.state.date+0.01-game.indate) < 0.1*game.skill*(game.skill+1.0) ||
(game.state.date-game.indate) < 3.0);
if (!game.iscate && avoid) {
/* compute move away from Enterprise */
if (damaged(DRADIO) && game.condition != docked)
return; /* no warning */
game.iseenit = true;
- pause_game(true);
+ announce();
proutn(_("Lt. Uhura- \"Captain, the starbase in "));
proutn(cramlc(quadrant, game.state.kscmdr));
skip(1);
(damaged(DRADIO) && game.condition != docked) ||
!game.state.galaxy[game.state.kscmdr.x][game.state.kscmdr.y].charted))
return;
- pause_game(true);
+ announce();
prout(_("Lt. Uhura- \"Captain, Starfleet Intelligence reports"));
proutn(_(" the Super-commander is in "));
proutn(cramlc(quadrant, game.state.kscmdr));