/
injured.hjson
164 lines (164 loc) · 3.92 KB
/
injured.hjson
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[
{
id: st-injured
title: txt-st-injured-title
description: txt-st-injured
sprite: res_status_injured.png
flags: +affliction
autoRemove: true
important: true
bonus: {infection: 0.2}
debugCategory: health
}
{
id: st-infected
title: txt-st-infected-title
description: txt-st-infected
sprite: res_status_infected.png
flags: +affliction
autoRemove: true
important: true
tripEvents: [
{slots: 1, reqAge: 5.., delayedEvent: evt-infectedDeath}
{slots: 5, health: -1}
]
debugCategory: health
}
{
id: st-dying
title: txt-st-dying-title
description: txt-st-dying
sprite: res_status_infected.png
important: true
blockHealthRegen: true
dayEvents: {
delayedEvent: [
{
charEvents: {
reqStatus: -curse-abomination
text: txt-st-dying-0
storeCharacter: true
setCharFlags: +dead
}
}
{
charEvents: {
reqStatus: +curse-abomination
text: txt-st-dying-1
removeCharacter: true
addCharacter: pl-abomination
}
}
]
}
debugCategory: health
}
{
id: st-promiseSpouse
title: txt-st-promiseSpouse-title
description: txt-st-promiseSpouse
sprite: res_status_spouse.png
important: true
debugCategory: Quest
}
{
id: evt-infected
select: [
{delayedEvent: evt-infected-companion}
{prio: 1, reqCharFlags: +cultist, delayedEvent: evt-injured-turnAbomination}
{
prio: 1
reqStatus: +curse-abomination
delayedEvent: evt-injured-turnAbomination
}
]
}
{
id: evt-infected-companion
reqTutorial: false
charEvents: {
reqStatus: +injured -infected -blessingRegeneration
reqCharFlags: -special
delayedEvent: {
partyEvents: evt-setImage-nightCamp
text: txt-evt-infected-companion
report: txt-evt-infected-companion-report
setStatus: +infected
}
}
}
{
id: evt-infectedDeath
partyEvents: evt-setImage-nightCamp
select: [
{slots: 6, ref: evt-infectedDeath-companion}
{slots: 4, ref: evt-infectedDeath-amulet}
{slots: 3, ref: evt-infectedDeath-promise}
{slots: 1, ref: evt-infectedDeath-explorer}
]
}
{
id: evt-infectedDeath-companion
charEvents: {
reqStatus: +infected
reqCharFlags: -special
text: txt-evt-infectedDeath-companion
report: txt-evt-infectedDeath-companion-report
storeCharacter: true
setCharFlags: +dead
}
}
{
id: evt-infectedDeath-explorer
charEvents: {
reqStatus: +infected
reqCharFlags: +special
text: txt-evt-infectedDeath-explorer
report: txt-evt-infectedDeath-explorer-report
}
}
{
id: evt-infectedDeath-promise
reqPartyFlags: -promiseSpouse
setPartyFlags: +promiseSpouse
charEvents: {
reqStatus: +infected
reqCharFlags: -native +humanoid -animal -special
reqGender: male
text: txt-evt-infectedDeath-promise
report: txt-evt-infectedDeath-promise-report
storeCharacter: true
setCharFlags: +promise +dead
setPartyStatus: +promiseSpouse
}
}
{
id: evt-injured-turnAbomination
text: txt-evt-injured-turnAbomination
removeCharacter: true
addCharacter: pl-abomination
}
{
id: evt-infectedHeal
partyEvents: evt-setImage-nightCamp
playMusic: thm_nature_night_campfire
charEvents: [
{
reqStatus: +st-infected
reqCharFlags: -special
optional: true
text: txt-evt-infectedHeal
report: txt-evt-infectedHeal-report
setStatus: -st-infected
}
{
reqStatus: +st-infected
reqCharFlags: +special
optional: true
text: txt-evt-infectedHeal-1
report: txt-evt-infectedHeal-report-1
setStatus: -st-infected
}
]
}
]