summaryrefslogtreecommitdiff
path: root/docs/reputation_spillover_template.md
blob: aa478b9b22f445930c7a7f44a96afaa5a5f5e7d1 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# reputation\_spillover\_template

[<-Back-to:World](database-world.md)

**The \`reputation\_spillover\_rate\` table**

`field-no-description|0`

**Structure**

| Field          | Type        | Attributes | Key | Null | Default | Extra | Comment |
|----------------|-------------|------------|-----|------|---------|-------|---------|
| [faction][1]   | SMALLINT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [faction1][2]  | SMALLINT | UNSIGNED   |     | NO   | 0       |       |         |
| [rate_1][3]    | FLOAT       | SIGNED     |     | NO   | 0       |       |         |
| [rank1][4]     | TINYINT  | UNSIGNED   |     | NO   | 0       |       |         |
| [faction2][5]  | SMALLINT | UNSIGNED   |     | NO   | 0       |       |         |
| [rate_2][6]    | FLOAT       | SIGNED     |     | NO   | 0       |       |         |
| [rank_2][7]    | TINYINT  | UNSIGNED   |     | NO   | 0       |       |         |
| [faction3][8]  | SMALLINT | UNSIGNED   |     | NO   | 0       |       |         |
| [rate_3][9]    | FLOAT       | SIGNED     |     | NO   | 0       |       |         |
| [rank_3][10]   | TINYINT  | UNSIGNED   |     | NO   | 0       |       |         |
| [faction4][11] | SMALLINT | UNSIGNED   |     | NO   | 0       |       |         |
| [rate_4][12]   | FLOAT       | SIGNED     |     | NO   | 0       |       |         |
| [rank_4][13]   | TINYINT  | UNSIGNED   |     | NO   | 0       |       |         |

[1]: #faction
[2]: #faction1
[3]: #rate_1
[4]: #rank1
[5]: #faction2
[6]: #rate_2
[7]: #rank_2
[8]: #faction3
[9]: #rate_3
[10]: #rank_3
[11]: #faction4
[12]: #rate_4
[13]: #rank_4

**Description of the fields**

### faction

Faction entry (from FactionTemplate) to where the reputation was supposed to be rewarded.

### faction1-4

Faction entry (from FactionTemplate) receiving the reputation spillover.

### rate1-4

Rate the given reputation points are multiplied by.

### rank1-4

Max reputation rank. The player will not be given any spillover above this rank.