# $Id: nos.sac,v 1.2 2006/11/15 09:26:07 mike Exp $ # This is a translation of the original VIC-20 version of Nosferatu # into Scott Adams format. This source file is for "sac", the Scott # Adams compiler -- see: # http://www.miketaylor.org.uk/tech/advent/sac/ # And the result of compiling it is a TRS-80 format game-file that can # be run using interpreters such as ScottFree and GnomeScott. # # This source is mostly reverse-engineered from the BASIC listing of # Nosferatu, which I managed to get out of a digitised tape-image. # That image, and more information about _Nosferatu_, is at: # http://www.miketaylor.org.uk/tech/advent/nos/ %ident 20079 # First two letters of "Nosferatu" in ASCII %version 1 # Version of this implementation (original is zero) %wordlen 3 # Verified from original %maxload 5 # Verified from original %lighttime 100 %start box %treasury box ### Clearly wrong # ---------------------------------------------------------------------------- %room box tall, satin-lined wooden box %exit east empty %room empty *I'm in an empty room %exit north kitchen %exit south crypt %exit east balcony %exit west box %room crypt dark crypt %exit north empty %exit east library %room library *I'm in the library %exit north balcony %exit west crypt %action read library at library %result msg OK, but it'll take a while. pause msg That was boring! It was in Transylvanian! %action read book %result msg Which one? %item atlas transylvanian Atlas %at library %getdrop atl %action read atlas accessible atlas %result msg The book says: msg Near the forest is a disused cess-pit. %item magic book of Magic %at library %getdrop mag %action read magic accessible magic %result msg The book says: msg Magic word is: msg 'OVYEZ' %item games book of Games %at library %getdrop gam %action read games accessible games %result msg The book says: msg Bored with this game already, huh? %room balcony *I'm on a balcony overlooking a tall cliff %exit south library %exit west empty %room ledge *I'm on a narrow ledge high up a cliff %room kitchen *I'm in the kitchen %exit north washroom %exit south empty %room washroom *I'm in the washroom %exit south kitchen %exit east mortuary %room mortuary *I'm in the mortuary %exit north graveyard %exit west washroom %room graveyard desolate windswept graveyard %exit north bus-stop %exit south mortuary %room bus-stop *I'm by a bus-stop %exit south graveyard %room cave dark gloomy cave %room bus *I'm on a double-decker bus %exit south bus-stop %room yard rather dark yard %exit north shed %exit east washroom %exit west pond %room shed dark shed %exit south yard %room pond *I'm by a fishpond .. %exit south swamp %exit east yard %room swamp damp swamp %exit north pond %exit west track %room track *I'm on a track. To my North is a bridge over a pond %exit north bridge %exit east swamp %exit west field %room bridge *I'm on a very flimsy bridge.. %exit north lawn %exit south track %room lawn *I'm on a lawn to the North of a pond %exit south bridge %room hut small hut %exit south lawn %room west-pond *I'm west of a pond %exit south field %exit west cliff %room field sunny field %exit north west-pond %exit south forest %exit east track %exit west north-hole %room forest *I'm in an oak-forest %exit north field %exit south forest %exit east forest %exit west pit %room pit *I'm at the bottom of a disused cesspit %room north-hole *I'm north of a rather smelly hole %exit north cliff %exit south pit %exit east field %room cliff *I'm at the top of a cliff %exit south north-hole %exit east west-pond %room chasm *I'm on a narrow ledge, East of a chasm %exit north edge %room edge *I'm at the edge of a deep chasm %exit south chasm %exit east cliff %room hole *I'm at the bottom of a deep hole %room cavern subterranean cavern %exit south hole %room dormitory cavern where the count sleeps %exit south cavern # ---------------------------------------------------------------------------- %item rope long Rope %at washroom %getdrop rop %item key brass Key %at ledge %getdrop key %item coins golden Coins %at pit %getdrop coi %item lamp old Lamp %nowhere %getdrop lam %item rail balcony Rail %at balcony %item grave newly dug open Grave %at graveyard %item door locked Door %at washroom %item witch wrinkled old Witch %at cave %item tombstone Tombstone, engraved: BEWARE THE WITCH %at graveyard %item bus large red no. 29 Bus %nowhere %item hole-above Hole (above me) %at cave %item conductor bus Conductor %at bus %item kipper scarlet Kipper %at ledge %getdrop kip %item whisky bottle of Whisky %at kitchen %getdrop whi %item water Water of youth %at edge %item axe sharp Axe %at yard %getdrop axe %item thicket inpeneterable Thicket %at cliff %item hanging-rope hanging Rope %at ledge %item spade garden Spade %at hut %getdrop spa %item hut Hut with locked door %at lawn %item trees oak-Trees %at forest %item wall1 brick Wall %at north-hole %item sign-trees Sign says: 'TREES ARE RESERVED FOR COFFINS' %at forest %item ladder tall Ladder %at shed %getdrop lad %item fountain Fountain of youth %at edge %item shark maneating Shark! %at pond %item wall2 brick Wall %at chasm %item match safety Match %at chasm %getdrop mat %item hole-in-thicket Hole in thicket %at edge %item sign-thicket Sign here says: 'EXA NA FO TROHS' %at cliff %item pit Pit in the ground %nowhere %item tunnel secret Tunnel %at hole %item stalactites Stalactites hanging from the ceiling %at cavern %item count the count Nosferatu %at dormitory %item altar stone Altar %at dormitory %item bloodstone *giant BLOODSTONE* %at dormitory %getdrop blo %item stick sharp wooden Stick %at hut %getdrop sti %item mallet 7-pound Mallet %at mortuary %getdrop mal %item crucifix Crusifix engraved on the ground %at field %item sarcophagus stone Sarcophagus %at crypt %item body decomposing Body %nowhere %getdrop bod %item cross wooden Cross %nowhere %getdrop cro # ---------------------------------------------------------------------------- # Game-specific postamble actions %action i= %result msg Not in this implementation! %action read %result msg I can't read a print_noun # ---------------------------------------------------------------------------- %include lib.sac