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