Home » Archimedes archive » Acorn User » AU 1998-08.adf » Freeware » PD/IntFiction/DavidRPG2/!DavidRPG2/Docs/Exercise2

PD/IntFiction/DavidRPG2/!DavidRPG2/Docs/Exercise2

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-08.adf » Freeware
Filename: PD/IntFiction/DavidRPG2/!DavidRPG2/Docs/Exercise2
Read OK:
File size: 0196 bytes
Load address: 0000
Exec address: 0000
File contents
| Exercise 2
| David Spence 1998

name = Exercise 2
adventure = tutorial file
author = David Spence 1998
version = 0

room one start {
name: "Test Room 1"
text: "Our first room."
north: goto(two)
}

room two {
name: "Test Room 1"
text: "Our second room."
      "The decription can be on more than"
      "one line!"
south: goto(one)
}

player {
name: "Player"
text: "This is where the title screen goes."
}
00000000  7c 20 45 78 65 72 63 69  73 65 20 32 0a 7c 20 44  || Exercise 2.| D|
00000010  61 76 69 64 20 53 70 65  6e 63 65 20 31 39 39 38  |avid Spence 1998|
00000020  0a 0a 6e 61 6d 65 20 3d  20 45 78 65 72 63 69 73  |..name = Exercis|
00000030  65 20 32 0a 61 64 76 65  6e 74 75 72 65 20 3d 20  |e 2.adventure = |
00000040  74 75 74 6f 72 69 61 6c  20 66 69 6c 65 0a 61 75  |tutorial file.au|
00000050  74 68 6f 72 20 3d 20 44  61 76 69 64 20 53 70 65  |thor = David Spe|
00000060  6e 63 65 20 31 39 39 38  0a 76 65 72 73 69 6f 6e  |nce 1998.version|
00000070  20 3d 20 30 0a 0a 72 6f  6f 6d 20 6f 6e 65 20 73  | = 0..room one s|
00000080  74 61 72 74 20 7b 0a 6e  61 6d 65 3a 20 22 54 65  |tart {.name: "Te|
00000090  73 74 20 52 6f 6f 6d 20  31 22 0a 74 65 78 74 3a  |st Room 1".text:|
000000a0  20 22 4f 75 72 20 66 69  72 73 74 20 72 6f 6f 6d  | "Our first room|
000000b0  2e 22 0a 6e 6f 72 74 68  3a 20 67 6f 74 6f 28 74  |.".north: goto(t|
000000c0  77 6f 29 0a 7d 0a 0a 72  6f 6f 6d 20 74 77 6f 20  |wo).}..room two |
000000d0  7b 0a 6e 61 6d 65 3a 20  22 54 65 73 74 20 52 6f  |{.name: "Test Ro|
000000e0  6f 6d 20 31 22 0a 74 65  78 74 3a 20 22 4f 75 72  |om 1".text: "Our|
000000f0  20 73 65 63 6f 6e 64 20  72 6f 6f 6d 2e 22 0a 20  | second room.". |
00000100  20 20 20 20 20 22 54 68  65 20 64 65 63 72 69 70  |     "The decrip|
00000110  74 69 6f 6e 20 63 61 6e  20 62 65 20 6f 6e 20 6d  |tion can be on m|
00000120  6f 72 65 20 74 68 61 6e  22 0a 20 20 20 20 20 20  |ore than".      |
00000130  22 6f 6e 65 20 6c 69 6e  65 21 22 0a 73 6f 75 74  |"one line!".sout|
00000140  68 3a 20 67 6f 74 6f 28  6f 6e 65 29 0a 7d 0a 0a  |h: goto(one).}..|
00000150  70 6c 61 79 65 72 20 7b  0a 6e 61 6d 65 3a 20 22  |player {.name: "|
00000160  50 6c 61 79 65 72 22 0a  74 65 78 74 3a 20 22 54  |Player".text: "T|
00000170  68 69 73 20 69 73 20 77  68 65 72 65 20 74 68 65  |his is where the|
00000180  20 74 69 74 6c 65 20 73  63 72 65 65 6e 20 67 6f  | title screen go|
00000190  65 73 2e 22 0a 7d                                 |es.".}|
00000196