summaryrefslogtreecommitdiff
path: root/src/random_artifact.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/random_artifact.hpp')
-rw-r--r--src/random_artifact.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/random_artifact.hpp b/src/random_artifact.hpp
new file mode 100644
index 00000000..618f1102
--- /dev/null
+++ b/src/random_artifact.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "h-basic.h"
+
+#include <string>
+
+/**
+ * Random artifact descriptor.
+ */
+struct random_artifact
+{
+ std::string name_full; /* Full name for the artifact */
+ std::string name_short; /* Un-Id'd name */
+ byte level; /* Level of the artifact */
+ byte attr; /* Color that is used on the screen */
+ u32b cost; /* Object's value */
+ byte activation; /* Activation. */
+ s16b timeout; /* Timeout. */
+ byte generated; /* Does it exist already? */
+};