# $Id: lib.sac,v 1.1 2006/11/14 22:35:13 mike Exp $ # The standard library for "sac", the Scott Adams compiler. # This should be included at the _end_ of source-files, using: # %include lib.sac # Standard synonyms %valias enter go %valias go run %valias walk enter %valias take get %valias leave drop %valias cut chop %valias batter ram %valias follow go # ---------------------------------------------------------------------------- # Infrastructure actions %action inventory %result inventory %action take inventory %result inventory %action score %result score %action save game %result save_game # ---------------------------------------------------------------------------- # Postamble actions (must fire after body actions) %action help %result msg Nothing happens. %action examine %result msg I see nothing special. %action wait %result msg Time passes.