AdjustLight (lines 4135-4149)
Back to List
Browsing parserm.h
4135 [ AdjustLight flag i;
4136 i=lightflag;
4137 lightflag=OffersLight(parent(player));
4138
4139 if (i==0 && lightflag==1)
4140 { location=real_location; if (flag==0) <Look>;
4141 }
4142
4143 if (i==1 && lightflag==0)
4144 { real_location=location; location=thedark;
4145 if (flag==0) { NoteArrival();
4146 return L__M(##Miscellany, 9); }
4147 }
4148 if (i==0 && lightflag==0) location=thedark;
4149 ];
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.