' "The Legacy of Shadows" ' Created with QDK 3.53 - UNREGISTERED VERSION define game asl-version <350> gametype singleplayer start game author game version <1.0> game copyright <©2005> game info beforeturn { if got and ( %iceblock_timer% = 0 ) then { msg move conceal set numeric } if flag and ( %spider_timer% = 0 ) then { if here then msg flag off } } afterturn { if got then dec if here then msg if flag then dec if here then { msg dec } if here then { msg dec } if here and not flag then { msg dec } if here then { msg dec } if flag then { msg dec } if here then { if flag then { msg dec } else { msg playerlose } } if here then { msg dec flag on } if here then msg dec if here then { msg dec } } command { if ( #colour# = red ) and got then { msg hide dec flag on } if ( #colour# = blue ) and got then { msg dec hide flag on } if ( #colour# = green ) and got then { msg flag on hide dec } if ( #colour# = black ) and got then { msg dec flag on hide } if ( #colour# = yellow ) and got then { msg flag on hide dec } if ( #colour# = cyan ) and got then { msg flag off flag on hide } if ( #colour# = magenta ) and got then { msg flag on hide dec } if got and ( #colour# = orange ) then { msg playerlose flag on } if got and ( #colour# = white ) then { msg hide flag on dec } if got and ( #colour# = grey ) then { msg flag on hide dec } if not flag then msg flag off } command { if got then { msg move hide show give flag on } if got then { if here then { msg show } else msg hide show give flag on } if got then { flag on msg hide show give show give } if got then { msg hide show give show move flag on } if not flag then msg flag off } command if got or got then { if got then { msg show hide give } if got then { msg show hide give dec } } else msg command helpdisplaytext command if here <#whattoattack#> then { if got <#whattoattackwith#> then do else msg } else msg command if flag then { msg if flag then msg if flag then msg <, Reveal|xn> if flag then msg <, flare|xn> } else msg command do command if ( #@whattoeat# = sweetcake ) or ( #@whattoeat# = onion soup ) or ( #@whattoeat# = elixer ) or ( #@whattoeat# = bread ration ) or ( #whattoeat# = bread ) then { hide <#@whattoeat#> if ( #@whattoeat# = sweetcake ) then { msg if ( %hp% > 75 ) then set numeric else inc } if ( #@whattoeat# = onion soup ) then { msg if ( %hp% > 90 ) then set numeric else inc hide } if ( #@whattoeat# = elixer ) then { msg set numeric } if ( #@whattoeat# = bread ration ) then { msg if ( %hp% <= 60 ) then inc else set numeric } if ( #@whattoeat# = bread ) then { msg dec } } else { if got <#@whattoeat#> then msg else msg } command if here <#whattoread#> or got <#whattoread#> then { if ( #@whattoread# = diary ) and got then msg if here and ( #@whattoread# = signpost ) then { flag on msg } if here and ( #@whattoread# = signpost ) then { flag on msg } if ( #@whattoread# = magic scroll ) and got then { flag on if flag and here then { if flag then msg else { msg goto hide move move } } else msg } if ( #@whattoread# = signpost ) and here then { flag on msg } if here and ( #@whattoread# = signpost ) then { msg flag on } if ( #@whattoread# = spellbook of Flare ) and got then { if flag then msg else { msg flag on flag on } } if ( #@whattoread# = scrawlings ) and here then { msg flag on } if ( #@whattoread# = dispel_book ) and here then { if flag then msg else { msg flag on } flag on } if not flag then msg flag off } else msg command { if ( #@whattowear# = lab cloak ) and got then { msg set string flag on } if not flag then msg flag off } command { if ( #whattoclimb# = beach_cliff_bottom ) and here then { msg flag on } if ( #whattoclimb# = inkhle_trees ) and here then { flag on msg goto } if ( #whattoclimb# = cliff_top ) and here then { msg set } if ( #whattoclimb# = cliff_bottom ) and here then { msg flag on } if ( #whattoclimb# = teller_tree ) and here then { flag on msg } if not flag then msg flag off } command { if ( #@whattoopen# = cupboard ) and here then { flag on if not flag then { msg flag on } else msg } if ( #@whattoopen# = chest ) and here then { flag on if flag then msg else { msg flag on } } if not flag then msg flag off } command { if ( #@whattoclose# = cupboard ) and here then { flag on if flag then { msg flag off } else msg } if ( #whattoclose# = chest ) and got then { flag on if flag then { msg flag off } else msg } if not flag then msg flag off } command do command do command do command do command if here then { msg dec } else msg command if here then { msg dec } else msg command if not exists and here and flag then { msg show } else msg command { show give flag on goto flag on flag on show give show give show give flag on flag on give } command if here then { msg flag on } command do command do error error error error error define variable type numeric value <100> display onchange if ( %hp% <= 0 ) then { msg playerlose } end define define variable type numeric value <0> display nozero end define define variable type numeric value <0> display nozero onchange { if ( %lessons_passed% = 3 ) then { msg show give set numeric } } end define define variable type numeric value <0> display nozero end define end define define synonyms end define define room alias script msg <"So you have awoken? That is good," a voice says. > description define object alias look take msg speak { msg <"Who's there?" You call boldly.|n"He is returning. You can feel it can't you? You may not consciously realise it but it is coming out in your dreams," a strangely familiar voice calls. You reach out wildly with your arms but can reach nothing.|n"What do you mean? Who is coming?" you call.|n"The master of shadows, the leader of darkness. He was struck down once but now he is gathering power quickly," the voice calls sadly.|n"Why are you telling me this?" you ask quietly, moved by the tone of the voice.|n"You have been chosen to be the next Light-bringer. Only you can stop the dark lord from rising once again into power," the voice says. You are startled at this, and reply after a moment.|n"Why me? I have no position of power, no mighty strength, no..." you begin, but are interupted by the voice.|n"The reason will become clear someday. Now tell me young man, will you stand against the forces of darkness?"> choose } examine prefix displaytype article gender end define end define define room alias look define object alias look take msg speak examine if flag then msg else { msg flag on inc } prefix displaytype article gender end define define object alias look take msg speak examine if flag then { if flag then msg else { msg show show give give flag on } } else msg prefix displaytype article gender end define define object alias look take speak examine prefix displaytype detail article gender hidden end define define object alias look take speak examine if flag then msg else { msg inc flag on } prefix displaytype detail article gender hidden end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine { msg reveal } prefix displaytype article gender end define define object alias look take gain set numeric speak examine prefix displaytype article gender invisible drop { msg move conceal } lose end define north end define define room alias prefix look define object alias alt look take msg speak examine prefix suffix displaytype detail article gender end define define object alias alt look take msg speak examine prefix displaytype article gender end define define object alias alt look if flag then msg else msg take msg speak if flag then msg <"Hello! Thanks for the nest earlier, it will make a great present for my Mum!" the little girl says happily to you.> else msg <"Please sir," the little girl says nervously, "Can you fetch me that nest up in the tree? I can't manage to reach it..."> examine prefix displaytype article gender give { msg hide inc flag on } end define north if not got then msg else {if flag then do else msg } south east west end define define room alias prefix look define object alias alt look take if flag then { if here then { msg give } else { msg give } } else { if here then { msg dec } else { msg give } } speak examine prefix displaytype article gender end define define object alias look if flag then msg else msg take { msg dec } speak examine if flag then msg else msg prefix displaytype article gender give { msg hide flag on } end define down end define define room alias prefix look define object alias look take msg speak choose examine prefix displaytype article gender give if flag then { msg hide hide hide give inc } else { hide msg flag on } give if flag then { if flag then { msg hide hide give hide inc } else { msg hide flag on } else then msg } else msg end define define object alias look if not got then { msg show } else msg take msg speak examine if not got then msg else { msg flag on } prefix displaytype detail article gender end define define object alias look take msg speak examine prefix displaytype detail article gender hidden end define define object alias alt look take msg speak examine prefix displaytype article gender give { msg hide inc hide } end define west end define define room alias prefix look place place place place define object alias look take msg speak examine if flag then { msg flag off flag on } else msg prefix displaytype article gender end define south east end define define room alias prefix look out define object alias look take msg speak if flag then msg else msg examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender use if flag then { msg hide show give } else msg end define define object alias alt look take speak examine prefix suffix <(fly)> displaytype article gender hidden end define north end define define room alias prefix look define object alias look take { msg dec } speak examine prefix displaytype detail article gender end define define object alias look take msg speak if flag then msg else msg <"You're working in here?" you ask the mayor, forgetting to address him correctly. |n"Yes, something you commoners should do more often. Help the poor," the mayor says proudly. You leave him be.> examine if flag then msg else { msg flag on goto } prefix displaytype detail article gender end define define object alias look take msg speak if flag then { msg flag off show } else msg <"I'm sorry we're too busy to speak now unless it's really important," one of the cooks say before you get a chance to open your mouth.> examine prefix displaytype article gender end define define object alias alt look take msg speak if flag then msg else { msg <"Hello Sam!" You say. Sam turns around and sees you.|n"Well if it isn't the great man from before! The clothes you gave me are great, much better than my old ones!" Sam says.|n"It was nothing. It's amazing that you can be here helping everyone else when you yourself have little food," you say.|n"I just like to help others I guess. Besides if I help here I get all the leftovers I can eat! Say, why don't you help to?" Sam asks.> choose } examine prefix displaytype article gender hidden give { hide msg show give } end define define object alias look take speak examine prefix displaytype article gender hidden end define define object alias alt look take speak examine if flag then msg else { msg flag on inc } prefix displaytype article gender hidden end define south end define define room alias look define object alias look take msg <"Hey, leave that alone!" Saria says and reach for the picture. You leave it be.> speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine if not flag then { msg show } else msg prefix displaytype article gender end define define object alias look take { msg dec } speak examine prefix displaytype article gender hidden use { msg hide show give flag on set numeric } use if flag then { msg hide show flag on } else msg end define define object alias look take msg speak choose examine displaytype article gender give { if flag then msg else msg inc } end define define object alias alt look take speak examine prefix displaytype article gender hidden end define north end define define room alias prefix look out define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak choose examine prefix displaytype article gender end define define object alias look take speak examine prefix displaytype article gender hidden end define define object alias look take msg speak choose examine prefix displaytype article gender end define define object alias alt look take speak examine prefix displaytype article gender hidden end define west northwest southwest if flag then goto else goto end define define room alias prefix look out define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak <"Hey now all! Come get your fresh fruit and vegetables here! Cheap prices and great quality! New shipments have just arrived so we wont run out for ages! Come one you know you want some!" Ivan calls to the crowd. He stops and looks at his boxes in concern. "Hey, you don't happen to have any ice do you? It's been so hot my vegetables are starting to go off..."> examine displaytype article gender give { msg hide show give } end define define object alias look take speak examine prefix displaytype article gender hidden end define end define define room alias prefix look script if flag then msg <"Why are you still here? You finished your test ages ago!" your teacher says.> else msg <"There you are!" your cooking teacher yells annoyed, "You've got your test now so get on with it! You must make a simple onion soup using anything in this room. Now get to it!"> define object alias alt look take if flag then msg else { msg show give flag on } speak examine prefix displaytype article gender end define define object alias alt look take if here or got then { if got then { msg give } else { msg dec } else { msg dec show } } else { msg show dec } speak examine prefix displaytype detail article gender use msg use msg end define define object alias look take if flag then msg else { msg show give flag on } speak examine prefix displaytype article gender end define define object alias alt look take { msg dec } speak examine prefix displaytype article gender end define define object alias alt look take msg speak if flag then msg <"What are you still doing here? You already passed the test!" your teacher says.> else msg <"Did you forget allready? Your task is to cook a serve of onion soup! Just take the ingredients and utensils you need from the rest then USE them in whatever way you feel neccessary!" your cooking teacher says.> examine prefix displaytype article gender end define define object alias look take speak examine prefix displaytype article gender hidden end define define object alias alt look take speak examine prefix displaytype article gender hidden end define define object alias look take msg speak examine prefix displaytype article gender use { msg hide lose show give } end define define object alias alt look take speak examine prefix displaytype article gender hidden end define define object alias alt look take if here or got then { if got then { msg give } else { msg dec } else { msg dec show } } else { msg show dec } speak examine prefix displaytype detail article gender hidden use { msg hide hide show give } use msg end define define object alias alt look take if here or got then { if got then { msg give } else { msg dec } else { msg dec show } } else { msg show dec } speak examine prefix displaytype detail article gender hidden use { msg hide show give } end define define object alias alt look take if here or got then { if got then { msg give } else { msg dec } else { msg dec show } } else { msg show dec } speak examine prefix displaytype detail article gender hidden use msg use on { msg hide show show give flag on inc } end define define object alias alt look take speak examine prefix displaytype detail article gender hidden end define east if got or got or got then msg <"Hey! Don't steal our stuff!" your teacher says acusingly, pointing at what you're carrying.> else goto end define define room alias prefix look script if flag then msg else { msg <"Ah so you have finally arrived! I am ready to test you on your fighting skills. Be warned, this is a hard test and you will not be able to leave during it. Do you want to start now?" your combat teacher asks.> choose } define object alias look take msg speak if flag then msg <"Why are you still here? You have already passed your final test. Go out into the world and make a living!" your combat teacher says.> else { msg <"Are you now ready to attempt your final test here at my class?" your combat teacher asks.> choose } examine prefix displaytype article gender end define define object alias alt look take msg <"Do not touch them!" your combat teacher yells as you reach for the weapons.> speak examine prefix displaytype article gender end define north msg southeast end define define room alias prefix look script { msg <"Good," your teacher says simply and walks to the north. He opens the door and to your alarm two monsters rush out to attack! Your teacher grabs a hand axe and a battle hammer, then quickly hands them to you as your oponents approach...> give give } afterturn if not here and not here then { flag on msg hide hide goto inc } command msg define object alias alt look take speak examine prefix displaytype detail article gender end define define object alias alt look take speak examine prefix displaytype detail article gender end define define object alias look speak examine prefix displaytype article gender end define define object alias alt look speak examine prefix displaytype article gender end define define object alias alt look take msg speak <"Remember that some monsters are invulnerable to some weapons," your teacher advises you.> examine prefix displaytype article gender end define end define define room alias prefix look script msg command msg define object alias alt look take msg speak { msg <"Why is the room dark?" you ask.|n"Aaargh! Some mischievious brat has ruined the light spell in here! Could you please find Mr. Thatchum and ask him to teach you the light spell? He usually wears a red shirt and yellow pants and has a strong dwarvish accent. He should be in the markets somewhere," your magic teacher asks.|n"Okay," you agree, wondering if this is part of your test or not.> if not flag then flag on } examine prefix displaytype article gender end define northeast end define define room alias prefix look define object alias look take msg <"Leave them alone!" your magic teacher screechs. You do so.> speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias alt look take msg speak if flag then { msg <"Why are you still dawdelling! Leave this class NOW!" your magic teacher says angrily, pushing you out the door.|n"Ha, you got told!" Marth laughs as he watches.|n"Shut up," you mutter in embarrasment.> goto } else { if flag then { msg <"I found Ivan using magic to make his fruit and vegetables look of a higher quallity!" You report. In a very rare occasion your magic teacher gives a brief smile.|n"Well done, you have passed. Now leave before the next student arrives," she says, motioning towards the door.> flag on inc } else msg <"Do I have to repeat myself again? Find the person using magic to trick the public! Now get to it!" your teacher growls.> } examine prefix displaytype article gender end define southeast end define define room alias prefix look out script msg define object alias look take msg speak choose examine <"What you looking at!?" the storekeeper demands.> prefix displaytype article gender end define define object alias alt look take speak examine prefix displaytype detail article gender hidden drop nowhere end define define object alias alt look take if here then { msg dec } else { give msg } speak examine prefix displaytype detail article gender drop nowhere end define end define define room alias prefix look indescription define object alias alt look take msg speak examine prefix displaytype article gender end define define object alias alt look take speak do examine displaytype detail article gender hidden drop nowhere end define north south east west end define define room alias prefix look indescription south east west end define define room alias prefix look indescription define object alias look take msg speak examine if flag then msg else msg prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender hidden end define north south if flag then { msg goto } else { if here then msg else { msg show } } end define define room alias prefix look indescription define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define north { msg goto } end define define room alias prefix look indescription define object alias alt look take msg speak <"I wouldn't venture into the woods alone my dear... Strange things have been known to happen to those who get lost..." the old lady says chuckling to herself.> examine prefix displaytype article gender end define east { msg playerlose } west end define define room alias prefix look indescription define object alias alt look take msg speak examine prefix displaytype article gender end define south east west end define define room alias prefix look indescription north south end define define room alias prefix look indescription define object alias alt look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take speak examine prefix displaytype article gender invisible end define define object alias look take msg speak examine prefix displaytype article gender use { msg dec hide reveal hide create exit } end define east end define define room alias prefix look indescription define object alias alt look take speak examine prefix displaytype article gender hidden drop nowhere end define define object alias look take speak examine prefix displaytype article gender hidden use on { msg hide show give } drop nowhere end define define object alias alt look take msg speak { msg <"Um... sir..." the strange man says nervously.|n"What is it?" you ask.|n"Oh nothing I was just wondering... can I come with you in the desert? I keep getting lost..." the strange man says sadly.> choose } examine prefix displaytype detail article gender end define define object alias look take msg speak <"Are you sure this is the right way?" Felix says nervously looking around.> examine displaytype article gender hidden end define define object alias alt look take speak examine prefix displaytype article gender hidden drop nowhere end define north { goto do if not flag and flag then { msg <"Are we going now?" Felix asks. You nod. Felix takes something out of one of his large pockets. "Here, take this." You take the bottle of water that Felix offers you.|n"Thanks," you says.|n"It's the least I could do," Felix replies.|n|n|b|iIMPORTANT NOTE:|xb|xi Due to a poorly planned system if the bottle ever contains something that must be USEd, you must type USE BOTTLE instead of USE BOTTLE [SOMETHING] or it won't work, so using the short cut on the inventory window *will not work*. Thank-you for your understanding. - Christopher Ames, game creator|n> show give } } south end define define room alias prefix look define object alias look take msg speak examine prefix displaytype article gender end define south if flag then msg <"That's back where we came from!" Felix objects. You turn around.> else goto west { goto do move } northeast { goto move do } end define define room alias prefix look north { goto move do } east { move goto do } southwest { goto move do } end define define room alias prefix look place { if flag then msg <"I'll wait for you out here," Felix says as you enter.> goto } west { move goto do } end define define room alias prefix look out define object alias look take msg speak examine prefix displaytype detail article gender end define define object alias alt look take speak examine prefix displaytype detail article gender use { msg dec hide show show } end define define object alias alt look take { msg dec } speak examine prefix displaytype article gender hidden end define define object alias alt look take speak examine prefix displaytype detail article gender hidden end define define object alias look take speak examine prefix displaytype article gender hidden end define define object
alias
look take msg speak examine if flag then msg else { msg show flag on } prefix displaytype article gender end define define object alias look take msg speak examine if flag then { if ( %searched_times% = 7 ) then { msg flag off flag on show give } if ( %searched_times% = 6 ) then { msg set numeric } if ( %searched_times% = 5 ) then { msg set numeric } if ( %searched_times% = 4 ) then { msg set numeric } if ( %searched_times% = 3 ) then { msg set numeric } if ( %searched_times% = 2 ) then { msg set numeric } if ( %searched_times% = 1 ) then { msg set numeric } } else { if flag then msg else { msg flag on set numeric } } prefix displaytype article gender end define define object alias alt look take speak examine prefix displaytype article gender hidden end define define object alias alt look take msg speak <"Ah my friend she is a lovely lady I once met. She lives out in the desert like me but I have never seen her again..." the desert-living man ponders to himself, ignoring you.> examine prefix displaytype article gender hidden end define down end define define room alias prefix look define object alias look take msg speak examine prefix displaytype detail article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias look take speak examine prefix displaytype article gender hidden end define define object alias look take msg speak examine { msg flag on } prefix displaytype article gender end define define object alias alt look take msg speak examine if flag then msg else { msg flag on show give } prefix displaytype article gender hidden end define define object alias alt look take speak examine prefix displaytype detail article gender hidden end define up end define define room alias prefix look north { goto move do } east { goto do move } northwest { goto move do } end define define room alias prefix look define object alias look take msg speak if not flag then msg else { if flag then msg else { msg flag on show } } examine prefix displaytype article gender end define define object alias alt look take msg speak examine prefix displaytype article gender hidden end define south { goto do move } end define define room alias prefix look define object alias alt look take msg speak examine if flag then { if not flag then { msg show give flag on } else msg } else msg prefix displaytype article gender end define define object alias alt look take speak examine prefix displaytype article gender hidden use on { msg hide hide create exit down } end define southeast { goto move do } end define define room alias prefix look north { goto do } south { goto move do } east { goto move do } west { goto move do } end define define room alias prefix look script { if not exists then show } define object alias look take msg speak examine if here then msg else msg prefix displaytype detail article gender use { msg hide show give } end define define object alias alt look take msg speak examine prefix displaytype article gender end define define object alias alt look take { msg hide } speak { msg hide } examine { msg hide } prefix displaytype article gender use { msg hide show give hide } end define define object alias alt look take speak examine prefix displaytype article gender hidden drop nowhere end define north { goto move do } south { goto move do } west if flag then msg else { if flag then { msg <"Wait!" Felix says. You stop and face him. "I can see some bandits up ahead! What if they attack us and we're not ready? I don't want to die!"> choose } else goto } end define define room alias prefix look north { goto move do } south { goto do } northwest { goto move do } end define define room alias prefix look script if flag then { msg flag off } define object alias alt look take msg speak examine prefix displaytype article gender use { msg goto } end define north { msg playerlose } south { move goto do } west { goto move do } end define define room alias prefix look define object alias alt look take msg speak examine prefix displaytype article gender end define northwest end define define room alias prefix look north { msg <"I'll wait for you here," Felix says as you enter.> goto } east { goto move do } southeast { goto move do } end define define room alias prefix look define object alias alt look take msg speak <"please... help..." the man gasps, struggling to get up.> examine prefix displaytype article gender give { msg flag on hide show give hide show } end define west { goto move do } end define define room alias prefix look define object alias alt look take { msg hide } speak examine prefix displaytype article gender end define north south end define define room alias prefix look define object alias alt look take msg speak examine prefix displaytype article gender end define define object alias alt look take msg speak examine prefix displaytype article gender end define define object alias look take msg speak examine prefix displaytype article gender end define define object alias alt look take speak examine prefix displaytype article gender hidden use on { msg flag on } end define define object alias alt look take msg speak <"Ah I wish I could join my friends at the acadamy..." the witch mumbles to herself, "but the love of my live wanders these sands and my heart can not be moved..."> examine prefix displaytype article gender give { msg <"Oh! What is this?" the witch asks. Before you can answer she flicks through the diary and gasps as she sees a picture of the owner's lover. "But... no... this is my sister... she passed away in an accident a year ago... Take this." You stare at the strange glass she hands you. "It was to be a gift, but now it is worthless. Take it and begon!"> hide show give } end define south end define define room alias prefix look script if not flag then msg define object alias alt look take speak examine prefix displaytype article gender hidden end define east { goto move do } northwest if flag then msg else { if flag then { msg <"Wait!" Felix calls as you are about to step forward. You stop and turn around.|n"What is it?" you ask.|n"There's a lot of quicksand there! What if you walked into some? What if you don't know the way across? I'll be lost in the desert again!" Felix says in a panic.> choose } else choose } end define define room alias prefix look script i