Chapter - Smoking
Smoking is an action applying to one thing.
Understand "smoke [something]" as smoking. Understand "light up [something]" as smoking. Understand "have [pack of cigarettes]" as smoking.
Understand "smoke" as smoking. Rule for supplying a missing noun while smoking: if pack of cigarettes is visible, now the noun is the pack of cigarettes; otherwise say "You slip your hand into your pocket and remember you don't have your smokes on you."
Instead of burning the pack of cigarettes: try smoking the pack of cigarettes.
Original cigarette count is a number variable. Original cigarette count is 6. The pack of cigarettes has a number called count. The count of pack of cigarettes is 6.
Check smoking when count of pack of cigarettes is 0: instead say "You're out of cigarettes."
Carry out smoking: decrease count of pack of cigarettes by 1.
Check smoking when noun is not pack of cigarettes: instead say "Sounds like something your high school buddies would try."
Check smoking when lighter is not held: instead say "You pat your pockets, but can't seem to find your lighter."
Before smoking when lighter is not held and lighter is visible: say "(first taking the lighter)"; try silently taking lighter. Before smoking when pack of cigarettes is not held and pack of cigarettes is visible: say "(first taking the cigarettes)"; try silently taking pack of cigarettes.
First report smoking: say "You pull out a cigarette and flick it into life. Thoughts tumble through your head."
Report smoking: say "Well, you're still stuck here. [run paragraph on]".
Report smoking: say "[if location is lit brightly]You've finally lit the place up a little[otherwise if location is lit by headlights]It's dark outside the beam of your headlights[otherwise if location is lit by flashlight]It's pitch black outside the beam of your flashlight[otherwise]It's darker than you can remember it ever being[end if]. [run paragraph on]".
Report smoking: if the player holds a talent, say "Some weird shit went down in the desert, but you do feel like you have more [list of talents held by player]. [run paragraph on]".
Report smoking: if there is an in progress plan, say "You've found [the list of handled things which are required by a plan], but [if the number of in progress plans is 2]you can't see how they're going to be helpful together[otherwise]you still need something else if you plan on [a random in progress plan][end if]. [run paragraph on]".
let hint be best course of action;
if best course of action is not "", say "Maybe [hint]. [run paragraph on]".
Last report smoking: say "[paragraph break]And you still haven't quit smoking. [if count of pack of cigarettes is 0]That was your last cigarette, too[otherwise]You've got [count of pack of cigarettes in words] cig[s] left[end if]."
To decide which text is best course of action:
if player is in truck:
decide on "you could start by getting out of this truck";
otherwise if Crumbling Concrete is unvisited:
decide on "you could start by looking around the area, seeing if maybe there's a phone or something";
otherwise if pane of cracked glass is closed:
decide on "you could break open a window to get inside that building";
otherwise if flashlight is not handled:
decide on "you could try exploring the building by feel, even though it's so dark";
otherwise if Storage Room is unvisited:
decide on "you should poke around the building more, see what else there is to find";
otherwise if emergency lights are switched off:
decide on "you should switch on those emergency lights in the storage room so you can get a better look at things";
otherwise if voice has not been visible:
decide on "you maybe should see if you can call for help with that emergency radio in the break room";
otherwise if Open Desert is unvisited:
decide on "you should see if the open desert has anything to offer";
otherwise if Burrow is unvisited:
decide on "you should try to catch up with that weird shadow";
otherwise if strength is held and emergency blanket is not handled:
decide on "you're strong enough now to bust open that mesh cage with the blanket inside";
otherwise if courage is held and duct tape is not handled:
decide on "you're brave enough to reach for that duct tape in the hole in the floor now";
otherwise if duct tape is not handled:
decide on "you should investigate that hole in the floor of the staging area";
otherwise if there is an in progress plan and Temptation has not happened:
decide on "you ought to head back to the desert and see if you can find that rabbit dude again";
otherwise if luck is held and canned oranges are not handled:
decide on "you're lucky enough now to find something to eat in the Storage room";
otherwise if scent is held and Control Center is unvisited:
decide on "you should try to get up that ladder above the roof";
otherwise if scent is held and gas can is not handled:
decide on "you should try to sniff out that gas now";
decide on "".
[Exercise 8.2][Instead of smoking for at least two turns: say "Hey, go easy on those." Report smoking at least three times: say "You're smoking like a chimney. [run paragraph on]".]
[Exercise 8.3][Craving is a scene. Craving begins when the count of pack of cigarettes is less than 4. Every turn when a random chance of 1 in 30 succeeds during Craving: if a dramatic scene is not happening, say "Damn, you could really go for a cigarette right now."]
After printing the name of the pack of cigarettes while taking inventory: say " you should have given up months ago".