-
Notifications
You must be signed in to change notification settings - Fork 0
/
modifier.go
66 lines (64 loc) · 1.81 KB
/
modifier.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
package aifiver
// Modifier is a personality modifier which can be applied to a personality.
// TODO:
// - Add persistance to indicate how long this would last.
// - Should this maybe amplify pre-existing traits instead of simply modifying them?
// - Should we derive the factor modifiers from the facet modifiers?
type Modifier struct {
Name string // Name of the modifier
Factors [5]int // Modifiers for the five factors
Facets [30]int // Modifiers for the 30 facets
}
var (
ModRecentBetrayal = &Modifier{
Name: "recent betrayal",
Factors: [5]int{
0, // Openness
0, // Conscientiousness
0, // Extraversion
-1, // Agreeableness
1, // Neuroticism
},
Facets: [30]int{
0, 0, 0, 0, 0, // Openness
0, 0, 0, 0, 0, // Conscientiousness
0, 0, 0, 0, -1, // Extraversion (Positive Emotions)
-5, -1, 0, 0, 0, // Agreeableness (Trust, Straightforwardness)
3, 1, 1, 1, 0, // Neuroticism (Anxiety, Angry Hostility, Depression, Self-Consciousness)
},
}
ModGriefing = &Modifier{
Name: "griefing",
Factors: [5]int{
0, // Openness
0, // Conscientiousness
-1, // Extraversion
0, // Agreeableness
1, // Neuroticism
},
Facets: [30]int{
0, 0, 0, 0, 0, // Openness
0, 0, 0, 0, 0, // Conscientiousness
0, 0, 0, 0, -2, // Extraversion (Positive Emotions)
0, 0, 0, 0, 0, // Agreeableness
0, 1, 2, 0, 0, // Neuroticism (Anger, Depression)
},
}
ModSetback = &Modifier{
Name: "setback",
Factors: [5]int{
0, // Openness
1, // Conscientiousness
0, // Extraversion
0, // Agreeableness
1, // Neuroticism
},
Facets: [30]int{
0, 0, 0, 0, 0, // Openness
0, 0, 0, 0, 2, // Conscientiousness (Cautiousness)
0, 0, 0, 0, 0, // Extraversion
0, 0, 0, 0, 0, // Agreeableness
0, 2, 1, 2, 0, // Neuroticism (Anger, Depression, Self-Consciousness)
},
}
)