!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! LUNCH TRUCK (An IF experiment) ! ! ! ! lunchtruck.inf ! ! ! ! Prepared by Kevin and Ana ! ! This version written 12 Sept 2007 ! ! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Constant Story "Lunch Truck"; Constant Headline "^By Kevin and Ana^"; Constant DEBUG; Constant DIALECT_US; Release 0; Constant TASKS_PROVIDED; Constant NUMBER_TASKS = 1; Constant MAX_SCORE = 1; Array task_scores -> 1 1; Include "Parser"; [ PrintTaskName achievement; switch(achievement) { 0: "Move your boss."; } ]; ! -------------------------------------------------------------------------- Object LunchTruck "Lunch Truck" has light with description "Even though it's 104 degrees outside, you are locked in a Mexican food truck surrounded by greasy hot pans that make it even hotter inside. The smell of cilantro and onion and garlic and chipotle is intoxicating. It's time for your break and you are dying to go outside. ^^In front of you is a small window facing a broiling parking lot. ^^There is a small door to the east.", e_to [; if (Player has general) { deadflag = 2; "Free! You whip off your apron in delight!"; } else { "^^Your boss, lovely as he is, stands in your way. With him at the fry-o-lator, you've no chance of leaving this little oven on wheels!"; } ]; Object -> TruckWindow "truck window" has scenery, with name "window" "outside", with description "^Through the small truck window, you can see nearly 300 hungry scientists lined up for Cocina Mamacita's famous taco plates."; Object -> MainCharacter "main character" has animate concealed transparent proper, with description "^You are wearing an apron emblazoned with the crossed spatulas of the Cocina Mamacita logo. Grease stains on the apron reads like the rings of a tree. You are wearing tight jeans with a sequined heart printed on the butt.", number 0; Object -> Boss "boss" has animate, with name "boss" "chef" "man" "dude" "guy", description "^Your boss is turned away from you. His pants ride low. His shirt rides high. He is very ticklish. He is a man of many extremes. He is facing a frying machine and howling a bawdy drinking song into the rice and beans. 'Vaaaaaaamooooonos emboooooorrachaaaandonos hasta que caramba ya hasta que amanezca el diiiiiiia!!!!'", before [; Tickle: Achieved(0); give Player general; "Your boss squirms away to the other side of the truck."; ]; ! -------------------------------------------------------------------------- [ Initialise x; print "^America, why are your libraries full of beers?^^"; @read_char 1 0 0 x; lookmode=2; ChangePlayer(MainCharacter); ]; Include "VerbLib"; Include "Grammar"; Verb meta 'about' * -> About; [ AboutSub; print "This work of interactive fiction was ... [built with Nick's starter file! You can add the details of the class where you created this, an author's note, etc. here] ...^"; ]; Verb 'tickle' * noun -> Tickle * 'the' noun -> Tickle; [ TickleSub; print "Heee heee heee!!!"; ];