summaryrefslogtreecommitdiff
path: root/src/store_action_type.hpp
blob: cd400871f34e629080981ebf77f0da6742e15a9b (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.hpp"

#include <array>
#include <string>

/**
 * Store/building actions.
 */
struct store_action_type
{
	std::string name;               /* Name */

	std::array<s16b, 3> costs { };  /* Costs for liked people */
	char letter = '\0';             /* Action letter */
	char letter_aux = '\0';         /* Action letter */
	s16b action = 0;                /* Action code */
	s16b action_restr = 0;          /* Action restriction */
};