/
types.go
118 lines (114 loc) · 2.26 KB
/
types.go
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
package genreligion
// Religions are logically organized like this:
//
// Group (Folk, Organized, ...)
// -> Form (Polytheism, Dualism, ...)
// -> Type (Church, Cult, ...)
//
// The type is more of a descriptive name for the religion, e.g. "Church" or "Cult".
const (
// Religion groups.
GroupFolk = "Folk"
GroupOrganized = "Organized"
GroupCult = "Cult"
GroupHeresy = "Heresy"
// Religion forms.
FormShamanism = "Shamanism"
FormAnimism = "Animism"
FormAncestorWorship = "Ancestor worship"
FormPolytheism = "Polytheism"
FormDualism = "Dualism"
FormMonotheism = "Monotheism"
FormNontheism = "Non-theism"
FormCult = "Cult"
FormDarkCult = "Dark Cult"
FormHeresy = "Heresy"
// FormNature = "Nature"
)
// Forms maps a religion group to religion forms with a weighed probability.
var Forms = map[string]map[string]int{
GroupFolk: {
FormShamanism: 2,
FormAnimism: 2,
FormAncestorWorship: 1,
FormPolytheism: 2,
},
GroupOrganized: {
FormPolytheism: 5,
FormDualism: 1,
FormMonotheism: 4,
FormNontheism: 1,
},
FormCult: {
FormCult: 1,
FormDarkCult: 1,
},
FormHeresy: {
FormHeresy: 1,
},
}
// Types maps a religion form to religion types with a weighed probability.
var Types = map[string]map[string]int{
FormShamanism: {
"Beliefs": 3,
"Shamanism": 2,
"Spirits": 1,
},
FormAnimism: {
"Spirits": 1,
"Beliefs": 1,
},
FormAncestorWorship: {
"Beliefs": 1,
"Forefathers": 2,
"Ancestors": 2,
},
FormPolytheism: {
"Deities": 3,
"Faith": 1,
"Gods": 1,
"Pantheon": 1,
},
FormDualism: {
"Religion": 3,
"Faith": 1,
"Cult": 1,
},
FormMonotheism: {
"Religion": 1,
"Church": 1,
},
FormNontheism: {
"Beliefs": 3,
"Spirits": 1,
},
FormCult: {
"Cult": 4,
"Sect": 4,
"Arcanum": 1,
"Coterie": 1,
"Order": 1,
"Worship": 1,
},
FormDarkCult: {
"Cult": 2,
"Sect": 2,
"Blasphemy": 1,
"Circle": 1,
"Coven": 1,
"Idols": 1,
"Occultism": 1,
},
FormHeresy: {
"Heresy": 3,
"Sect": 2,
"Apostates": 1,
"Brotherhood": 1,
"Circle": 1,
"Dissent": 1,
"Dissenters": 1,
"Iconoclasm": 1,
"Schism": 1,
"Society": 1,
},
}