summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-28 14:09:47 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-28 22:03:08 +0200
commitab7c9a4add192d35c08e1c2df3da38c2210aa434 (patch)
tree2daf24204c745307ed609cd64424c2bae0381d1d /crawl-ref/source/artefact.h
parent838f162c9b72fdbb77749e3c0bf0e90a990c0779 (diff)
downloadcrawl-ref-ab7c9a4add192d35c08e1c2df3da38c2210aa434.tar.gz
crawl-ref-ab7c9a4add192d35c08e1c2df3da38c2210aa434.zip
Show custom weapon types in action_counts dumps.
It's arguable what is a "custom type" in some cases. A "katana" obviously differs from an European-style long sword, but I left "sceptre" merely as a name for a mace (ie, it counts as one).
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r--crawl-ref/source/artefact.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h
index be77aeeb38..d9d8296ce5 100644
--- a/crawl-ref/source/artefact.h
+++ b/crawl-ref/source/artefact.h
@@ -46,6 +46,7 @@ struct unrandart_entry
{
const char *name; // true name of unrandart
const char *unid_name; // un-id'd name of unrandart
+ const char *type_name; // custom item type
object_class_type base_type;
uint8_t sub_type;