summaryrefslogtreecommitdiff
path: root/src/owner_type.hpp
blob: 703d3159562a5a6941ead51d635e350f9451d93d (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
#pragma once

#include "h-basic.h"

/*
 * Store owner descriptor.
 */
struct owner_type
{
	/**
	 * Name
	 */
	const char *name;

	/**
	 * Purse limit
	 */
	s16b max_cost;

	/**
	 * Inflation
	 */
	s16b inflation;

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

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

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