(buil, vers, opt_NONUKES, show_nuke_build, show_nuke_capab):

Remove opt_NONUKES options.  A nuke characteristics file can
be created with no entries to create the emulate the removed option.
This commit is contained in:
Ron Koenderink 2005-11-12 20:09:11 +00:00
parent caaee8cafa
commit 2e655eaf96
6 changed files with 3 additions and 15 deletions

View file

@ -44,6 +44,7 @@
#include "ship.h"
#include "optlist.h"
#include "commands.h"
#include "file.h"
static void show_opts(int val);
@ -149,7 +150,7 @@ vers(void)
pr("The tax you pay on buying commodities on the market is %.1f%%\n\n", (buytax - 1.00) * 100.0);
}
if (opt_NONUKES)
if (!ef_nelem(EF_NUKE_CHR))
pr("Nukes are disabled.\n");
else if (opt_DRNUKE) { /* NUKES && DRNUKE enabled */
pr("In order to build a nuke, you need %1.2f times the tech level in research\n", drnuke_const);