Inform - Support - Source

Back to List

Inventory
Complete

Plain
Coloured
Gaudy

Browsing linklpa.h

This is the complete source code of the example game linklpa.inf.

001  ! ----------------------------------------------------------------------------
002  !  LINKLPA:  Link declarations of common properties and attributes.
003  !
004  !  Supplied for use with Inform 6                         Serial number 991113
005  !                                                                 Release 6/10
006  !  (c) Graham Nelson 1993, 1994, 1995, 1996, 1997, 1998, 1999
007  !      but freely usable (see manuals)
008  ! ----------------------------------------------------------------------------
009   
010  System_file;
011   
012  Attribute animate;
013  Ifdef USE_MODULES;
014     Iffalse (animate==0);
015     Message error "Please move your Attribute declarations after the
016                    Include ~Parser~ line: otherwise it will be impossible
017                    to USE_MODULES";
018     Endif;
019  Endif;
020  Attribute absent;
021  Attribute clothing;
022  Attribute concealed;
023  Attribute container;
024  Attribute door;
025  Attribute edible;
026  Attribute enterable;
027  Attribute general;
028  Attribute light;
029  Attribute lockable;
030  Attribute locked;
031  Attribute moved;
032  Attribute on;
033  Attribute open;
034  Attribute openable;
035  Attribute proper;
036  Attribute scenery;
037  Attribute scored;
038  Attribute static;
039  Attribute supporter;
040  Attribute switchable;
041  Attribute talkable;
042  Attribute transparent;
043  Attribute visited;
044  Attribute workflag;
045  Attribute worn;
046   
047  Attribute male;
048  Attribute female;
049  Attribute neuter;
050  Attribute pluralname;
051   
052  Property additive before $ffff;
053  Ifdef USE_MODULES;
054     Iffalse before==4;
055     Message error "Please move your Property declarations after the
056                    Include ~Parser~ line: otherwise it will be impossible
057                    to USE_MODULES";
058     Endif;
059  Endif;
060  Property additive after  $ffff;
061  Property additive life   $ffff;
062   
063  Property n_to;  Property s_to;
064  Property e_to;  Property w_to;
065  Property ne_to; Property se_to;
066  Property nw_to; Property sw_to;
067  Property u_to;  Property d_to;
068  Property in_to; Property out_to;
069   
070  Property door_to;
071  Property with_key;
072  Property door_dir;
073  Property invent;
074  Property plural;
075  Property add_to_scope;
076  Property list_together;
077  Property react_before;
078  Property react_after;
079  Property grammar;
080  Property additive orders;
081   
082  Property initial;
083  Property when_open;
084  Property when_closed;
085  Property when_on;
086  Property when_off;
087  Property description;
088  Property additive describe $ffff;
089  Property article "a";
090   
091  Property cant_go;
092   
093  Property found_in;         !  For fiddly reasons this can't alias
094   
095  Property time_left;
096  Property number;
097  Property additive time_out $ffff;
098  Property daemon;
099  Property additive each_turn $ffff;
100   
101  Property capacity 100;
102   
103  Property short_name 0;
104  Property short_name_indef 0;
105  Property parse_name 0;
106   
107  Property articles;
108  Property inside_description;


Last updated 27 February 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.