Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

AdjustLight (lines 5108-5125)

5108  [ AdjustLight flag i;
5109      i = lightflag;
5110      lightflag = OffersLight(parent(player));
5111   
5112      if (i == 0 && lightflag == 1) {
5113          location = real_location;
5114          if (flag == 0) <Look>;
5115      }
5116   
5117      if (i == 1 && lightflag == 0) {
5118          real_location = location; location = thedark;
5119          if (flag == 0) {
5120              NoteArrival();
5121              return L__M(##Miscellany, 9);
5122          }
5123      }
5124      if (i == 0 && lightflag == 0) location=thedark;
5125  ];


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 assisted by C Knight.