summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-03 17:03:19 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-03 17:03:19 -0800
commita94369456a3cb23e49bf5365279d81f446953cc2 (patch)
treeaa30177c5db4a4b13c9dcb56a7b88629637957c9 /crawl-ref/source/util
parentb9c2a1e344b2a3d60bd05c9f0e3c3598a43c5d2d (diff)
downloadcrawl-ref-a94369456a3cb23e49bf5365279d81f446953cc2.tar.gz
crawl-ref-a94369456a3cb23e49bf5365279d81f446953cc2.zip
Artefacts no longer provide tele or mapping
Evokable teleporataion and evokable mapping are gone from artefacts.
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-xcrawl-ref/source/util/art-data.pl19
1 files changed, 11 insertions, 8 deletions
diff --git a/crawl-ref/source/util/art-data.pl b/crawl-ref/source/util/art-data.pl
index a495edd5aa..a03c03ec0b 100755
--- a/crawl-ref/source/util/art-data.pl
+++ b/crawl-ref/source/util/art-data.pl
@@ -19,7 +19,6 @@ my %field_type = (
BERSERK => "bool",
BLINK => "bool",
BRAND => "enum",
- CANTELEP => "bool",
CHAOTIC => "bool",
COLD => "num",
COLOUR => "enum",
@@ -36,7 +35,6 @@ my %field_type = (
LEV => "bool",
LIFE => "bool",
MAGIC => "num",
- MAPPING => "bool",
METAB => "num",
MP => "num",
MUTATE => "num",
@@ -60,6 +58,8 @@ my %field_type = (
TILE_EQ => "str",
TILERIM => "bool",
+ UNUSED => "unused",
+
flags => "flags",
equip_func => "func",
@@ -208,6 +208,10 @@ sub finish_art
{
$artefact->{$field} = "NULL";
}
+ elsif ($type eq "unused")
+ {
+ $artefact->{$field} = "0";
+ }
else
{
error($artefact, "Unknown type '$type' for field '$field'");
@@ -451,8 +455,7 @@ sub process_line
if ($enum ne "")
{
if (exists($used_enums{$enum}))
- {
- error($artefact, "Enum \"$enum\" already used by artefact " .
+ { error($artefact, "Enum \"$enum\" already used by artefact " .
"\"$used_enums{$enum}\"");
return;
}
@@ -469,10 +472,10 @@ my @art_order = (
"{", "BRAND", "AC", "EV", "STR", "INT", "DEX", "\n",
"FIRE", "COLD", "ELEC", "POISON", "LIFE", "MAGIC", "\n",
- "SEEINV", "INV", "LEV", "BLINK", "CANTELEP", "BERSERK", "\n",
- "MAPPING", "NOISES", "NOSPELL", "RND_TELE", "NOTELEP", "\n",
- "ANGRY", "METAB", "MUTATE", "ACC", "DAM", "\n",
- "CURSED", "STEALTH", "MP", "SPIRIT", "}",
+ "SEEINV", "INV", "LEV", "BLINK", "UNUSED", "BERSERK", "UNUSED", "\n",
+ "NOISES", "NOSPELL", "RND_TELE", "NOTELEP", "ANGRY", "METAB", "\n",
+ "MUTATE", "ACC", "DAM", "CURSED", "STEALTH", "MP", "\n",
+ "SPIRIT", "}",
"DESC", "\n",
"DESC_ID", "\n",