10 DIM AD(8)
90 PRINT "FILLING EAMON.MON"
100 OPEN "O", #1, "EAMON.MON"
110 READ NM
111 PRINT #1, NM
115 FOR J = 1 TO NM
120 READ MNAME$
130 PRINT #1, MNAME$
140 FOR I = 1 TO 12
150 READ A: PRINT #1, A
160 NEXT I
170 NEXT J
180 CLOSE #1
190 REM
195 PRINT "FILLING EAMON.ART"
200 OPEN "O", #1, "EAMON.ART"
210 READ NA
211 PRINT #1, NA
215 FOR J = 1 TO NA
220 READ ANAME$
225 PRINT #1, ANAME$
240 FOR I = 1 TO 4
250 READ AD(I): PRINT #1, AD(I): NEXT I
260 IF AD(2) > 1 THEN FOR I = 5 TO 8: READ AD(I): PRINT #1, AD(I): NEXT I
270 NEXT J
280 CLOSE #1
290 REM
295 PRINT "FILLING ROOM.NAM"
300 OPEN "R", #1, "ROOM.NAM", 32
310 FIELD 1, 32 AS R1$
320 FOR I = 1 TO 26
330 READ A$: LSET R1$ = A$
340 PUT #1, I
350 NEXT I
360 CLOSE #1
390 REM
395 PRINT "FILLING EAMON.DES"
400 OPEN "R", #1, "EAMON.DES", 255
410 FIELD 1, 255 AS R2$
420 FOR I = 1 TO 26
430 READ A$: RSET R2$ = "." + A$
440 PUT #1, I
450 NEXT I
460 CLOSE #1
490 REM
495 PRINT "FILLING EAMON.ROM"
500 OPEN "R", #1, "EAMON.ROM", 64
505 FIELD 1, 64 AS R3$
506 LSET R3$ = "26": PUT #1, 1
510 FOR I = 1 TO 26
515 B$ = ""
520 FOR J = 1 TO 6
530 READ A$
540 B$ = B$ + A$ + ","
550 NEXT J
560 LSET R3$ = LEFT$(B$, LEN(B$) - 1)
570 PUT #1, I + 1
580 NEXT I
590 CLOSE #1
595 REM
599 PRINT "FILLING EAMON.EFF"
600 OPEN "R", #1, "EAMON.EFF", 255
610 FIELD 1, 255 AS R1$
620 FOR I = 1 TO 40
630 READ A$
640 RSET R1$ = "." + A$
650 PUT #1, I
660 NEXT I
670 CLOSE #1
680 REM
700 OPEN "O", #1, "EAMON.NAM"
710 PRINT #1, "THE BEGINNERS CAVE"
720 PRINT #1, "CAVE"
730 CLOSE #1
740 REM
750 END
999 DATA 10
1000 DATA BLACK RAT,2,10,0,10,3,5,0,0,0,30,1,1
1010 DATA BROWN RAT,2,10,0,10,3,5,0,0,0,30,1,1
1020 DATA TAN RAT,2,10,0,10,3,5,0,0,0,30,1,1
1030 DATA HERMIT,13,22,50,75,5,75,0,0,3,55,1,6
1040 DATA GORILLA,12,15,0,60,8,200,0,0,0,45,1,4
1050 DATA HEINRICH,15,5,65,100,6,100,0,1,5,12,1,8
1060 DATA MIMIC,5,5,0,100,0,300,0,0,0,40,1,3
1070 DATA PRIEST,10,6,0,100,18,75,0,1,8,25,1,4
1080 DATA CYNTHIA,3,20,95,5,18,50,0,0,-1,0,0,0
1090 DATA PIRATE,5,20,0,10,26,300,0,0,11,60,1,10
1999 DATA 24
2000 DATA SIGN,0,0,999,1
2005 DATA DIAMONDS,200,1,3,3
2010 DATA AXE,25,2,4,0,0,1,1,6
2020 DATA BOTTLE,50,1,2,5
2030 DATA SWORD,25,2,4,0,-10,5,1,8
2040 DATA GOLD COINS,50,0,2,8
2050 DATA RING,150,1,5,0
2060 DATA MACE,40,2,4,0,10,3,1,4
2070 DATA SPICES,100,1,3,18
2080 DATA BOOK,250,1,1,19
2085 DATA TROLLSFIRE,100,3,3,0,25,5,1,10
2090 DATA JEWELS,1000,1,5,26
2100 DATA CHEST,0,1,300,14
2110 DATA EMPTY BOTTLE,1,1,1,0
2120 DATA DEAD BLACK RAT,0,0,5,0
2130 DATA DEAD BROWN RAT,0,0,5,0
2140 DATA DEAD TAN RAT,0,0,5,0
2150 DATA DEAD HERMIT,0,0,75,0
2160 DATA DEAD GORILLA,0,0,200,0
2170 DATA DEAD HEINRICH,0,0,100,0
2180 DATA DEAD MIMIC,0,0,300,0
2190 DATA DEAD PRIEST,0,0,75,0
2200 DATA DEAD CYNTHIA,0,0,50,0
2210 DATA DEAD PIRATE,0,0,300,0
3000 DATA the cave entrance.
3010 DATA a dark north/south tunnel.
3020 DATA the west side chamber.
3030 DATA a large chamber.
3040 DATA the east side chamber.
3050 DATA a west cell.
3060 DATA the north end of a long passage.
3070 DATA an east cell.
3080 DATA a west cell.
3090 DATA the middle of a long passage.
3100 DATA an east cell.
3110 DATA a west cell.
3120 DATA the south end of a long passage.
3130 DATA an east cell.
3140 DATA a broken/north passage.
3150 DATA an E/W tunnel with faint music.
3160 DATA an E/W tunnel with loud music.
3170 DATA the temple.
3180 DATA the library.
3190 DATA a T-intersection; E/W by north.
3200 DATA an E/W tunnel.
3210 DATA the top of a stairway.
3220 DATA the bottom of a stairway.
3230 DATA an E/W tunnel.
3240 DATA an E/W tunnel smelling of salt.
3250 DATA the Pirate's cove.
4000 DATA "You are at the entrance of a cave. To the South, over the tunnel entrance, are  the words 'BEGINNERS ONLY'.  To the North is a road back to town."
4010 DATA "You are in a dark North/South tunnel.  To the North you see bright light        streaming in form the outside.  To the South you see flickering torchlight,     but you cannot make out any details."
4020 DATA "You are in a small side chamber to the West of the large chamber.  It is very   cold here, and the only light comes in dimly from the large chamber."
4030 DATA "You are in a huge chamber, the roof rises out of sight.  Burning torches line   the walls, making it easy to see.  Tunnels lead North and South, and there are  small side chambers both to the East and West."
4040 DATA "You are in a small side chamber to the East of the large chamber.  It is very   cold here, and the only light comes in dimly from the large chamber."
4050 DATA "You are in a small, stark cell with a door on the East side of the room."
4060 DATA "You are at the North end of a long hall.  A tunnel goes North.  To the East and West are doors that are bolted shut (Locking something in?).  In the dim light  you can see that the hall goes South, but you cannot make out any deatails."
4070 DATA "You are in a small, stark cell with a door on the West side of the room."
4080 DATA "You are in a small, stark cell with a door on the East side."
4090 DATA "You're in the middle of the Long Hall.  Doors are bolted on both sides of you   (East and West).  The hall extends North and South."
4100 DATA "You are in a small, stark cell with a door on the West side."
4110 DATA "You are in a small, stark cell with a door on the East side."
4120 DATA "You are at the South end of the Long Hall.  To your great shock are two doors   on the East and West.  The hall goes North from here, and a broken tunnel goes  South."
4130 DATA "You are in a small stark cell with a door on the West side."
4140 DATA "You are in a tunnel going North and South.  The sides of the tunnel are very    broken and rough.  You see torchlight to the South."
4150 DATA "You are in a secret East/West passage.  You hear a faint melody coming from the East."
4160 DATA "You are in an East/West passage.  You can very clearly hear religious music     being played,  and can smell incense from the East."
4170 DATA "You are in the temple.  Pictures of great deeds cover the walls.  There are two altars here, one covered with gold paint and the other stained with blood.      The only exit leads to the West."
4180 DATA "You are in what was once obviously a library.  Most of the books have been      destroyed, with the scraps lying on the ground.  A door, torn from its hinges,  also lies on the ground.  The exit is to the East."
4190 DATA "You are in a t-intersection.  A brightly burning torch is bolted to the south   wall.  Dark tunnels lead North and East.  To the West is a place where once a   door stood,  but it has been torn from its hinges."
4200 DATA "You are in a dark East/West tunnel.  You can see torchlight in both directions."
4210 DATA "You are at the top of a flight of stairs.  A torch is on the wall.  It looks    very dark down there.  A tunnel heads West."
4220 DATA "You are at the bottom of a flight of stairs.  A light can be seen up at the top,and a very dim light can be seen down the tunnel to the East."
4230 DATA "You are in an East/West tunnel.  Dim light can be seen in both directions."
4240 DATA "You are in an East/West tunnel.  You see light to the East,  and feel a cool    wind coming from there.  In the wind you smell a hint of salt."
4250 DATA "You are in a small bay.  High walls surround you so that the only exit is back  in the tunnel to the West.  To the East, on the bank of the sea, is a broken oldboat."
5000 DATA 0,2,0,0,0,0
5010 DATA 1,4,0,0,0,0
5020 DATA 0,0,4,0,0,0
5030 DATA 2,7,5,3,0,0
5040 DATA 0,0,0,4,0,0
5050 DATA 0,0,7,0,0,0
5060 DATA 4,10,8,6,0,0
5070 DATA 0,0,0,7,0,0
5080 DATA 0,0,10,0,0,0
5090 DATA 7,13,11,9,0,0
5100 DATA 0,0,0,10,0,0
5110 DATA 0,0,13,0,0,0
5120 DATA 10,15,14,12,0,0
5130 DATA 0,0,0,13,0,0
5140 DATA 13,20,16,0,0,0
5150 DATA 0,0,17,15,0,0
5160 DATA 0,0,18,16,0,0
5170 DATA 0,0,0,17,0,0
5180 DATA 0,0,20,0,0,0
5190 DATA 15,0,21,19,0,0
5200 DATA 0,0,22,20,0,0
5210 DATA 0,0,0,21,0,23
5220 DATA 0,0,24,0,22,0
5230 DATA 0,0,25,23,0,0
5240 DATA 0,0,26,24,0,0
5250 DATA 0,0,0,25,0,0
6000 DATA "There is a sign to your left facing you."
6005 DATA "There is a pile of diamonds here!"
6010 DATA "There is a standard Marcos axe here."
6020 DATA "There is a bottle with a strange potion inside!"
6030 DATA "There is a poor quality Marcos sword here."
6040 DATA "There are 50 gold pieces here!"
6050 DATA "There is an unmarked gold ring here."
6060 DATA "There is a high quality Marcos mace here."
6070 DATA "There are several rare spices here."
6080 DATA "There is an old book here.  It glows in the darkness and is remarkably well     preserved."
6090 DATA "There is a beautiful sword here with intricate carving on the handle. Written   on the blade is the name, 'TROLLSFIRE'."
6100 DATA "There is a large pile of jewels here!"
6110 DATA "There is a large chest in the center of the room."
6115 DATA "There is an empty bottle here."
6120 DATA "There is a dead black rat here."
6130 DATA "There is a dead brown rat here."
6140 DATA "There is a dead tan rat here."
6150 DATA "The Hermit's body lies dead here."
6160 DATA "The shaggy corpse of a gorilla is here."
6170 DATA "The dead body of Heinrich lies here."
6180 DATA "The dead body of the chest-mimic is sprawled on the ground."
6190 DATA "The priest lies dead here, still with a look of maniacal hatred on his face."
6200 DATA "The dead body of the girl Cynthia lies here."
6205 DATA "The pirates dead body lies here."
6210 DATA "As you approach the chest, it suddenly becomes alive and two tentacles come out of the side, holding you fast.  Another tentacle rises from the top and attempts to hurt you."
6220 DATA "As the pirate mutters a word that you can't make out, bright green flame        surrounds the blade of his sword."
6230 DATA "As the pirate chokes and dies, the flame on his sword dies also."
6240 DATA "As you say the name (TROLLSFIRE), bright green flame appears around the sword's blade."
6250 DATA "Since you were wearing the sword when it flamed on,  you take some burn damage  until the sword (Hearing your cries of pain?) extinguishes its flame."
6260 DATA "As you say the sword's name, the bright green flame disappears from the sword."
6270 DATA "There is a huge black rat with sharp teeth here!"
6280 DATA "There is a huge brown rat with sharp teeth here!"
6290 DATA "There is a huge tan rat with sharp teeth here!"
6300 DATA "There is a grizzled old hermit (Who smells as if he hasn't taken a bath in      forty years) in the room."
6310 DATA "There is a huge, hairy, strong and angry gorilla in the room with you!"
6320 DATA "A human warrior stand before you, armed with a long sword and carrying a        sheild.  On his shield is a sticker which says, 'Hi! I'm Heinrich!'"
6330 DATA "A chest-shaped monster is in the room, holding you with two tentacles and       attempting to disassemble you with a third."
6340 DATA "There is a huge man in religous garb and an insane look on his face.  In his    right hand he carries a mace."
6350 DATA "You see a beautiful girl in a flowing white dress.  You recognize her as        Cynthia, Duke Luxom's not-to-bright daughter."
6360 DATA "You see a man with a beard and a brass ring in his ear.  He is wearing clothes  made of silk and is weilding a very fancily engraved sword."

