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 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.