summaryrefslogtreecommitdiff
path: root/src/random_artifact.hpp
blob: a3fc1c66c417c4bea8ffbdbfbcc25097579cee83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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? */
};