From 5fa1b6f847c7eb0abc72dd099ead3fd6d632ae99 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Sun, 3 Jan 2010 22:18:34 +0530 Subject: Generate aptitudes.txt as part of the build, remove generated file from repo. --- crawl-ref/source/util/gen-apt.pl | 246 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100755 crawl-ref/source/util/gen-apt.pl (limited to 'crawl-ref/source/util') diff --git a/crawl-ref/source/util/gen-apt.pl b/crawl-ref/source/util/gen-apt.pl new file mode 100755 index 0000000000..d19ec8a279 --- /dev/null +++ b/crawl-ref/source/util/gen-apt.pl @@ -0,0 +1,246 @@ +#! /usr/bin/env perl + +# Generates aptitude table from skills2.cc and the aptitude template file. +# All species names are discovered from skills2.cc and all skill abbreviations +# are discovered from the apt template file, so this script should be +# reasonably insulated from skill and species changes. +# + +use strict; +use warnings; + +my ($target, $template, $expmodfile, $skillfile) = @ARGV; +die "Usage: $0