Skip to content

Instantly share code, notes, and snippets.

@alexwarren
Created July 6, 2014 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexwarren/26004f2e8e2a197c925e to your computer and use it in GitHub Desktop.
Save alexwarren/26004f2e8e2a197c925e to your computer and use it in GitHub Desktop.
CodePlex Issue #771 Plain Text Attachments
<!--Saved by Quest Editor v5.0-->
<asl version="500">
<include ref="English.aslx" />
<include ref="Core.aslx" />
<game name="The Mysterious Courtard">
<author>xordevoreaux</author>
<version>1.0</version>
<enablehyperlinks />
</game>
<object name="mysterious_courtyard">
<inherit name="editor_room" />
<alias>Mysterious Courtyard</alias>
</object>
<object name="reality">
<inherit name="editor_object" />
<object name="reality_street_1100">
<inherit name="editor_room" />
<alias>Fantasy Avenue</alias>
<description>This is the 1100 block of Fantasy Avenue. Interestingly, the western portion of the Fantasy Avenue seems blocked by miscellaneous wrecked cars, downed power lines, and other impediments to travel.</description>
<descprefix>You are on</descprefix>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<object name="reality_car">
<alias>car</alias>
<descprefix>You are sitting in</descprefix>
<description>You seem to be in a very damaged car.</description>
<lock>Both doors of this car seem to be so badly damaged that there's no way to lock them.</lock>
<displayverbs>Look at; Lock</displayverbs>
<inventoryverbs>Look at; Use</inventoryverbs>
<look>This car looks like it has been in a VERY recent wreck, being a bit crumpled here and there, and smelling alarmingly of burned wires and overheated thingamabobs in the engine, not to mention that it has apparently collided with a street lamp.</look>
<beforefirstenter type="script"><![CDATA[
msg ("As you careen wrecklessly down Fantasy Avenue, avoiding angry mobs and other vehicles, you reach down to turn the dial on the car's radio, looking for any station that may be broadcasting:<br/><br/>...riots continue their seemlingly random attacks in the middle of town as the heatwave continues. Rolling blackouts and water shortages...<br/><br/>You turn the dial again...<br/>")
WaitForKeyPress
msg ("...it's been reported that the mayor and most of the city's staffers have been lifted by helicopter to a position of relative safety outside the city. News reports are coming in that most roads leading from the city are now blocked by armored vehicles and soldiers to prevent the spread of violence to nearby communities...<br/><br/>You turn the dial again...<br/>")
WaitForKeyPress
msg ("...It's the best soap in the world, Fantasy Soap! Gets you cleaner than...<br/><br/>You turn the dial again...<br/>")
WaitForKeyPress
msg ("There's dead silence on the radio, and then a small, frightened voice speaks.<br/><br/>...please, if anyone can hear me, I'm all alone here. The power is out and there's a machine outside making a lot of noise, I think it's keeping some of the lights on. If anyone can hear me, can you please come here? My mother and I were in the station visiting. People came in and did a lot of bad things. Please....<br/><br/>Static replaces the voice. You continue to listen, but the broadcast is dead.<br/><br/>You look up and suddenly swerve to try to miss a crazed rioter, only to smash into a lamp post! <br/>Blackness takes over you.<br/><br/>(press any key)<br/>")
WaitForKeyPress
]]></beforefirstenter>
<object name="player">
<inherit name="defaultplayer" />
<object name="reality_wallet">
<inherit name="container_open" />
<inherit name="editor_object" />
<hidechildren />
<listchildren />
<listchildrenprefix>Your wallet has:</listchildrenprefix>
<alias>wallet</alias>
<inventoryverbs>Look at; Drop</inventoryverbs>
<take />
<object name="reality_debitcard">
<inherit name="editor_object" />
<alias>debit card</alias>
<look>Yep, it's your card, has your name on it. Expiration date: 04/15/2068. </look>
</object>
</object>
</object>
<object name="reality_glovecompartment">
<inherit name="container_closed" />
<inherit name="editor_object" />
<listchildren />
<hidechildren />
<alias>glove compartment</alias>
<displayverbs>Look at; Open; Close</displayverbs>
<inventoryverbs>Look at</inventoryverbs>
<drop type="boolean">false</drop>
<object name="reality_note">
<inherit name="editor_object" />
<look><![CDATA[The note seems to have just a number on it: <br/><br/>4112 <br/><br/>]]></look>
<alias>note</alias>
<take />
<inventoryverbs>Look at; Use; Drop</inventoryverbs>
<read type="script"><![CDATA[
msg ("The note seems to have just a number on it: <br/><br/>4112 ")
]]></read>
</object>
</object>
<object name="reality_ignition">
<inherit name="container_open" />
<inherit name="editor_object" />
<close type="boolean">false</close>
<open type="boolean">false</open>
<hidechildren />
<listchildren />
<alias>car ignition</alias>
<displayverbs>Look at; Turn</displayverbs>
<turn type="script">
if (Contains (reality_ignition,reality_keys)) {
msg ("The car key jangles as you turn the ignition, but the engine appears to be quite dead. The car does not start.")
}
else {
msg ("The ignition seems to lack a key to be able to turn it. Nothing happens.")
}
</turn>
<object name="reality_keys">
<inherit name="editor_object" />
<alias>key</alias>
<scenery type="boolean">false</scenery>
<look>These seem to be an ordinarily car key.</look>
<displayverbs>Look at; Take</displayverbs>
<take />
</object>
</object>
<exit alias="out" to="reality_street_1100" />
</object>
<exit alias="a parked car" to="reality_car" />
<exit alias="east" to="reality_street_1200" />
<object name="reality_streetlamp_1100">
<inherit name="editor_object" />
<alias>street lamp</alias>
<look>Leaning far to one side, this street lamp has seen better days. There's apparently a very damaged car against it.</look>
</object>
<object name="reality_powerlines">
<inherit name="editor_object" />
<alias>power lines</alias>
<scenery />
<look>The power lines flash occasionally with sparks of electricity. Apparently, power has not failed in this area.</look>
<article>the</article>
<gender>them</gender>
</object>
<object name="reality_wreckedcars">
<inherit name="editor_object" />
<scenery />
<gender>them</gender>
<look>There seems to be quite the collection of wrecked cars here. Odd.</look>
<article>them</article>
<alias>wrecked cars</alias>
</object>
<object name="reality_body_01">
<inherit name="editor_object" />
<alias>body of a crazed rioter</alias>
<drop type="boolean">false</drop>
<displayverbs>Look at</displayverbs>
<inventoryverbs>Look at</inventoryverbs>
<look>This is a very dead rioter. There seems to be a tire print across the corpse's chest.</look>
</object>
</object>
<object name="reality_street_1200">
<inherit name="editor_room" />
<description>This is the 1200 block of Fantasy Avenue.</description>
<descprefix>You are on:</descprefix>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<alias>Fantasy Avenue</alias>
<exit alias="west" to="reality_street_1100" />
<exit alias="east" to="reality_street_1300" />
<object name="reality_streetlamp_1200">
<inherit name="editor_object" />
<look>This pristine street lamp is in fine shape, minus a bulb.</look>
<alias>street lamp</alias>
</object>
</object>
<object name="reality_street_1300">
<inherit name="editor_room" />
<description>This is the 1300 block of Fantasy Avenue.</description>
<descprefix>You are on:</descprefix>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<alias>Fantasy Avenue</alias>
<exit alias="west" to="reality_street_1200" />
<object name="reality_streetlamp_1300">
<inherit name="editor_object" />
<look>This is a magnificent street lamp! It has apparently survived unscathed by bothtraffic incidentsand blown-out bulbs.</look>
<alias>street lamp</alias>
</object>
</object>
</object>
<verb>
<property>Inspect</property>
<pattern>Inspect</pattern>
<defaulttext>You can't Inspect that.</defaulttext>
</verb>
</asl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment