summaryrefslogtreecommitdiff
path: root/src/owner_type.hpp
blob: 4c47dc48dc3c64df3c6631a4b7a46787687af749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once

#include <string>

#include "h-basic.h"

/*
 * Store owner descriptor.
 */
struct owner_type
{
	/**
	 * Name
	 */
	std::string name;

	/**
	 * Purse limit
	 */
	s16b max_cost = 0;

	/**
	 * Inflation
	 */
	s16b inflation = 0;

	/**
	 * Liked/hated races.
	 */
	u32b races[2][2] { };

	/**
	 * Liked/hated classes
	 */
	u32b classes[2][2] { };

	/**
	 * Costs for liked people
	 */
	s16b costs[3] { };
};