diff options
author | Manoj Srivastava <srivasta@debian.org> | 2016-01-27 14:58:59 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2016-01-27 14:58:59 -0800 |
commit | 17afaf664eeca4f972356e65a619bb42d5bd4283 (patch) | |
tree | c1d93d415b96238aae3c54eb83cb0815af2e4bca /src/random_artifact.hpp |
Import tome_2.4~0.git.2015.12.29.orig.tar.gz
[dgit import orig tome_2.4~0.git.2015.12.29.orig.tar.gz]
Diffstat (limited to 'src/random_artifact.hpp')
-rw-r--r-- | src/random_artifact.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/random_artifact.hpp b/src/random_artifact.hpp new file mode 100644 index 00000000..a3fc1c66 --- /dev/null +++ b/src/random_artifact.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "h-basic.h" + +/** + * Random artifact descriptor. + */ +struct random_artifact +{ + char name_full[80]; /* Full name for the artifact */ + char name_short[80]; /* 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? */ +}; |