#include "object/object-generator.h"
#include "object/object-kind.h"
#include "object/object-value.h"
-#include "system/object-type-definition.h"
#include "system/angband-version.h"
+#include "system/object-type-definition.h"
#include "util/angband-files.h"
#include "view/display-messages.h"
#include "wizard/spoiler-util.h"
return;
}
- fprintf(spoiler_file, "Spoiler File -- Basic Items (Bakabakaband %d.%d.%d.%d)\n\n\n", FAKE_VER_MAJOR - 10, FAKE_VER_MINOR, FAKE_VER_PATCH, FAKE_VER_EXTRA);
+ char title[200];
+ put_version(title);
+ fprintf(spoiler_file, "Spoiler File -- Basic Items (%s)\n\n\n", title);
fprintf(spoiler_file, "%-37s%8s%7s%5s %40s%9s\n", "Description", "Dam/AC", "Wgt", "Lev", "Chance", "Cost");
fprintf(spoiler_file, "%-37s%8s%7s%5s %40s%9s\n", "-------------------------------------", "------", "---", "---", "----------------", "----");
int n = 0;
}
msg_print("Successfully created a spoiler file.");
-}
+}
\ No newline at end of file