Inform - Resources - Examples

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing Advent.inf

8. Many Dead Ends will be needed for the maze below, so define a class: (lines 907-915)

0907  Class   DeadendRoom
0908    with  short_name "Dead End",
0909          description "You have reached a dead end.",
0910          cant_go "You'll have to go back the way you came.";
0911   
0912  DeadendRoom Dead_End_7
0913    with  s_to Crossover,
0914          out_to Crossover;
0915   


Last updated 23 June 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.