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