X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Ffinish.c;h=54b5beaca08a7db10f4b5b19f89706390adf1b15;hp=d23723b9813f4d491728a7f95815afbb7624592e;hb=d48a2567098e4d756e0ca9d4b707bcd5867ac6c9;hpb=fd5a1ba781a0c37fa6181aa8e856d77d321df7a5 diff --git a/src/finish.c b/src/finish.c index d23723b..54b5bea 100644 --- a/src/finish.c +++ b/src/finish.c @@ -326,7 +326,7 @@ void score(void) if (game.gamewon == 0) game.state.nromrem = 0; // None captured if no win iscore = 10*NKILLK + 50*NKILLC + ithperd + iwon - 100*game.state.basekl - 100*klship - 45*game.nhelp -5*game.state.starkl - game.casual - + 20*NKILLROM + 200*NKILLSC - 10*game.state.nplankl + game.state.nromrem; + + 20*NKILLROM + 200*NKILLSC - 10*game.state.nplankl - 300*game.state.nworldkl + game.state.nromrem; if (game.alive == 0) iscore -= 200; skip(2); prout(_("Your score --")); @@ -354,6 +354,9 @@ void score(void) if (game.state.nplankl) prout(_("%6d planets destroyed by your action %5d"), game.state.nplankl, -10*game.state.nplankl); + if ((game.options & OPTION_WORLDS) && game.state.nworldkl) + prout(_("%6d inhabited planets destroyed by your action %5d"), + game.state.nplankl, -300*game.state.nworldkl); if (game.state.basekl) prout(_("%6d bases destroyed by your action %5d"), game.state.basekl, -100*game.state.basekl);