Added move_or_shoot function to Wumpus example.
[vvhitespace] / examples / wump / wump_strings.pvvs
CommitLineData
2da74194
AT
1#ifndef WUMP_STRING
2#define WUMP_STRING
3
4@ Some text strings in this file were imported from:
dc920fb5
AT
5@ $NetBSD: wump.c,v 1.17 2005/02/15 12:56:20 jsm Exp $
6@ Copyright (c) 1989, 1993
7@ The Regents of the University of California. All rights reserved.
2da74194
AT
8@
9@ Everything else is
10@ (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
11@ See LICENSE.txt file for copyright and license details.
dc920fb5
AT
12
13NSSVTTTTTTTTSSSSSSSSN | Mark: 11111111 00000000 (wump_kill)
14A"\n*ROAR* *chomp* *snurfle* *chomp*!\nMuch to the delight of the Wumpus, you walked right into his mouth,\nmaking you one of the easiest dinners he's ever had! For you, however,\nit's a rather unpleasant death. The only good thing is that it's been\nso long since the evil Wumpus cleaned his teeth that you immediately\npassed out from the stench!\n"
15NTN | RTS
16
17NSSVTTTTTTTTSSSSSSSTN | Mark: 11111111 00000001 (kill_wump)
18A"\n*thwock!* *groan* *crash*\nA horrible roar fills the cave, and you realize, with a smile, that you\nhave slain the evil Wumpus and won the game! You don't want to tarry for\nlong, however, because not only is the Wumpus famous, but the stench of\ndead Wumpus is also quite well known, a stench plenty enough to slay the\nmightiest adventurer at a single whiff!!\n"
19NTN | RTS
20
21NSSVTTTTTTTTSSSSSSTSN | Mark: 11111111 00000010 (no_arrows)
22A"\nYou turn and look at your quiver, and realize with a sinking feeling\nthat you've just shot your last arrow (figuratively, too). Sensing this\nwith its psychic powers, the evil Wumpus rampagees through the cave, finds\nyou, and with a mighty *ROAR* eats you alive!\n"
23NTN | RTS
24
25NSSVTTTTTTTTSSSSSSTTN | Mark: 11111111 00000011 (shoot_self)
26A"\n*Thwack!* A sudden piercing feeling informs you that the ricochet\nof your wild arrow has resulted in it wedging in your side, causing\nextreme agony. The evil Wumpus, with its psychic powers, realizes this\nand immediately rushes to your side, not to help, alas, but to EAT YOU!\n(*CHOMP*)\n"
27NTN | RTS
28
29NSSVTTTTTTTTSSSSSTSSN | Mark: 11111111 00000100 (jump)
30A"\nWith a jaunty step you enter the magic tunnel. As you do, you\nnotice that the walls are shimmering and glowing. Suddenly you feel\na very curious, warm sensation and find yourself in room %u!!\n"
31NTN | RTS
32
33NSSVTTTTTTTTSSSSSTSTN | Mark: 11111111 00000101 (pit_kill)
2da74194 34A"\n*AAAUUUUGGGGGHHHHHhhhhhhhhhh...*\nThe whistling sound and updraft as you walked into this room of the\ncave apparently wasn't enough to clue you in to the presence of the\nbottomless pit. You have a lot of time to reflect on this error as\nyou fall many miles to the core of the earth. Look on the bright side;\nyou can at least find out if Jules Verne was right...\n"
dc920fb5
AT
35NTN | RTS
36
37NSSVTTTTTTTTSSSSSTTSN | Mark: 11111111 00000110 (pit_survive)
2da74194
AT
38A"\nWithout conscious thought you grab for the side of the cave and manage\nto grasp onto a rocky outcrop. Beneath your feet stretches the limitless\ndepths of a bottomless pit! Rock crumbles beneath your feet!\n"
39NTN | RTS
40
41NSSVTTTTTTTTSSSSSTTTN | Mark: 11111111 00000111 (please_seed_rng)
42A"\n\n\n\nWelcome to Hunt the Wumpus!\n\nPlease press 16 keys to seed the RNG.\n |\n"
43NTN | RTS
44
f0e3023d
AT
45NSSVTTTTTTTTSSSSTSSSN | Mark: 11111111 00001000 (problem_with_input)
46A"I don't understand!\n"
dc920fb5 47NTN | RTS
2da74194
AT
48
49NSSVTTTTTTTTSSSSTSSTN | Mark: 11111111 00001001 (instructions)
50A"\n\nWelcome to the game of Hunt the Wumpus.\n\nThe Wumpus typically lives in a cave of twenty rooms, with each room having\nthree tunnels connecting it to other rooms in the cavern. Caves may vary,\nhowever, depending on options specified when starting the game.\n\nThe game has the following hazards for intrepid adventurers to wind their\nway through:\n\n Pits -- If you fall into one of the bottomless pits, you find yourself\n slung back out on the far side of the Earth and in very poor\n shape to continue your quest since you're dead.\n\n Bats -- As with any other cave, the Wumpus cave has bats in residence.\n These are a bit more potent, however, and if you stumble into\n one of their rooms they will rush up and carry you elsewhere in\n the cave.\n\n Wumpus -- If you happen to walk into the room the Wumpus is in you'll find\n that he has quite an appetite for young adventurous humans! Not\n recommended.\n\nThe Wumpus, by the way, is not bothered by the hazards since he has sucker\nfeet and is too big for a bat to lift. If you try to shoot him and miss,\nthere's also a chance that he'll up and move himself into another cave,\nthough by nature the Wumpus is a sedentary creature.\n\nEach turn you may either move or shoot a crooked arrow. Moving is done\nsimply by specifying 'm' for move and the number of the room that you'd\nlike to move down a tunnel towards. Shooting is done similarly; indicate\nthat you'd like to shoot one of your magic arrows with an 's' for shoot,\nthen list a set of connected room numbers through which the deadly shaft\nshould fly!\n\nIf your path for the arrow is incorrect, however, it will flail about in\nthe room it can't understand and randomly pick a tunnel to continue\nthrough. You might just end up shooting yourself in the foot if you're\nnot careful! On the other hand, if you shoot the Wumpus you've WON!\n\nLet the hunt begin!\n"
51NTN | RTS
52
53NSSVTTTTTTTTSSSSTSTSN | Mark: 11111111 00001010 (cave_description)
54A"\nYou're in a cave with %u rooms and %u tunnels leading from each room.\nThere are %u bats and %u pits scattered throughout the cave, and your\nquiver holds %u custom super anti-evil Wumpus arrows. Good luck.\n\n"
55NTN | RTS
56
57#endif