summaryrefslogblamecommitdiff
path: root/npc/other/eliza.txt
blob: d5c3c076531238995e17da810afb67a57729ba7b (plain) (tree)
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702





























































































































































































































































































































































































































































































































































































































































































































                                                                                    
prontera.gat,152,181,5	script	MouseJstr	763,{

//  hello
Lquote0:
        npctalk "How do you do.  Please state your problem.";
        break;
//  computer
Lquote1:
        set $foo,rand(4);
	if($foo == 0) goto Lquote1a;
	if($foo == 1) goto Lquote1b;
	if($foo == 2) goto Lquote1c;
	if($foo == 3) goto Lquote1d;
Lquote1a:
        npctalk "Do computers worry you?";
        break;
Lquote1b:
        npctalk "What do you think about machines?";
        break;
Lquote1c:
        npctalk "Why do you mention computers?";
        break;
Lquote1d:
        npctalk "What do you think machines have to do with your problem?";
        break;
// name
Lquote2:
        npctalk "I am not interested in names";
        break;
// sorry
Lquote3:
        set $foo,rand(3);
	if($foo == 0) goto Lquote3a;
	if($foo == 1) goto Lquote3b;
	if($foo == 2) goto Lquote3c;

Lquote3a:
        npctalk "Please don't apologize";
        break;

Lquote3b:
        npctalk "Apologies are not necessary";
        break;

Lquote3c:
        npctalk "What feelings do you have when you apologize";
        break;

//    I remember $p2$
Lquote4:
        set $foo,rand(6);
	if($foo == 0) goto Lquote4a;
	if($foo == 1) goto Lquote4b;
	if($foo == 2) goto Lquote4c;
	if($foo == 3) goto Lquote4d;
	if($foo == 4) goto Lquote4e;
	if($foo == 5) goto Lquote4f;

Lquote4a:
        npctalk "Do you often think of "+$p2$+"?";
        break;

Lquote4b:
        npctalk "Does thinking of "+$p2$+" bring anything else to mind?";
        break;

Lquote4c:
        npctalk "What else do you remember?";
        break;

Lquote4d:
        npctalk "Why do you recall "+$p2$+" right now?";
        break;

Lquote4e:
        npctalk "What in the present situation reminds you of "+$p2$+"?";
        break;

Lquote4f:
        npctalk "What is the connection between me and "+$p2$+"?";
        break;

//    do you remember
Lquote5:
        set $foo,rand(4);
	if($foo == 0) goto Lquote5a;
	if($foo == 1) goto Lquote5b;
	if($foo == 2) goto Lquote5c;
	if($foo == 3) goto Lquote5d;
Lquote5a:
        npctalk "Did you think I would forget "+$p2$+" ?";
        break;

Lquote5b:
        npctalk "Why do you think I should recall "+$p2$+" now";
        break;

Lquote5c:
        npctalk "What about "+$p2$+"";
        break;

Lquote5d:
        npctalk "You mentioned "+$p2$+"";
        break;

// if
Lquote6:
        set $foo,rand(4);
	if($foo == 0) goto Lquote6a;
	if($foo == 1) goto Lquote6b;
	if($foo == 2) goto Lquote6c;
	if($foo == 3) goto Lquote6d;
Lquote6a:
        npctalk "Do you really think its likely that "+$p2$+"";
        break;

Lquote6b:
        npctalk "Do you wish that "+$p2$+"?";
        break;

Lquote6c:
        npctalk "What do you think about "+$p2$+"?";
        break;

Lquote6d:
        npctalk "Really-- if "+$p2$+"?";
        break;

//  i dreamt
Lquote7:
        set $foo,rand(3);
	if($foo == 0) goto Lquote7a;
	if($foo == 1) goto Lquote7b;
	if($foo == 2) goto Lquote7c;
Lquote7a:
        npctalk "Really-- "+$p2$+"";
        break;

Lquote7b:
        npctalk "Have you ever fantasized "+$p2$+" while you were awake?";
        break;

Lquote7c:
        npctalk "Have you dreamt "+$p2$+" before?";
        break;

//   dream about

Lquote8:
        npctalk "How do you feel about "+$p2$+" in reality?";
        break;

//  dream
Lquote9:
        set $foo,rand(4);
	if($foo == 0) goto Lquote9a;
	if($foo == 1) goto Lquote9b;
	if($foo == 2) goto Lquote9c;
	if($foo == 3) goto Lquote9d;
Lquote9a:
        npctalk "What does this dream suggest to you?";
        break;

Lquote9b:
        npctalk "Do you dream often?";
        break;

Lquote9c:
        npctalk "What persons appear in your dreams?";
        break;

Lquote9d:
        npctalk "Don't you believe that dream has to do with your problem?";
        break;

//   my mother
Lquote10:
        set $foo,rand(2);
	if($foo == 0) goto Lquote10a;
	if($foo == 1) goto Lquote10b;
Lquote10a:
        npctalk "Who else in your family "+$p2$+"";
        break;

Lquote10b:
        npctalk "Tell me more about your family";
        break;

//   my father
Lquote11:
        set $foo,rand(3);
	if($foo == 0) goto Lquote11a;
	if($foo == 1) goto Lquote11b;
	if($foo == 2) goto Lquote11c;
Lquote11a:
        npctalk "Your father";
        break;

Lquote11b:
        npctalk "Does he influence you strongly?";
        break;

Lquote11c:
        npctalk "What else comes to mind when you think of your father?";
        break;

//   I want
Lquote12:
        set $foo,rand(3);
	if($foo == 0) goto Lquote12a;
	if($foo == 1) goto Lquote12b;
	if($foo == 2) goto Lquote12c;
Lquote12a:
        npctalk "What would it mean if you got "+$p2$+"";
        break;

Lquote12b:
        npctalk "Why do you want "+$p2$+"";
        break;

Lquote12c:
        npctalk "Suppose you got "+$p2$+" soon";
        break;

//    I am glad 
Lquote13:
        set $foo,rand(3);
	if($foo == 0) goto Lquote13a;
	if($foo == 1) goto Lquote13b;
	if($foo == 2) goto Lquote13c;
Lquote13a:
        npctalk "How have I helped you to be "+$p2$+"";
        break;

Lquote13b:
        npctalk "What makes you happy just now";
        break;

Lquote13c:
        npctalk "Can you explain why you are suddenly "+$p2$+"";
        break;

//    I am sad 
Lquote14:
        set $foo,rand(2);
	if($foo == 0) goto Lquote14a;
	if($foo == 1) goto Lquote14b;
Lquote14a:
        npctalk "I am sorry to hear you are depressed";
        break;

Lquote14b:
        npctalk "I'm sure its not pleasant to be sad";
        break;

//   $p2 are like "+$p3$+"
Lquote15:
        npctalk "What resemblance do you see between "+$p2$+" and "+$p3$+"";
        break;

//   "+$p2$+" is like "+$p3$+"
Lquote16:
        set $foo,rand(4);
	if($foo == 0) goto Lquote16a;
	if($foo == 1) goto Lquote16b;
	if($foo == 2) goto Lquote16c;
	if($foo == 3) goto Lquote16d;
Lquote16a:
        npctalk "In what way is it that "+$p2$+" is like "+$p3$+"";
        break;

Lquote16b:
        npctalk "What resemblance do you see?";
        break;

Lquote16c:
        npctalk "Could there really be some connection?";
        break;

Lquote16d:
        npctalk "How?";
        break;
//   alike
Lquote17:
        set $foo,rand(2);
	if($foo == 0) goto Lquote17a;
	if($foo == 1) goto Lquote17b;
Lquote17a:
        npctalk "In what way?";
        break;

Lquote17b:
        npctalk "What similarities are there?";
        break;
//    same 
Lquote18:
        npctalk "What other connections do you see?";
        break;

//   I was "+$p2$+"
Lquote19:
        set $foo,rand(3);
	if($foo == 0) goto Lquote19a;
	if($foo == 1) goto Lquote19b;
	if($foo == 2) goto Lquote19c;
Lquote19a:
        npctalk "Were you really?";
        break;

Lquote19b:
        npctalk "Perhaps I already knew you were "+$p2$+"";
        break;

Lquote19c:
        npctalk "Why do you tell me you were "+$p2$+" now?";
        break;

//    was I
Lquote20:
        set $foo,rand(3);
	if($foo == 0) goto Lquote20a;
	if($foo == 1) goto Lquote20b;
	if($foo == 2) goto Lquote20c;
Lquote20a:
        npctalk "What if you were "+$p2$+" ?";
        break;

Lquote20b:
        npctalk "Do you thin you were "+$p2$+"";
        break;

Lquote20c:
        npctalk "What would it mean if you were "+$p2$+"";
        break;

//    I am
Lquote21:
        set $foo,rand(2);
	if($foo == 0) goto Lquote21a;
	if($foo == 1) goto Lquote21b;
Lquote21a:
        npctalk "In what way are you "+$p2$+"";
        break;

Lquote21b:
        npctalk "Do you want to be "+$p2$+" ?";
        break;

//   am I
Lquote22:
        set $foo,rand(4);
	if($foo == 0) goto Lquote22a;
	if($foo == 1) goto Lquote22b;
	if($foo == 2) goto Lquote22c;
	if($foo == 3) goto Lquote22d;
Lquote22a:
        npctalk "Do you believe you are "+$p2$+"";
        break;

Lquote22b:
        npctalk "Would you want to be "+$p2$+"";
        break;

Lquote22c:
        npctalk "You wish I would tell you you are "+$p2$+"";
        break;

Lquote22d:
        npctalk "What would it mean if you were "+$p2$+"";
        break;

//   am
Lquote23:
        set $foo,rand(2);
	if($foo == 0) goto Lquote23a;
	if($foo == 1) goto Lquote23b;

Lquote23a:
        npctalk "Why do you say AM?";
        break;

Lquote23b:
        npctalk "I don't understand that";
        break;

//    are you
Lquote24:
        set $foo,rand(3);
	if($foo == 0) goto Lquote24a;
	if($foo == 1) goto Lquote24b;
	if($foo == 2) goto Lquote24c;
Lquote24a:
        npctalk "Why are you interested in whether I am "+$p2$+" or not?";
        break;

Lquote24b:
        npctalk "Would you prefer if I weren't "+$p2$+"";
        break;

Lquote24c:
        npctalk "Perhaps I am "+$p2$+" in your fantasies";
        break;

//   you are 
Lquote25:
        npctalk "What makes you think I am "+$p2$+" ?";
        break;

//   because
Lquote26:
        set $foo,rand(3);
	if($foo == 0) goto Lquote26a;
	if($foo == 1) goto Lquote26b;
	if($foo == 2) goto Lquote26c;
Lquote26a:
        npctalk "Is that the real reason?";
        break;

Lquote26b:
        npctalk "What other reasons might there be?";
        break;

Lquote26c:
        npctalk "Does that reason seem to explain anything else?";
        break;

//    were you 
Lquote27:
        set $foo,rand(3);
	if($foo == 0) goto Lquote27a;
	if($foo == 1) goto Lquote27b;
	if($foo == 2) goto Lquote27c;
Lquote27a:
        npctalk "Perhaps I was "+$p2$+"";
        break;

Lquote27b:
        npctalk "What do you think?";
        break;

Lquote27c:
        npctalk "What if I had been "+$p2$+"";
        break;

//   I can't 
Lquote28:
        set $foo,rand(2);
	if($foo == 0) goto Lquote28a;
	if($foo == 1) goto Lquote28b;
Lquote28a:
        npctalk "Maybe you could "+$p2$+" now";
        break; 

Lquote28b:
        npctalk "What if you could "+$p2$+" ?";
        break;

//    I feel 
Lquote29:
        npctalk "Do you often feel "+$p2$+" ?";
        break;

//    I felt
Lquote30:
        npctalk "What other feelings do you have?";
        break;

//   $p1$ I $p2$ you $p3$
Lquote31:
        npctalk "Perhaps in your fantasy we "+$p3$+" each other?";
        break;

//   why don't you 
Lquote32:
        set $foo,rand(3);
	if($foo == 0) goto Lquote32a;
	if($foo == 1) goto Lquote32b;
	if($foo == 2) goto Lquote32c;
Lquote32a:
        npctalk "Should you "+$p2$+" yourself?";
        break;

Lquote32b:
        npctalk "Do you believe I don't "+$p2$+"";
        break;

Lquote32c:
        npctalk "Perhaps I will "+$p2$+" in good time";
        break;

//   yes 
Lquote33:
        set $foo,rand(3);
	if($foo == 0) goto Lquote33a;
	if($foo == 1) goto Lquote33b;
	if($foo == 2) goto Lquote33c;
Lquote33a:
        npctalk "You seem quite positive";
        break;

Lquote33b:
        npctalk "You are sure?";
        break;

Lquote33c:
        npctalk "I understand";
        break;

//    no
Lquote34:
        set $foo,rand(3);
	if($foo == 0) goto Lquote34a;
	if($foo == 1) goto Lquote34b;
	if($foo == 2) goto Lquote34c;
Lquote34a:
        npctalk "Why not?";
        break;

Lquote34b:
        npctalk "You are being a bit negative";
        break;

Lquote34c:
        npctalk "Are you saying NO just to be negative?";
        break;

//    someone
Lquote35:
        npctalk "Can you be more specific?";
        break;

//    everyone 
Lquote36:
        set $foo,rand(4);
	if($foo == 0) goto Lquote36a;
	if($foo == 1) goto Lquote36b;
	if($foo == 2) goto Lquote36c;
	if($foo == 3) goto Lquote36d;
Lquote36a:
        npctalk "surely not everyone";
        break;

Lquote36b:
        npctalk "Can you think of anyone in particular?";
        break;

Lquote36c:
        npctalk "Who for example?";
        break;

Lquote36d:
        npctalk "You are thinking of a special person?";
        break;

//  always 
Lquote37:
        set $foo,rand(4);
	if($foo == 0) goto Lquote37a;
	if($foo == 1) goto Lquote37b;
	if($foo == 2) goto Lquote37c;
	if($foo == 3) goto Lquote37d;
Lquote37a:
        npctalk "Can you think of a specific example?";
        break;

Lquote37b:
        npctalk "When?";
        break;

Lquote37c:
        npctalk "What incident are you thinking of?";
        break;

Lquote37d:
        npctalk "Really-- always?";
        break;

//   what
Lquote38:
        set $foo,rand(5);
	if($foo == 0) goto Lquote38a;
	if($foo == 1) goto Lquote38b;
	if($foo == 2) goto Lquote38c;
	if($foo == 3) goto Lquote38d;
	if($foo == 4) goto Lquote38e;
Lquote38a:
        npctalk "Why do you ask?";
        break;

Lquote38b:
        npctalk "Does that question interest you?";
        break;

Lquote38c:
        npctalk "What is it you really want to know?";
        break;

Lquote38d:
        npctalk "What do you think?";
        break;

Lquote38e:
        npctalk "What comes to your mind when you ask that?";
        break;

//   perhaps 
Lquote39:
        npctalk "You do not seem quite certain";
        break;

//   are
Lquote40:
        set $foo,rand(2);
	if($foo == 0) goto Lquote40a;
	if($foo == 1) goto Lquote40b;
Lquote40a:
        npctalk "Did you think they might not be "+$p2$+"";
        break;

Lquote40b:
        npctalk "Possibly they are "+$p2$;
        break;

//   default
Lquote41:
        set $foo,rand(6);
	if($foo == 0) goto Lquote41a;
	if($foo == 1) goto Lquote41b;
	if($foo == 2) goto Lquote41c;
	if($foo == 3) goto Lquote41d;
	if($foo == 4) goto Lquote41e;
	if($foo == 5) goto Lquote41f;
Lquote41a:
        npctalk "Very interesting";
        break;

Lquote41b:
        npctalk "I am not sure I understand you fully";
        break;

Lquote41c:
        npctalk "What does that suggest to you?";
        break;

Lquote41d:
        npctalk "Please continue";
        break;

Lquote41e:
        npctalk "Go on";
        break;

Lquote41f:
        npctalk "Do you feel strongly about discussing such things?";
        break;
OnInit:
        defpattern 1, "([^:]+):.*\\shello.*", "Lquote0";
        defpattern 1, "([^:]+):.*\\scomputer.*", "Lquote1";
        defpattern 1, "([^:]+):.*\\sname.*", "Lquote2";
        defpattern 1, "([^:]+):.*\\ssorry.*", "Lquote3";
        defpattern 1, "([^:]+):.*\\si\\s+remember\\s+(.*)", "Lquote4";
        defpattern 1, "([^:]+):.*\\sdo\\s+you\\s+remember\\s+(.*)", "Lquote5";
        defpattern 1, "([^:]+):.*\\sif\\s+(.*)", "Lquote6";
        defpattern 1, "([^:]+):.*\\si\\s+dreamt\\s+(.*)", "Lquote7";
        defpattern 1, "([^:]+):.*\\sdream\\s+about\\s+(.*)", "Lquote8";
        defpattern 1, "([^:]+):.*\\sdream\\s+(.*)", "Lquote9";
        defpattern 1, "([^:]+):.*\\smy\\s+mother\\s+(.*)", "Lquote10";
        defpattern 1, "([^:]+):.*\\smy\\s+father\\s+(.*)", "Lquote11";
        defpattern 1, "([^:]+):.*\\si\\s+want\\s+(.*)", "Lquote12";
        defpattern 1, "([^:]+):.*\\si\\s+am\\s+glad\\s+(.*)", "Lquote13";
        defpattern 1, "([^:]+):\\s+(.*)\\s+i\\s+am\\s+sad\\s+(.*)", "Lquote14";
        defpattern 1, "([^:]+):\\s+(.*)\\s+are\\s+like\\s+(.*)", "Lquote15";
        defpattern 1, "([^:]+):\\s+(.*)\\s+is\\s+like\\s+(.*)", "Lquote16";
        defpattern 1, "([^:]+):.*\\salike\\s+(.*)", "Lquote17";
        defpattern 1, "([^:]+):.*\\ssame\\s+(.*)", "Lquote18";
        defpattern 1, "([^:]+):.*\\si\\s+was\\s+(.*)", "Lquote19";
        defpattern 1, "([^:]+):.*\\swas\\s+i\\s+(.*)", "Lquote20";
        defpattern 1, "([^:]+):.*\\si\\s+am\\s+(.*)", "Lquote21";
        defpattern 1, "([^:]+):.*\\sam\\s+i\\s+(.*)", "Lquote22";
        defpattern 1, "([^:]+):.*\\sam\\s+(.*)", "Lquote23";
        defpattern 1, "([^:]+):.*\\sare\\s+you\\s+(.*)", "Lquote24";
        defpattern 1, "([^:]+):.*\\syou\\s+are\\s+(.*)", "Lquote25";
        defpattern 1, "([^:]+):.*\\sbecause\\s+(.*)", "Lquote26";
        defpattern 1, "([^:]+):.*\\swere\\s+you\\s+(.*)", "Lquote27";
        defpattern 1, "([^:]+):.*\\si\\s+(cant|can't|cannot)\\s+(.*)", "Lquote28";
        defpattern 1, "([^:]+):.*\\si\\s+feel\\s+(.*)", "Lquote29";
        defpattern 1, "([^:]+):.*\\si\\s+felt\\s+(.*)", "Lquote30";
        defpattern 1, "([^:]+):.*\\si\\s+(.*)\\s+you\\s+(.*)", "Lquote31";
        defpattern 1, "([^:]+):.*\\swhy\\s+(don't|dont)\\s+you\\s+(.*)", "Lquote32";
        defpattern 1, "([^:]+):.*\\syes\\s+(.*)", "Lquote33";
        defpattern 1, "([^:]+):.*\\sno\\s+(.*)", "Lquote34";
        defpattern 1, "([^:]+):.*\\ssomeone\\s+(.*)", "Lquote35";
        defpattern 1, "([^:]+):.*\\severyone\\s+(.*)", "Lquote36";
        defpattern 1, "([^:]+):.*\\salways\\s+(.*)", "Lquote37";
        defpattern 1, "([^:]+):.*\\swhat\\s+(.*)", "Lquote38";
        defpattern 1, "([^:]+):.*\\sperhaps\\s+(.*)", "Lquote39";
        defpattern 1, "([^:]+):.*\\sare\\s+(.*)", "Lquote40";
        defpattern 1, "([^:]+):(.*)", "Lquote41";

        activatepset 1;
        break;
}