summaryrefslogtreecommitdiff
path: root/src/store_item.hpp
blob: 62d3f2a90c08546ac17be8acedc014977cb1c1c5 (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"

struct store_item
{
	/**
	 * Legal item kinds; if > 10000, designates (TVAL - 10000) and any SVAL.
	 * Otherwise designates an entry in k_info.txt.
	 */
	s16b kind = 0;

	/**
	 * Percentage chance of generation if the entry is chosen.
	 */
	s16b chance = 0;

};