Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Advent.inf

11. A maze of twisty little passages, all alike... (lines 1172-1293)

1172  Class   MazeRoom
1173    with  short_name "Maze",
1174          description "You are in a maze of twisty little passages, all alike.",
1175          out_to "Easier said than done.";
1176   
1177  MazeRoom Alike_Maze_1
1178    with  u_to At_West_End_Of_Hall_Of_Mists,
1179          n_to Alike_Maze_1,
1180          e_to Alike_Maze_2,
1181          s_to Alike_Maze_4,
1182          w_to Alike_Maze_11;
1183   
1184  MazeRoom Alike_Maze_2
1185    with  w_to Alike_Maze_1,
1186          s_to Alike_Maze_3,
1187          e_to Alike_Maze_4;
1188   
1189  MazeRoom Alike_Maze_3
1190    with  e_to Alike_Maze_2,
1191          d_to Dead_End_3,
1192          s_to Alike_Maze_6,
1193          n_to Dead_End_13;
1194   
1195  MazeRoom Alike_Maze_4
1196    with  w_to Alike_Maze_1,
1197          n_to Alike_Maze_2,
1198          e_to Dead_End_1,
1199          s_to Dead_End_2,
1200          u_to Alike_Maze_14,
1201          d_to Alike_Maze_14;
1202   
1203  MazeRoom Alike_Maze_5
1204    with  e_to Alike_Maze_6,
1205          w_to Alike_Maze_7;
1206   
1207  MazeRoom Alike_Maze_6
1208    with  e_to Alike_Maze_3,
1209          w_to Alike_Maze_5,
1210          d_to Alike_Maze_7,
1211          s_to Alike_Maze_8;
1212   
1213  DeadendRoom Dead_End_1
1214    with  w_to Alike_Maze_4,
1215          out_to Alike_Maze_4;
1216   
1217  DeadendRoom Dead_End_2
1218    with  w_to Alike_Maze_4,
1219          out_to Alike_Maze_4;
1220   
1221  DeadendRoom Dead_End_3
1222    with  u_to Alike_Maze_3,
1223          out_to Alike_Maze_3;
1224   
1225  MazeRoom Alike_Maze_7
1226    with  w_to Alike_Maze_5,
1227          u_to Alike_Maze_6,
1228          e_to Alike_Maze_8,
1229          s_to Alike_Maze_9;
1230   
1231  MazeRoom Alike_Maze_8
1232    with  w_to Alike_Maze_6,
1233          e_to Alike_Maze_7,
1234          s_to Alike_Maze_8,
1235          u_to Alike_Maze_9,
1236          n_to Alike_Maze_10,
1237          d_to Dead_End_12;
1238   
1239  MazeRoom Alike_Maze_9
1240    with  w_to Alike_Maze_7,
1241          n_to Alike_Maze_8,
1242          s_to Dead_End_4;
1243   
1244  DeadendRoom Dead_End_4
1245    with  w_to Alike_Maze_9,
1246          out_to Alike_Maze_9;
1247   
1248  MazeRoom Alike_Maze_10
1249    with  w_to Alike_Maze_8,
1250          n_to Alike_Maze_10,
1251          d_to Dead_End_5,
1252          e_to At_Brink_Of_Pit;
1253   
1254  DeadendRoom Dead_End_5
1255    with  u_to Alike_Maze_10,
1256          out_to Alike_Maze_10;
1257   
1258  ! ------------------------------------------------------------------------------
1259   
1260  Room    At_Brink_Of_Pit "At Brink of Pit"
1261    with  name 'brink' 'of' 'pit',
1262          description
1263              "You are on the brink of a thirty foot pit with a massive orange column down one wall.
1264               You could climb down here but you could not get back up.
1265               The maze continues at this level.",
1266          d_to In_Bird_Chamber,
1267          w_to Alike_Maze_10,
1268          s_to Dead_End_6,
1269          n_to Alike_Maze_12,
1270          e_to Alike_Maze_13;
1271   
1272  Scenic  -> "massive orange column"
1273    with  name 'column' 'massive' 'orange' 'big' 'huge',
1274          description "It looks like you could climb down it.",
1275          before [;
1276            Climb:
1277              MovePlayer(d_obj);
1278              rtrue;
1279          ];
1280   
1281  Scenic  -> "pit"
1282    with  name 'pit' 'thirty' 'foot' 'thirty-foot',
1283          description "You'll have to climb down to find out anything more...",
1284          before [;
1285            Climb:
1286              MovePlayer(d_obj);
1287              rtrue;
1288          ];
1289   
1290  DeadendRoom Dead_End_6
1291    with  e_to At_Brink_Of_Pit,
1292          out_to At_Brink_Of_Pit;
1293   


Last updated 23 June 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.