! Part I. Preliminaries (lines 11-45)
Back to List
Browsing English.h
011 ! Part I. Preliminaries
012 ! ---------------------------------------------------------------------------
013 Constant EnglishNaturalLanguage; ! Needed to keep old pronouns mechanism
014
015 Class CompassDirection
016 with article "the", number 0
017 has scenery;
018 Object Compass "compass" has concealed;
019 IFNDEF WITHOUT_DIRECTIONS;
020 CompassDirection -> n_obj "north wall"
021 with name 'n//' 'north' 'wall', door_dir n_to;
022 CompassDirection -> s_obj "south wall"
023 with name 's//' 'south' 'wall', door_dir s_to;
024 CompassDirection -> e_obj "east wall"
025 with name 'e//' 'east' 'wall', door_dir e_to;
026 CompassDirection -> w_obj "west wall"
027 with name 'w//' 'west' 'wall', door_dir w_to;
028 CompassDirection -> ne_obj "northeast wall"
029 with name 'ne' 'northeast' 'wall', door_dir ne_to;
030 CompassDirection -> nw_obj "northwest wall"
031 with name 'nw' 'northwest' 'wall', door_dir nw_to;
032 CompassDirection -> se_obj "southeast wall"
033 with name 'se' 'southeast' 'wall', door_dir se_to;
034 CompassDirection -> sw_obj "southwest wall"
035 with name 'sw' 'southwest' 'wall', door_dir sw_to;
036 CompassDirection -> u_obj "ceiling"
037 with name 'u//' 'up' 'ceiling', door_dir u_to;
038 CompassDirection -> d_obj "floor"
039 with name 'd//' 'down' 'floor', door_dir d_to;
040 ENDIF;
041 CompassDirection -> out_obj "outside"
042 with door_dir out_to;
043 CompassDirection -> in_obj "inside"
044 with door_dir in_to;
045 ! ---------------------------------------------------------------------------
Last updated 27 February 2004.
This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation.
Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.