forked from videogamepreservation/softporn
-
Notifications
You must be signed in to change notification settings - Fork 3
/
SOFTP4.INC
723 lines (591 loc) · 18.9 KB
/
SOFTP4.INC
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
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
{ Softporn Adventure, include file 4 }
go :
{========}
begin
if tied_to_bed then
write_message('But I''m tied to the bed!!!!!')
else if not no_direction then
begin
if (your_place=b_bedrm) and (direction=north) and
(not hooker_fucked) then
write_message
('The Hooker says: ''Don''t go there ... do me first!!''')
else if (your_place=c_hallwy) and (direction=south) and
(not married_to_girl) then
write_message('The door is locked shut!')
else if (your_place=d_entrnc) and (direction=west) and
(not door_W_open) then
write_message('The door is closed!')
else if (your_place=b_backrm) and (direction=up) and
(TV_channel<>6) then
begin
if (money<20) or (not is_carried(_wallet)) then
write_message('The Pimp says I can''t until I get $2000')
else if hooker_fucked then
write_message
('The Pimp says ''No -- the hooker can''t take it anymore!''')
else
begin
write_message('The Pimp takes $2000 and says OK');
money := money - 20;
your_place := b_bedrm;
end
end
else if (your_place=b_balcny) and (direction=west) and
(not rope_in_use) then
falling_down
else
begin
new_place := path[your_place,direction];
if new_place <> nowhere then
begin
your_place := new_place;
end
else
I_cant_go_that_way;
end;
end
else
I_cant_do_that
end; {go}
hail :
{========}
begin
if noun<>_taxi then
write_message('Who are you kidding? You''re pulling at straws, fool!!')
else if not (your_place in [ b_street, c_street, d_street ]) then
write_message('I''m not in the street, fool!!')
else
begin
write_long_message( 36 );
readln( taxi_destination );
while (length(taxi_destination)>0) and (taxi_destination[1]=' ') do
delete( taxi_destination, 1, 1 );
for i:=1 to length(taxi_destination) do
taxi_destination[i] := upcase(taxi_destination[i]);
taxi_destination := copy( taxi_destination+' ', 1, 4 );
if taxi_destination = 'DISC' then
new_place := d_street
else if taxi_destination = 'CASI' then
new_place := c_street
else if taxi_destination = 'BAR ' then
new_place := b_street
else
new_place := nowhere;
if new_place in [your_place,nowhere] then
write_message('Huh? - Hail another!')
else if is_carried(_wine) then
begin
wine_in_taxi;
your_place := new_place;
object_place[_wine] := nowhere;
objects_carried := objects_carried - 1;
end
else
begin
write_message('We arrive and I get out.');
your_place := new_place;
end;
end;
end; {hail}
take : { get, grab }
{========}
begin
if noun=_inventory then
begin
anything_carried := false;
for _noun:=first_object to last_object do
if is_carried(_noun) then
begin
if not anything_carried then
write_message('I''m carrying the following:');
anything_carried := true;
write(object_name[_noun]);
if (_noun=_wallet) and (money>0) then
writeln(' with $',money,'00')
else
writeln;
end;
if not anything_carried then
write_message('I''m not carrying anything!!');
end
else if noun=_off then
write_message('You''re not a bird, fool!!')
else if noun=_all then
begin
write_message('You hog!!!');
delay(300);
writeln;
for _noun:=first_object to last_object do
if is_here(_noun) then
begin
write(object_name[_noun],': ');
if objects_carried >= max_carried then
writeln('I''m carrying too much!!!')
else if _noun in takeable_objects then
begin
if (your_place=d_phrmcy) and
(_noun in [_magazine,_rubber]) then
begin
writeln('The man says ''Shoplifter!!'' and shoots me');
purgatory;
end
else
begin
object_place[_noun] := youhavit;
objects_carried := objects_carried + 1;
if _noun=_water then pitcher_full := true;
if (_noun=_pitcher) and pitcher_full then
object_place[_water] := youhavit;
writeln('Taken');
end
end
else
cant_do_that;
end;
end
else if is_carried(noun) then
I_already_have_it
else if not is_here(noun) then
find_me_one
else if objects_carried >= max_carried then
write_message('I''m carrying too much!!!')
else if not (noun in takeable_objects) then
I_cant_do_that
else if (your_place=d_phrmcy) and ( noun in [_magazine,_rubber] ) then
begin
write_message('The man says ''Shoplifter!!'' and shoots me');
purgatory;
end
else if (noun=_water) and (not is_carried(_pitcher)) then
write_message('Get me the pitcher so I don''t spill it!')
else if (noun=_candy) and (your_place=b_bedrm) and (not hooker_fucked) then
write_message
('The Hooker says: ''Don''t take it ... do me first!!''')
else if (noun=_rope) and rope_in_use then
write_message('It is tied to the balcony')
else
begin
OK;
object_place[noun] := youhavit;
objects_carried := objects_carried + 1;
if noun=_water then pitcher_full := true;
if (noun=_pitcher) and pitcher_full then
object_place[_water] := youhavit;
end
end; {take}
drop : { leave, plant (seeds), give }
{========}
begin
if noun in [_inventory,_taxi,_on,_off] then
huh
else if noun=_all then
begin
anything_carried := false;
writeln;
for _noun:=first_object to last_object do
if is_carried(_noun) then
begin
anything_carried := true;
writeln(object_name[_noun],': Dropped');
object_place[_noun] := your_place;
objects_carried := objects_carried - 1;
end;
if not anything_carried then
writeln('I did''t carry anything!!');
end
else if not is_carried(noun) then
I_dont_have_it
else
begin
object_place[noun] := your_place;
objects_carried := objects_carried - 1;
if (noun=_pitcher) and pitcher_full then
object_place[_water] := your_place
else if noun=_rubber then
rubber_worn := false
else if (your_place=d_disco) and (is_here(_girl)) and
(noun in [_candy,_flowers,_ring]) then
begin
case noun of
_candy:
begin
write_message('She smiles and eats a couple!!');
candy_given := true;
end;
_flowers:
begin
write_message
('She blushes profusely and puts them in her hair!');
flowers_given := true;
object_place[_flowers] := nowhere;
end;
_ring:
begin
write_message('She blushes and puts it in her purse.');
ring_given := true;
object_place[_ring] := nowhere;
end;
end; { case noun of }
if candy_given and flowers_given and ring_given then
begin
write_message
('She says: ''See you at the Marriage Center!!''');
object_place[_girl] := c_marryc;
end;
end
else if is_here(_bum) and (noun=_wine) then
begin
if object_place[_knife]=nowhere then
begin
bum_tells_story;
object_place[_knife] := your_place;
end
else
write_message('The bum mutters ' +
'''That stuff made me puke!! Get out of here!!!''');
end
else if is_here(_businessman) and (noun=_whiskey) and
(object_place[_control_unit]=nowhere) then
begin
write_message('The guy gives me a TV controller!!');
object_place[_control_unit] := your_place;
end
else if is_here(_blonde) and (noun=_pills) then
begin
write_long_message( 57 );
object_place[_blonde] := nowhere;
object_place[_pills] := nowhere;
end
else if (noun=_apple) and (your_place=p_jacuzi) and is_here(_girl) then
begin
write_long_message( 50 );
apple_given := true;
end
else
OK;
end;
end; {drop}
look : { search, examine, read, watch }
{========}
begin
if no_object then
write_long_message( integer(your_place)+1 )
else if noun=_all then
write_message('That''s too much, one item at a time, please!!')
else if noun in [_inventory,_on,_off] then
huh
else if (not is_here(noun)) and
(not is_carried(noun)) then
find_me_one
else
case noun of
_desk:
begin
if drawer_open then
I_see_something(_newspaper,'')
else
write_message('It''s drawer is shut');
end;
_washbasin:
I_see_something(_ring,'Dead cockroaches...');
_graffiti:
look_graffiti;
_mirror:
write_message('There''s a pervert looking back at me!!');
_toilet:
write_message('Hasn''t been flushed in ages! Stinks!!!');
_businessman:
write_message('He looks like a whiskey drinker to me!!');
_button:
write_message('Says Push.');
_bartender:
write_message('He''s waiting for me to buy something!');
_pimp:
begin
write_message('He''s wearing a button proclaiming -- ' +
'Support your local Pimp, gimme $2000!!!');
end;
_hooker:
write_long_message( 31 );
_billboard:
write_long_message( 63 );
_TV:
begin
if not is_carried(_control_unit) then
write_message('To watch TV, I need the remote control unit!!')
else if not hooker_fucked then
write_message('The Pimp says I can''t watch TV')
else
watch_TV( TV_channel );
end;
_slot_machines:
write_message('Playing them might be more fun....');
_ashtray:
I_see_something(_passcard,'');
_blonde:
write_long_message( 40 );
_bum:
write_message
('He grumbles -- I''ll tell you a story for a bottle of wine.....');
_peephole:
if hole_peeped then
write_message ('All windows at the hotel across the road ' +
'have their curtains shut.')
else
begin
write_long_message( 55 );
hole_peeped := true;
end;
_door_west:
begin
if door_W_open then
write_message('The door is open')
else
begin
write_message('The sign on the door says ');
writeln('''Entry by showing passcard - ' +
'Club members and their guests only!''');
end
end;
_waitress:
write_message('She ignores you!');
_telephone:
begin
if your_place=d_telbth then
write_message('A number is there - Call 555-6969 for a good time!')
else
I_see_nothing_special
end;
_closet:
begin
if closet_open then
I_see_something(_doll,'It''s open')
else
write_message('It''s closed')
end;
_sink:
write_message
('The sign over the sink says ''Water on or off to operate''');
_elevator:
write_message('It''s doors are closed');
_dealer:
write_message('He''s waiting for me to play');
_cabinet:
begin
if stool_climbed then
begin
if cabinet_open then
I_see_something(_pitcher,'It''s open')
else
write_message('It''s closed');
end
else
I_see_nothing_special
end;
_bushes:
write_message('Entering them would be kinky!!!!');
_tree:
I_see_something(_apple,'');
_sign:
write_message('It says ''Hail taxi here''');
_girl:
begin
if your_place=p_jacuzi then
write_long_message( 35 )
else if (your_place=d_disco) or (your_place=c_marryc) then
write_long_message( 34 )
else
write_message('She slaps me and yells ''Pervert!!!!!''')
end;
_newspaper:
begin
if is_carried(_newspaper) then
write_long_message( 32 )
else
I_dont_have_it
end;
_garbage:
I_see_something(_apple_core,'');
_flowers:
write_message('They look beautiful!!!');
_apple_core:
I_see_something(_seeds,'');
_pills:
begin
write_message('The label on the bottle says');
writeln('''Want to drive someone crazy with lust?? Try this!!!!''');
end;
_plant:
begin
if object_place[_bushes]=nowhere then
begin
write_message('There''s a group of bushes behind it!!');
object_place[_bushes] := your_place;
end
else
I_see_nothing_special
end;
_radio:
write_message('Maybe I should listen...');
_magazine:
begin
if is_carried(_magazine) then
write_long_message( 33 )
else
I_dont_have_it
end;
_rubber:
begin
if is_carried(_rubber) then
write_message('It''s ' + rubber_color + ', ' + rubber_flavor +
'-flavored, ' + rubber_lubricated + ', and ' + rubber_ribbed )
else
I_dont_have_it
end;
_wallet:
begin
if money>0 then
begin
writeln;
writeln('It contains $',money,'00.');
end
else
write_message('It''s empty');
end;
_doll:
begin
if doll_inflated then
write_message('It''s inflated')
else
write_message('It''s rolled up in a little ball');
end;
_pitcher:
begin
if pitcher_full then
write_message('It''s full of water')
else
write_message('It''s empty');
end;
_rack:
I_see_something(_magazine,'');
_curtain:
write_message('It''s on the east wall');
else
I_see_nothing_special;
end; {case noun of}
end; {look}
flush :
{========}
begin
if not is_here(noun) then
find_me_one
else if noun=_toilet then
begin
write_long_message( 69 );
delay(300);
write_message('I''m dead from the germs!!');
purgatory;
end
else
I_cant_do_that
end; {flush}
open : { pull }
{========}
begin
if not is_here(noun) then
find_me_one
else case noun of
_window:
write_message('Won''t budge');
_desk:
_open(drawer_open);
_door_west:
begin
if door_W_open then
write_message('It''s already open!!')
else
begin
write_message
('A voice asks ''Passcard?'' I search in my pockets and...');
if is_carried(_passcard) then
begin
writeln('I have it! The door opens!');
door_W_open := true;
path[d_entrnc,west] := d_disco;
end
else
writeln('I don''t have it!!');
end;
end;
_curtain:
write_message('It seems to be remotely controlled');
_elevator:
write_message('Push the button to open elevator');
_closet:
_open(closet_open);
_cabinet:
if stool_climbed then
_open(cabinet_open)
else
write_message('I can''t reach it!!');
else
I_cant_do_that
end;
end; {open}
inflate :
{========}
begin
if noun=_doll then
begin
if is_carried(_doll) then
begin
if doll_inflated then
write_message('You''ve already inflated it, stupid!!')
else
begin
OK;
doll_inflated := true;
end;
end
else if is_here(_doll) then
write_message('I can''t unless I''m holding it close')
else
find_me_one;
end
else
write_message('But the prime rate is already 257%!!');
end; {inflate}
play :
{========}
begin
if not is_here(noun) then
find_me_one
else if noun=_slot_machines then
begin
if is_here(_slot_machines) then
begin
if (money>0) and (is_carried(_wallet)) then
play_slot( money )
else
sorry_no_money
end
else
write_message('OK, show me your slot....');
end
else if noun=_cards then
begin
if your_place=c_21room then
begin
if (money>0) and (is_carried(_wallet)) then
play_21( money )
else
sorry_no_money
end
else
not_yet_but_maybe_later;
end
else
write_message('Playful bugger, eh??');
end; {play}