# $Id: head.sac,v 1.1 2002/12/24 10:23:00 mike Exp $ # # coc.sa - Scott Adams source file for _The Causes of Chaos_ # # This is a (so far partial) re-implementation of my 1985 adventure # _The Causes of Chaos_, originally written in BASIC for the Commodore # 64. I want to build at least a little chunk of it as a Scott Adams # data file, just prove the SA compiler I'm writing. # # The syntax should be more or less left-explanatory, but see # http://www.miketaylor.org.uk/tech/advent/sac/ # for more on the Scott Adams compiler. # ---------------------------------------------------------------------------- # Global configuration %ident 18399 %version 1 %wordlen 3 %maxload 6 %start nlake %treasury - # special room-name means "carried" # %lighttime is irrelevant: there are no dark areas in this game # Standard synonyms %valias enter go %valias go run %valias walk enter %valias take get %valias leave drop # ---------------------------------------------------------------------------- # Infrastructure actions (I don't think any game would ever omit these) %action inventory %result inventory %action take inventory %result inventory %action score %result score %action save game %result save_game %occur !flag 1 %result set_flag 1 msg Welcome to `The Causes of Chaos` msg Written by Mike Taylor in 1984/5, reimplemented 2001/2 msg Version $Id: head.sac,v 1.1 2002/12/24 10:23:00 mike Exp $ msg ... This is VERY embryonic, not really worth playing yet. nl msg Your task is to reunite the six crown jewels of Ix: msg silver chain, goblet, ruby, medallion, crown and sceptre. msg See http://www.miketaylor.org.uk/tech/advent/coc/ for more info. # ---------------------------------------------------------------------------- # Use of flags # flag 1: Set forever once welcome message has been printed. # flag 2: Potion has been drunk. # flag 3: Set on "tie rope" until "to what?" is answered. # # Use of saved locations # location 1: ### not yet # # Use of counters: # counter 1: ### not yet # ---------------------------------------------------------------------------- # Rooms, Items and associated Actions