-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstrings.cpp
246 lines (241 loc) · 11.2 KB
/
strings.cpp
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
#include "precomp.h"
#include "strings.h"
#define D "%D%"
#define W "%W%"
const tofmsgs cyclops_melee =
{
{ "The Cyclops misses, but the backwash almost knocks you over.",
"The Cyclops rushes you, but runs into the wall.",
"The Cyclops trips over his feet trying to get at you.",
"The Cyclops unleashes a roundhouse punch, but you have time to dodge."
},
{
"The Cyclops knocks you unconscious.",
"The Cyclops sends you crashing to the floor, unconscious."
},
{
"The Cyclops raises his arms and crushes your skull.",
"The Cyclops has just essentially ripped you to shreds.",
"The Cyclops decks you. In fact, you are dead.",
"The Cyclops breaks your neck with a massive smash.",
},
{
"A quick punch, but it was only a glancing blow.",
"The Cyclops grabs but you twist free, leaving part of your cloak.",
"A glancing blow from the Cyclops' fist.",
"The Cyclops chops at you with the side of his hand, and it connects.\nbut not solidly."
},
{
"The Cyclops gets a good grip and breaks your arm.",
"The monster smashes his huge fist into your chest, breaking several\nribs.",
"The Cyclops almost knocks the wind out of you with a quick punch.",
"A flying drop kick breaks your jaw.",
"The Cyclops breaks your leg with a staggering blow."
},
{
"The Cyclops knocks you silly, and you reel back.",
"The Cyclops lands a punch that knocks the wind out of you.",
"Heedless of your weapons, the Cyclops tosses you against the rock\nwall of the room.",
"The Cyclops grabs you, and almost strangles you before you wiggle\nfree, breathless."
},
{
"The Cyclops grabs you by the arm, and you drop your " W ".",
"The Cyclops kicks your " W " out of your hand.",
"The Cyclops grabs your " W ", tastes it, and throws it to the\nground in disgust.",
"The monster grabs you on the wrist, squeezes, and you drop your\n" W " in pain."
},
{
"The Cyclops is so excited by his success that he neglects to kill\nyou.",
"The Cyclops, momentarily overcome by remorse, holds back.",
"The Cyclops seems unable to decide whether to broil or stew his\ndinner."
},
{
"The Cyclops, no sportsman, dispatches his unconscious victim."
}
};
const tofmsgs knife_melee =
{
{
"Your stab misses the " D " by an inch.",
"A good slash, but it misses the " D " by a mile.",
"You charge, but the " D " jumps nimbly aside.",
"A quick stroke, but the " D " is on guard.",
"A good stroke, but it's too slow, the " D " dodges."
},
{
"The haft of your knife knocks out the " D ".",
"The " D " drops to the floor, unconscious.",
"The " D " is knocked out!",
},
{
"The end for the " D " as your knife severs his jugular.",
"The fatal thrust strikes the " D " square in the heart: He dies.",
"The " D " takes a final blow and slumps to the floor dead."
},
{
"The " D " is slashed on the arm, blood begins to trickle down.",
"Your knife point pinks the " D " on the wrist, but it's not serious.",
"Your stroke lands, but it was only the flat of the blade.",
"The blow lands, making a shallow gash in the " D "'s arm!"
},
{
"The " D " receives a deep gash in his side.",
"A savage cut on the leg stuns the " D ", but he can still fight!",
"Slash! Your stroke connects! The " D " could be in serious trouble!"
},
{
"The " D " drops to his knees, staggered.",
"The " D " is confused and can't fight back.",
"The quickness of your thrust knocks the " D " back, stunned."
},
{
"The " D " is disarmed by a subtle feint past his guard."
}
};
const tofmsgs sword_melee =
{
{
"Your swing misses the " D " by an inch.",
"A mighty blow, but it misses the " D " by a mile.",
"You charge, but the " D " jumps nimbly aside.",
"Clang! Crash! The " D " parries.",
"A good stroke, but it's too slow, the " D " dodges."
},
{
"Your sword crashes down, knocking the " D " into dreamland.",
"The " D " is battered into unconsciousness.",
"A furious exchange, and the " D " is knocked out!"
},
{
"It's curtains for the " D " as your sword removes his head.",
"The fatal blow strikes the " D " square in the heart: He dies.",
"The " D " takes a final blow and slumps to the floor dead."
},
{
"The " D " is struck on the arm, blood begins to trickle down.",
"Your sword pinks the " D " on the wrist, but it's not serious.",
"Your stroke lands, but it was only the flat of the blade.",
"The blow lands, making a shallow gash in the " D "'s arm!"
},
{
"The " D " receives a deep gash in his side.",
"A savage blow on the thigh! The " D " is stunned but can still fight!",
"Slash! Your blow lands! That one hit an artery, it could be serious!"
},
{
"The " D " is staggered, and drops to his knees.",
"The " D " is momentarily disoriented and can't fight back.",
"The force of your blow knocks the " D " back, stunned."
},
{
"The " D "'s weapon is knocked to the floor, leaving him unarmed."
}
};
const tofmsgs thief_melee =
{
{
"The thief stabs nonchalantly with his stiletto and misses.",
"You dodge as the thief comes in low.",
"You parry a lightning thrust, and the thief salutes you with\n"
"a grim nod.",
"The thief tries to sneak past your guard, but you twist away."
},
{
"Shifting in the midst of a thrust, the thief knocks you unconscious\n"
"with the haft of his stiletto.",
"The thief knocks you out.",
},
{
"Finishing you off, a lightning throw right to the heart.",
"The stiletto severs your jugular. It looks like the end.",
"The thief comes in from the side, feints, and inserts the blade\n"
"into your ribs.",
"The thief bows formally, raises his stiletto, and with a wry grin,\n"
"ends the battle and your life."
},
{
"A quick thrust pinks your left arm, and blood starts to\ntrickle down.",
"The thief draws blood, raking his stiletto across your arm.",
"The stiletto flashes faster than you can follow, and blood wells\nfrom your leg.",
"The thief slowly approaches, strikes like a snake, and leaves\nyou wounded."
},
{
"The thief strikes like a snake! The resulting wound is serious.",
"The thief stabs a deep cut in your upper arm.",
"The stiletto touches your forehead, and the blood obscures your\nvision.",
"The thief strikes at your wrist, and suddenly your grip is slippery\nwith blood."
},
{
"The butt of his stiletto cracks you on the skull, and you stagger\nback.",
"You are forced back, and trip over your own feet, falling heavily\nto the floor.",
"The thief rams the haft of his blade into your stomach, leaving\nyou out of breath.",
"The thief attacks, and you fall back desperately."
},
{
"A long, theatrical slash. You catch it on your " W ", but the\nthief twists his knife, and the " W " goes flying.",
"The thief neatly flips your " W " out of your hands, and it drops\nto the floor.",
"You parry a low thrust, and your " W " slips out of your hand.",
"Avoiding the thief's stiletto, you stumble to the floor, dropping\nyour " W "."
},
{
"The thief, a man of good breeding, refrains from attacking a helpless\nopponent.",
"The thief amuses himself by searching your pockets.",
"The thief entertains himself by rifling your pack.",
},
{
"The thief, noticing you begin to stir, reluctantly finishes you off.",
"The thief, forgetting his essentially genteel upbringing, cuts your\nthroat.",
"The thief, who is essentially a pragmatist, dispatches you as a\nthreat to his livelihood."
}
};
const tofmsgs troll_melee =
{
{
"The troll swings his axe, but it misses.",
"The troll's axe barely misses your ear.",
"The axe sweeps past as you jump aside.",
"The axe crashes against the rock, throwing sparks!"
},
{
"The flat of the troll's axe hits you delicately on the head, knocking\nyou out."
},
{
"The troll lands a killing blow. You are dead.",
"The troll neatly removes your head.",
"The troll's axe stroke cleaves you from the nave to the chops.",
"The troll's axe removes your head."
},
{
"The axe gets you right in the side. Ouch!",
"The flat of the troll's axe skins across your forearm.",
"The troll's swing almost knocks you over as you barely parry\nin time.",
"The troll swings his axe, and it nicks your arm as you dodge."
},
{
"The troll charges, and his axe slashes you on your " W " arm.",
"An axe stroke makes a deep wound in your leg.",
"The troll's axe swings down, gashing your shoulder.",
"The troll sees a hole in your defense, and a lightning stroke\nopens a wound in your left side."
},
{
"The troll hits you with a glancing blow, and you are momentarily\nstunned.",
"The troll swings; the blade turns on your armor but crashes\nbroadside into your head.",
"You stagger back under a hail of axe strokes.",
"The troll's mighty blow drops you to your knees."
},
{
"The axe hits your " W " and knocks it spinning.",
"The troll swings, you parry, but the force of his blow disarms you.",
"The axe knocks your " W " out of your hand. It falls to the floor.",
"Your " W " is knocked out of your hands, but you parried the blow."
},
{
"The troll strikes at your unconscious form, but misses in his rage.",
"The troll hesitates, fingering his axe.",
"The troll scratches his head ruminatively: Might you be magically\nprotected, he wonders? ",
"The troll seems afraid to approach your crumpled form."
},
{
"Conquering his fears, the troll puts you to death."
}
};