Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

FindVisibilityLevels (lines 1558-1569)

1558  [ FindVisibilityLevels visibility_levels;
1559    visibility_levels = 1;
1560    visibility_ceiling = parent(player);
1561    while ((parent(visibility_ceiling) ~= 0)
1562           && (visibility_ceiling hasnt container
1563               || visibility_ceiling has open
1564               || visibility_ceiling has transparent))
1565    {   visibility_ceiling = parent(visibility_ceiling);
1566        visibility_levels++;
1567    }      
1568    return visibility_levels;
1569  ];


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.