bl791's picture
download
raw
189 kB
!function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function a(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e<t:e["$<"](t)}function $(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function l(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}var s,i,u,c=e.top,p=e,h=e.nil,d=(e.breaker,e.slice,e.module),_=e.gvars,m=e.hash2,y=e.klass,g=e.hash;null==_.plot&&(_.plot=h),e.add_stubs(["$[]=","$proc","$room","$parent","$nil?","$concat","$subquery_accessible","$delete","$each","$push","$children","$new","$==","$enabled?","$!=","$to_s","$taking_message","$tell","$%","$definitely","$cap_first","$quietly","$taken_message","$untaken_message","$attr_writer","$default","$!","$kind_of?","$attr_accessor","$script","$send","$reverse","$reverse=","$adjective","$adverb","$[]","$compass","$to_sym","$downcase","$include","$player_class","$set_default","$destination","$direction","$that_are","$find","$name","$synonyms","$connect2","$+","$delete_if","$private","$proper_named=","$raise","$meta","$split_words","$verbs","$include?","$>","$length","$start_with?","$perform","$join","$join_and","$proceed","$respond","$contract","$you","$Subj","$pronoun","$be","$verb","$the","$family","$sticky?","$sticky_message","$need","$parent=","$interpret","$The","$obj","$siblings","$enter_verb","$subj","$do","$text","$xlate","$can","$available","$leave_verb","$join_or","$description","$itself","$An","$accessible?","$that_are_not","$has_description?","$empty?","$execute","$-","$locale_description","$see","$explicit_exits?","$instruction","$A","$reachable","$visible","$put","$yes_or_no","$yes?","$cue","$default_conclusion","$default_scene","$portable?","$take","$talk","$reflex","$open?","$open=","$locked?","$lock_key","$locked=","$attr_reader","$embark","$path","$origin","$last","$clone","$shift","$image","$wallpaper","$merge!","$text_align","$ancestors","$class","$scene","$before_player_update","$clear_wallpaper","$on_player_ready","$has_wallpaper?","$choose_wallpaper","$clear","$previous","$current","$suggestions","$flatten","$type","$map","$merge","$inspect","$last_action","$will_cue?","$update","$sort","$stream","$extended_commands","$default_commands","$suggest","$available_commands","$suggest_to","$arguments","$focus","$focus=","$call","$custom","$get_destinations_for","$keys","$first","$unavailable_message","$options","$on_finish","$selection","$mobile?","$freeze","$get_random_value","$name=","$physique","$gender","$rand","$get_female_name","$get_male_name","$get_last_name","$first_name","$last_name","$get_female_physique","$get_male_physique","$get_female_detail","$get_male_detail","$get_age","$gender_noun","$detail","$indefinite_article","$physical_description","$dup","$const_get","$pop_random","$on_update","$entities","$<","$&","$players","$destroy","$sample","$make","$on_start","$random","$plot","$introduction","$conclude","$on_player_update","$connect","$pause","$player_hand","$deck","$count","$dealer_hand","$player_bet","$finish_game","$hit_or_stay","$multiple_choice","$play_game","$>=","$to_i","$<=","$*","$multiple_scene","$branch","$prepare","$description=","$tracked=","$in_subplot?","$entered?","$itemized=","$locale_description=","$make_destination_hash","$to_proc","$conclusion","$meta?","$history","$save","$user","$restore","$default=","$actions","$playbook","$metadata=","$parse","$stage"]),function(s){var i,u,c,p,b,f,k,v,w,T,S,I,j,x,A,U,C,P,z,Y,H,B,L,M,E,R,G,q,W,F,N,D,J,Q,K,O,V,Z,X,ee,te,ne,ae,re,$e,le,oe,se,ie,ue,ce,pe,he,de,_e,me,ye,ge,be,fe,ke,ve,we,Te,Se,Ie,je,xe,Ae,Ue,Ce,Pe,ze,Ye,He,Be,Le,Me,Ee,Re,Ge,qe,We,Fe,Ne,De,Je,Qe,Ke,Oe,Ve,Ze,Xe,et,tt,nt,at,rt,$t,lt,ot,st,it,ut,ct,pt,ht,dt,_t,mt,yt,gt,bt,ft,kt,vt,wt,Tt,St,It,jt,xt,At,Ut,Ct,Pt,zt,Yt,Ht,Bt,Lt,Mt,Et,Rt,Gt,qt,Wt,Ft,Nt,Dt,Jt,Qt,Kt,Ot,Vt,Zt,Xt,en,tn,nn,an,rn,$n,ln,on,sn,un,cn,pn,hn=i=d(s,"Gamefic"),dn=(hn.$$proto,hn.$$scope);null==_.scripts&&(_.scripts=h),null==_.source&&(_.source=h),null==_.plot&&(_.plot=h),_.scripts=m([],{}),_.scripts["$[]="]("standard/queries",(u=(c=hn).$proc,u.$$p=(p=function(){p.$$s;return function(t,$super){function n(){}var a,r=n=y(t,$super,"Available",n);r.$$proto,r.$$scope;e.defn(r,"$context_from",a=function(e){var t,n,a,r=this,$=h,l=h;return $=[],l=!1!==(t=e.$room())&&t!==h&&null!=t?t:e.$parent(),((t=l["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t)&&$.$concat(r.$subquery_accessible(l)),$.$delete(e),(t=(n=e.$children()).$each,t.$$p=(a=function(e){var t=a.$$s||this;return null==e&&(e=h),$.$push(e),$.$concat(t.$subquery_accessible(e))},a.$$s=r,a.$$arity=1,a),t).call(n),$},a.$$arity=1)}(dn.get("Gamefic").$$scope.get("Query"),dn.get("Gamefic").$$scope.get("Query").$$scope.get("Base")),function(t,$super){function n(){}var a,r=n=y(t,$super,"Room",n);r.$$proto,r.$$scope;return e.defn(r,"$context_from",a=function(e){var t;return(t=e.$room())===h||null==t||t.$$is_boolean&&1!=t?[]:[e.$room()]},a.$$arity=1),h&&"context_from"}(dn.get("Gamefic").$$scope.get("Query"),dn.get("Gamefic").$$scope.get("Query").$$scope.get("Base"))},p.$$s=hn,p.$$arity=0,p),u).call(c)),_.scripts["$[]="]("standard/modules/use",(u=(b=hn).$proc,u.$$p=(f=function(){f.$$s;return function(t){var n,a,r,$,l,o,s,i,u,c,p,h,_=n=d(t,"Use"),m=(_.$$proto,_.$$scope);e.defs(_,"$children",a=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Children")).$new.apply(t,e.to_a(n))},a.$$arity=-1),e.defs(_,"$family",r=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Family")).$new.apply(t,e.to_a(n))},r.$$arity=-1),e.defs(_,"$parent",$=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Parent")).$new.apply(t,e.to_a(n))},$.$$arity=-1),e.defs(_,"$siblings",l=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Siblings")).$new.apply(t,e.to_a(n))},l.$$arity=-1),e.defs(_,"$text",o=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Text")).$new.apply(t,e.to_a(n))},o.$$arity=-1),e.defs(_,"$visible",s=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Family")).$new.apply(t,e.to_a(n))},s.$$arity=-1),e.defs(_,"$reachable",i=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Available")).$new.apply(t,e.to_a(n))},i.$$arity=-1),e.defs(_,"$available",u=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Available")).$new.apply(t,e.to_a(n))},u.$$arity=-1),e.defs(_,"$room",c=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Room")).$new.apply(t,e.to_a(n))},c.$$arity=-1),e.defs(_,"$itself",p=function(){var t,n,a=arguments.length,r=a-0;r<0&&(r=0),n=new Array(r);for(var $=0;$<a;$++)n[$-0]=arguments[$];return(t=m.get("Gamefic").$$scope.get("Query").$$scope.get("Room")).$new.apply(t,e.to_a(n))},p.$$arity=-1),e.defs(_,"$from",h=function(t){var n,a,r=arguments.length,$=r-1;$<0&&($=0),a=new Array($);for(var l=1;l<r;l++)a[l-1]=arguments[l];return(n=m.get("Gamefic").$$scope.get("Query").$$scope.get("External")).$new.apply(n,[t].concat(e.to_a(a)))},h.$$arity=-2)}(dn.base)},f.$$s=hn,f.$$arity=0,f),u).call(b)),_.scripts["$[]="]("standard/modules/attachable",(u=(k=hn).$proc,u.$$p=(v=function(){v.$$s;return function(t){var n,a,r,$=n=d(t,"Attachable");$.$$proto,$.$$scope;e.defn($,"$attached?",a=function(){var e,t=this;return null==t.attached&&(t.attached=h),(e=t.attached["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e||(t.attached=!1),t.attached},a.$$arity=0),e.defn($,"$attached=",r=function(e){return this.attached=e},r.$$arity=1)}(dn.base)},v.$$s=hn,v.$$arity=0,v),u).call(k)),_.scripts["$[]="]("standard/modules/auto_takes",(u=(w=hn).$proc,u.$$p=(T=function(){T.$$s;return function(t){var n,a,r,$,l,o,s,i,u,c,p=n=d(t,"AutoTakes"),_=(p.$$proto,p.$$scope);e.defn(p,"$auto_takes?",a=function(e){var t,n=this,a=h;return!!e.$parent()["$=="](n)||((t=_.get("AutoTakes")["$enabled?"]())===h||null==t||t.$$is_boolean&&1!=t?(n.$tell(_.get("AutoTakes").$untaken_message()["$%"](m(["name","Name"],{name:e.$definitely(),Name:e.$definitely().$cap_first()}))),!1):((t=_.get("AutoTakes").$taking_message().$to_s()["$!="](""))===h||null==t||t.$$is_boolean&&1!=t||n.$tell(_.get("AutoTakes").$taking_message()["$%"](m(["name","Name"],{name:e.$definitely(),Name:e.$definitely().$cap_first()}))),a=n.$quietly("take",e),(t=e.$parent()["$!="](n))===h||null==t||t.$$is_boolean&&1!=t?((t=_.get("AutoTakes").$taken_message().$to_s()["$!="](""))===h||null==t||t.$$is_boolean&&1!=t||n.$tell(_.get("AutoTakes").$taken_message()["$%"](m(["name","Name"],{name:e.$definitely(),Name:e.$definitely().$cap_first()}))),!0):(n.$tell(a),!1)))},a.$$arity=1),e.defs(p,"$enabled?",r=function(){var e,t=this;return null==t.enabled&&(t.enabled=h),(e=t.enabled["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e||(t.enabled=!0),t.enabled},r.$$arity=0),e.defs(p,"$enabled=",$=function(e){return this.enabled=e},$.$$arity=1),e.defs(p,"$taking_message",l=function(){var e,t=this;return null==t.taking_message&&(t.taking_message=h),!1!==(e=t.taking_message)&&e!==h&&null!=e?e:t.taking_message=""},l.$$arity=0),e.defs(p,"$taking_message=",o=function(e){return this.taking_message=e},o.$$arity=1),e.defs(p,"$taken_message",s=function(){var e,t=this;return null==t.taken_message&&(t.taken_message=h),!1!==(e=t.taken_message)&&e!==h&&null!=e?e:t.taken_message=""},s.$$arity=0),e.defs(p,"$taken_message=",i=function(e){return this.taken_message=e},i.$$arity=1),e.defs(p,"$untaken_message",u=function(){var e,t=this;return null==t.untaken_message&&(t.untaken_message=h),!1!==(e=t.untaken_message)&&e!==h&&null!=e?e:t.untaken_message="You don't have %{name}."},u.$$arity=0),e.defs(p,"$untaken_message=",c=function(e){return this.untaken_message=e},c.$$arity=1)}(dn.base)},T.$$s=hn,T.$$arity=0,T),u).call(w)),_.scripts["$[]="]("standard/modules/enterable",(u=(S=hn).$proc,u.$$p=(I=function(){I.$$s;return function(t){var n,a,r,$,l,o=n=d(t,"Enterable");o.$$proto,o.$$scope;o.$attr_writer("enterable","leave_verb","enter_verb","inside_verb"),e.defn(o,"$enterable?",a=function(){var e,t=this;return null==t.enterable&&(t.enterable=h),!1!==(e=t.enterable)&&e!==h&&null!=e?e:t.enterable=!1},a.$$arity=0),e.defn(o,"$inside_verb",r=function(){var e,t=this;return null==t.inside_verb&&(t.inside_verb=h),!1!==(e=t.inside_verb)&&e!==h&&null!=e?e:t.inside_verb="be in"},r.$$arity=0),e.defn(o,"$enter_verb",$=function(){var e,t=this;return null==t.enter_verb&&(t.enter_verb=h),!1!==(e=t.enter_verb)&&e!==h&&null!=e?e:t.enter_verb="enter"},$.$$arity=0),e.defn(o,"$leave_verb",l=function(){var e,t=this;return null==t.leave_verb&&(t.leave_verb=h),!1!==(e=t.leave_verb)&&e!==h&&null!=e?e:t.leave_verb="leave"},l.$$arity=0)}(dn.base)},I.$$s=hn,I.$$arity=0,I),u).call(S)),_.scripts["$[]="]("standard/modules/explicit_exits",(u=(j=hn).$proc,u.$$p=(x=function(){x.$$s;return function(t){var n,a,r,$,l=n=d(t,"ExplicitExits"),o=(l.$$proto,l.$$scope);l.$attr_writer("explicit_exits"),e.defn(l,"$explicit_exits?",a=function(){var e,t=this;return null==t.explicit_exits&&(t.explicit_exits=h),!1!==(e=t.explicit_exits)&&e!==h&&null!=e?e:t.explicit_exits=o.get("ExplicitExits").$default()},a.$$arity=0),e.defs(l,"$default",r=function(){var e,t=this;return null==t["default"]&&(t["default"]=h),(e=t["default"]["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e||(t["default"]=!0),t["default"]},r.$$arity=0),e.defs(l,"$default=",$=function(e){return this["default"]=e},$.$$arity=1)}(dn.base)},x.$$s=hn,x.$$arity=0,x),u).call(j)),_.scripts["$[]="]("standard/modules/itemizable",(u=(A=hn).$proc,u.$$p=(U=function(){U.$$s;return function(t){var n,a,r,$,l=n=d(t,"Itemizable"),o=(l.$$proto,l.$$scope);l.$attr_writer("itemized"),e.defn(l,"$itemized?",a=function(){var e,t=this;return null==t.itemized&&(t.itemized=h),(e=t.itemized["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e||(t.itemized=o.get("Itemizable").$default()),t.itemized},a.$$arity=0),e.defs(l,"$default",r=function(){var e,t=this;return null==t["default"]&&(t["default"]=h),(e=t["default"]["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e||(t["default"]=!0),t["default"]},r.$$arity=0),e.defs(l,"$default=",$=function(e){return this["default"]=e},$.$$arity=1)}(dn.base)},U.$$s=hn,U.$$arity=0,U),u).call(A)),_.scripts["$[]="]("standard/modules/parent-room",(u=(C=hn).$proc,u.$$p=(P=function(){P.$$s;return function(t){var n,a,r=n=d(t,"ParentRoom"),$=(r.$$proto,r.$$scope);e.defn(r,"$room",a=function(){var e,t,n=this,a=h;for(a=n.$parent();t=a["$kind_of?"]($.get("Room"))["$!"](),(e=!1!==t&&t!==h&&null!=t?a["$nil?"]()["$!"]():t)!==h&&null!=e&&(!e.$$is_boolean||1==e);)a=a.$parent();return a},a.$$arity=0)}(dn.base)},P.$$s=hn,P.$$arity=0,P),u).call(C)),_.scripts["$[]="]("standard/modules/portable",(u=(z=hn).$proc,u.$$p=(Y=function(){Y.$$s;return function(t){var n,a,r,$=n=d(t,"Portable");$.$$proto,$.$$scope;$.$attr_writer("portable"),$.$attr_writer("sticky"),$.$attr_accessor("sticky_message"),e.defn($,"$portable?",a=function(){var e,t=this;return null==t.portable&&(t.portable=h),!1!==(e=t.portable)&&e!==h&&null!=e?e:t.portable=!1},a.$$arity=0),e.defn($,"$sticky?",r=function(){var e,t=this;return null==t.sticky&&(t.sticky=h),!1!==(e=t.sticky)&&e!==h&&null!=e?e:t.sticky=!1},r.$$arity=0)}(dn.base)},Y.$$s=hn,Y.$$arity=0,Y),u).call(z)),_.scripts["$[]="]("standard/modules/locale_description",(u=(H=hn).$proc,u.$$p=(B=function(){B.$$s;return function(t){var n,a,r=n=d(t,"LocaleDescription");r.$$proto,r.$$scope;r.$attr_writer("locale_description"),e.defn(r,"$locale_description",a=function(){var e,t=this;return null==t.locale_description&&(t.locale_description=h),!1!==(e=t.locale_description)&&e!==h&&null!=e?e:t.locale_description=""},a.$$arity=0)}(dn.base)},B.$$s=hn,B.$$arity=0,B),u).call(H)),_.scripts["$[]="]("standard/modules",(u=(L=hn).$proc,u.$$p=(M=function(){var e=M.$$s||this;return e.$script("standard/modules/use"),e.$script("standard/modules/attachable"),e.$script("standard/modules/auto_takes"),e.$script("standard/modules/enterable"),e.$script("standard/modules/explicit_exits"),e.$script("standard/modules/itemizable"),e.$script("standard/modules/parent-room"),e.$script("standard/modules/portable"),e.$script("standard/modules/locale_description")},M.$$s=hn,M.$$arity=0,M),u).call(L)),_.scripts["$[]="]("standard/direction",(u=(E=hn).$proc,u.$$p=(R=function(){R.$$s;return function(t,$super){function n(){}var a,r,$,l,o,s,i=n=y(t,$super,"Direction",n),u=i.$$proto;i.$$scope;return u.adjective=u.name=u.adverb=h,i.$attr_accessor("name","adjective","adverb","reverse"),e.defn(i,"$initialize",a=function(e){var t,n,a,r,$=this;return null==e&&(e=m([],{})),(t=(n=e).$each,t.$$p=(a=function(e,t){var n=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),n.$send(e+"=",t)},a.$$s=$,a.$$arity=2,a),t).call(n),(t=$.$reverse()["$nil?"]()["$!"]())===h||null==t||t.$$is_boolean&&1!=t?h:(t=[$],r=$.$reverse(),r["$reverse="].apply(r,t),t[t.length-1])},a.$$arity=-1),e.defn(i,"$adjective",r=function(){var e,t=this;return!1!==(e=t.adjective)&&e!==h&&null!=e?e:t.name},r.$$arity=0),e.defn(i,"$adverb",$=function(){var e,t=this;return!1!==(e=t.adverb)&&e!==h&&null!=e?e:t.name},$.$$arity=0),e.defn(i,"$reverse=",l=function(e){return this.reverse=e},l.$$arity=1),e.defn(i,"$synonyms",o=function(){var e=this;return e.$adjective()+" "+e.$adverb()},o.$$arity=0),e.defn(i,"$to_s",s=function(){return this.name},s.$$arity=0),function(t){var n,a,r=t.$$scope;t.$$proto;return e.defn(t,"$compass",n=function(){var e,t=this;return null==t.compass&&(t.compass=h),(e=t.compass["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e||(t.compass=m([],{}),t.compass["$[]="]("north",r.get("Direction").$new(m(["name","adjective"],{name:"north",adjective:"northern"}))),t.compass["$[]="]("south",r.get("Direction").$new(m(["name","adjective","reverse"],{name:"south",adjective:"southern",reverse:t.compass["$[]"]("north")}))),t.compass["$[]="]("west",r.get("Direction").$new(m(["name","adjective"],{name:"west",adjective:"western"}))),t.compass["$[]="]("east",r.get("Direction").$new(m(["name","adjective","reverse"],{name:"east",adjective:"eastern",reverse:t.compass["$[]"]("west")}))),t.compass["$[]="]("northwest",r.get("Direction").$new(m(["name","adjective"],{name:"northwest",adjective:"northwestern"}))),t.compass["$[]="]("southeast",r.get("Direction").$new(m(["name","adjective","reverse"],{name:"southeast",adjective:"southeastern",reverse:t.compass["$[]"]("northwest")}))),t.compass["$[]="]("northeast",r.get("Direction").$new(m(["name","adjective"],{name:"northeast",adjective:"northeastern"}))),t.compass["$[]="]("southwest",r.get("Direction").$new(m(["name","adjective","reverse"],{name:"southwest",adjective:"southwestern",reverse:t.compass["$[]"]("northeast")}))),t.compass["$[]="]("up",r.get("Direction").$new(m(["name","adjective"],{name:"up",adjective:"upwards"}))),t.compass["$[]="]("down",r.get("Direction").$new(m(["name","adjective","reverse"],{name:"down",adjective:"downwards",reverse:t.compass["$[]"]("up")})))),t.compass},n.$$arity=0),e.defn(t,"$find",a=function(e){return this.$compass()["$[]"](e.$to_s().$downcase().$to_sym())},a.$$arity=1),h&&"find"}(e.get_singleton_class(i))}(dn.base,null)},R.$$s=hn,R.$$arity=0,R),u).call(E)),_.scripts["$[]="]("standard/entities/thing",(u=(G=hn).$proc,u.$$p=(q=function(){q.$$s;return function(e,$super){function t(){}var n=t=y(e,$super,"Thing",t),a=(n.$$proto,n.$$scope);return n.$include(a.get("Portable")),n.$include(a.get("Itemizable")),n.$include(a.get("ParentRoom")),n.$include(a.get("Attachable")),n.$include(a.get("LocaleDescription"))}(dn.base,dn.get("Gamefic").$$scope.get("Entity"))},q.$$s=hn,q.$$arity=0,q),u).call(G)),_.scripts["$[]="]("standard/entities/character",(u=(W=hn).$proc,u.$$p=(F=function(){var e=F.$$s||this;return function(e,$super){function t(){}var n=t=y(e,$super,"Character",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Gamefic").$$scope.get("Active"))}(dn.base,dn.get("Thing")),e.$player_class(dn.get("Character"))},F.$$s=hn,F.$$arity=0,F),u).call(W)),_.scripts["$[]="]("standard/entities/fixture",(u=(N=hn).$proc,u.$$p=(D=function(){D.$$s;return function(e,$super){function t(){}var n=t=y(e,$super,"Fixture",t);n.$$proto,n.$$scope;return h}(dn.base,dn.get("Thing"))},D.$$s=hn,D.$$arity=0,D),u).call(N)),_.scripts["$[]="]("standard/entities/item",(u=(J=hn).$proc,u.$$p=(Q=function(){Q.$$s;return function(e,$super){function t(){}var n=t=y(e,$super,"Item",t);n.$$proto,n.$$scope;return n.$set_default(m(["portable"],{portable:!0}))}(dn.base,dn.get("Thing"))},Q.$$s=hn,Q.$$arity=0,Q),u).call(J)),_.scripts["$[]="]("standard/entities/portal",(u=(K=hn).$proc,u.$$p=(O=function(){O.$$s;return function(t,$super){function n(){}var a,r,$,l,o,s,i=n=y(t,$super,"Portal",n),u=i.$$proto,c=i.$$scope;return u.direction=u.name=u.destination=h,i.$attr_accessor("destination"),e.defn(i,"$find_reverse",a=function(){try{var t,n,a,r=this,$=h;return(t=r.$destination()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?($=r.$direction().$reverse(),(t=$["$!="](h))===h||null==t||t.$$is_boolean&&1!=t||(t=(n=r.$destination().$children().$that_are(c.get("Portal"))).$each,t.$$p=(a=function(t){a.$$s;if(null==t&&(t=h),!t.$direction()["$=="]($))return h;e.ret(t)},a.$$s=r,a.$$arity=1,a),t).call(n),h):h}catch(t){if(t===e.returner)return t.$v;throw t}},a.$$arity=0),e.defn(i,"$direction",r=function(){return this.direction},r.$$arity=0),e.defn(i,"$direction=",$=function(e){return this.direction=c.get("Direction").$find(e)},$.$$arity=1),e.defn(i,"$name",l=function(){var e,t,n=this;return!1!==(e=n.name)&&e!==h&&null!=e?e:function(){return(t=n.$direction()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?n.$direction().$name():n.$destination().$name()}()},l.$$arity=0),e.defn(i,"$instruction",o=function(){var e,t,n=this;return!1!==(e=n.$direction())&&e!==h&&null!=e?e:function(){return(t=n.$destination())===h||null==t||t.$$is_boolean&&1!=t?n.$name():"to "+n.$destination().$definitely()}()},o.$$arity=0),e.defn(i,"$synonyms",s=function(){var t,n,a=this,r=s.$$p,$=h,l=h;for(s.$$p=null,$=[],l=0;l<arguments.length;l++)$[l]=arguments[l];return(n=a,t=e.find_super_dispatcher(a,"synonyms",s,!1),t.$$p=r,t).apply(n,$)+" "+a.destination+" "+a.direction+" "+function(){return(t=a.$direction()["$nil?"]()["$!"]())===h||null==t||t.$$is_boolean&&1!=t?"":a.$direction().$synonyms()}()},s.$$arity=0),h&&"synonyms"}(dn.base,dn.get("Thing"))},O.$$s=hn,O.$$arity=0,O),u).call(K)),_.scripts["$[]="]("standard/entities/receptacle",(u=(V=hn).$proc,u.$$p=(Z=function(){Z.$$s;return function(e,$super){function t(){}var n=t=y(e,$super,"Receptacle",t),a=(n.$$proto,n.$$scope);return n.$include(a.get("Enterable"))}(dn.base,dn.get("Thing"))},Z.$$s=hn,Z.$$arity=0,Z),u).call(V)),_.scripts["$[]="]("standard/entities/room",(u=(X=hn).$proc,u.$$p=(ee=function(){ee.$$s;return function(n,$super){function a(){}var r,$,l,o,s,i=a=y(n,$super,"Room",a),u=i.$$proto,c=i.$$scope;return u.synonyms=h,i.$include(c.get("ExplicitExits")),e.defn(i,"$connect",r=function(e,t,n,a){var r,$=this;return null==t&&(t=h),null==n&&(n=c.get("Portal")),null==a&&(a=!0),(r=t["$kind_of?"](c.get("Hash")))===h||null==r||r.$$is_boolean&&1!=r?$.$connect2(e,m(["direction","type","two_way"],{direction:t,type:n,two_way:!0})):$.$connect2(e,t)},r.$$arity=-2),e.defn(i,"$synonyms",$=function(){return t(this.synonyms.$to_s()," around here room")},$.$$arity=0),e.defn(i,"$tell",l=function(e){var t,n,a,r=this;return(t=(n=r.$children()).$each,t.$$p=(a=function(t){a.$$s;return null==t&&(t=h),t.$tell(e)},a.$$s=r,a.$$arity=1,a),t).call(n)},l.$$arity=1),e.defn(i,"$find_portal",o=function(e){var t,n,a,r=this,$=h,l=h;return $=e.$to_s(),l=(t=(n=r.$children().$that_are(c.get("Portal"))).$delete_if,t.$$p=(a=function(e){a.$$s;return null==e&&(e=h),e.$direction().$to_s()["$!="]($)},a.$$s=r,a.$$arity=1,a),t).call(n),l["$[]"](0)},o.$$arity=1),i.$private(),e.defn(i,"$connect2",s=function(t,n){var a,r,$,l,o,s=this,i=h,u=h,p=h;if(null==n||!n.$$is_hash){if(null!=n)throw e.ArgumentError.$new("expected kwargs");n=m([],{})}return null==($=n.$$smap.direction)&&($=h),null==(l=n.$$smap.type)&&(l=c.get("Portal")),null==(o=n.$$smap.two_way)&&(o=!0),(a=$["$nil?"]())===h||null==a||a.$$is_boolean&&1!=a?((a=$["$kind_of?"](c.get("String")))===h||null==a||a.$$is_boolean&&1!=a||($=c.get("Direction").$find($)),i=l.$new(m(["direction","parent","destination"],{direction:$,parent:s,destination:t})),l["$=="](c.get("Portal"))&&(a=[!0],r=i,r["$proper_named="].apply(r,a),a[a.length-1]),o["$=="](!0)&&(p=$.$reverse(),p["$=="](h)&&s.$raise($.$name().$cap_first()+" does not have an opposite direction"),u=l.$new(m(["direction","parent","destination"],{direction:p,parent:t,destination:s})),l["$=="](c.get("Portal"))&&(a=[!0],r=u,r["$proper_named="].apply(r,a),a[a.length-1]))):(i=l.$new(m(["parent","destination"],{parent:s,destination:t})),o["$=="](!0)&&(u=l.$new(m(["parent","destination"],{parent:t,destination:s})))),i},s.$$arity=-2),h&&"connect2"}(dn.base,dn.get("Thing"))},ee.$$s=hn,ee.$$arity=0,ee),u).call(X)),_.scripts["$[]="]("standard/entities/scenery",(u=(te=hn).$proc,u.$$p=(ne=function(){ne.$$s;return function(e,$super){function t(){}var n=t=y(e,$super,"Scenery",t);n.$$proto,n.$$scope;return n.$set_default(m(["itemized"],{itemized:!1}))}(dn.base,dn.get("Thing"))},ne.$$s=hn,ne.$$arity=0,ne),u).call(te)),_.scripts["$[]="]("standard/entities/rubble",(u=(ae=hn).$proc,u.$$p=(re=function(){return(re.$$s||this).$script("standard/entities/scenery"),function(e,$super){function t(){}var n=t=y(e,$super,"Rubble",t);return n.$$proto,n.$$scope,h}(dn.base,dn.get("Scenery"))},re.$$s=hn,re.$$arity=0,re),u).call(ae)),_.scripts["$[]="]("standard/entities/supporter",(u=($e=hn).$proc,u.$$p=(le=function(){le.$$s;return function(e,$super){function t(){}var n=t=y(e,$super,"Supporter",t),a=(n.$$proto,n.$$scope);return n.$include(a.get("Enterable")),n.$set_default(m(["enter_verb"],{enter_verb:"get on"})),n.$set_default(m(["leave_verb"],{leave_verb:"get off"})),n.$set_default(m(["inside_verb"],{inside_verb:"be on"}))}(dn.base,dn.get("Thing"))},le.$$s=hn,le.$$arity=0,le),u).call($e)),_.scripts["$[]="]("standard/entities",(u=(oe=hn).$proc,u.$$p=(se=function(){var e=se.$$s||this;return e.$script("standard/entities/thing"),e.$script("standard/entities/character"),e.$script("standard/entities/fixture"),e.$script("standard/entities/item"),e.$script("standard/entities/portal"),e.$script("standard/entities/receptacle"),e.$script("standard/entities/room"),e.$script("standard/entities/scenery"),e.$script("standard/entities/rubble"),e.$script("standard/entities/supporter")},se.$$s=hn,se.$$arity=0,se),u).call(oe)),_.scripts["$[]="]("standard/actions/nil",(u=(ie=hn).$proc,u.$$p=(ue=function(){var e,t,a,r,$,l=ue.$$s||this;return(e=(t=l).$meta,e.$$p=(a=function(e,t){var r,$,l,o,s=a.$$s||this,i=h,u=h,c=h;return null==e&&(e=h),null==t&&(t=h),i=t.$split_words(),u=s.$verbs(),(r=u["$include?"](i["$[]"](0)))===h||null==r||r.$$is_boolean&&1!=r?(c=[],(r=($=u).$each,r.$$p=(l=function(e){var t,a;l.$$s;return null==e&&(e=h),(t=e["$include?"]("_"))===h||null==t||t.$$is_boolean&&1!=t?(a=n(e.$length(),i["$[]"](0).$length()),(t=!1!==a&&a!==h&&null!=a?e["$start_with?"](i["$[]"](0)):a)===h||null==t||t.$$is_boolean&&1!=t?h:c.$push(e)):h},l.$$s=s,l.$$arity=1,l),r).call($),c.$length()["$=="](1)?(i["$[]="](0,c["$[]"](0)),e.$perform(i.$join(" "))):(o=n(c.$length(),1),(r=!1!==o&&o!==h&&null!=o?n(i["$[]"](0).$length(),2):o)===h||null==r||r.$$is_boolean&&1!=r?e.$tell("I don't recognize '"+i["$[]"](0)+"' as a verb."):e.$tell("I'm not sure if "+i["$[]"](0)+" means "+c.$join_and(", "," or ")+"."))):(r=n(i.$length(),1))===h||null==r||r.$$is_boolean&&1!=r?e.$tell("I recognize '"+i["$[]"](0)+"' as a verb but could not understand it in this context."):e.$tell("I recognize '"+i["$[]"](0)+"' as a verb but could not understand the rest of your sentence.")},a.$$s=l,a.$$arity=2,a),e).call(t,h,dn.get("Query").$$scope.get("Text").$new()),(e=(r=l).$meta,e.$$p=($=function(e,t){var n,a=$.$$s||this,r=h;return null==e&&(e=h),null==t&&(t=h),r=t.$split_words(),(n=a.$verbs(m(["to_s"],{to_s:!0}))["$include?"](r["$[]"](0)))===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():e.$tell('I\'m not sure what you mean by "it."')},$.$$s=l,$.$$arity=2,$),e).call(r,h,dn.get("Query").$$scope.get("Text").$new(/^it$/))},ue.$$s=hn,ue.$$arity=0,ue),u).call(ie)),_.scripts["$[]="]("standard/actions/drop",(u=(ce=hn).$proc,u.$$p=(pe=function(){var e,n,a,r,$,l=pe.$$s||this;return(e=(n=l).$respond,e.$$p=(a=function(e,n){var r,$=a.$$s||this;return null==e&&(e=h),null==n&&(n=h),(r=n.$parent()["$!="](e))===h||null==r||r.$$is_boolean&&1!=r?e.$proceed():e.$tell($.$you().$contract(t(t($.$you().$pronoun().$Subj()," "),$.$you().$verb().$be()))+" not carrying "+$.$the(n)+".")},a.$$s=l,a.$$arity=2,a),e).call(n,"drop",dn.get("Use").$family()),(e=(r=l).$respond,e.$$p=($=function(e,t){var n,a,r=$.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=t["$sticky?"]())===h||null==n||n.$$is_boolean&&1!=n?(n=[e.$parent()],a=t,a["$parent="].apply(a,n),n[n.length-1],e.$tell(r.$you().$pronoun().$Subj()+" drop "+r.$the(t)+".")):e.$tell(!1!==(n=t.$sticky_message())&&n!==h&&null!=n?n:r.$you().$pronoun().$Subj()+" "+r.$you().$verb().$need()+" to keep "+r.$the(t)+" for now.")},$.$$s=l,$.$$arity=2,$),e).call(r,"drop",dn.get("Use").$children()),l.$interpret("put down :thing","drop :thing"),l.$interpret("put :thing down","drop :thing")},pe.$$s=hn,pe.$$arity=0,pe),u).call(ce)),_.scripts["$[]="]("standard/actions/enter",(u=(he=hn).$proc,u.$$p=(de=function(){var e,n,a,r,$,l,o,s,i,u=de.$$s||this;return(e=(n=u).$respond,e.$$p=(a=function(e,t){var n=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(n.$The(t)+" "+n.$you().$contract("can not")+" accommodate "+n.$you().$pronoun().$obj()+".")},a.$$s=u,a.$$arity=2,a),e).call(n,"enter",dn.get("Use").$siblings()),(e=(r=u).$respond,e.$$p=($=function(e,t){var n,a,r=$.$$s||this;return null==e&&(e=h),null==t&&(t=h),n=[t],a=e,a["$parent="].apply(a,n),n[n.length-1],e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$verb()["$[]"](t.$enter_verb())+" "+r.$the(t)+".")},$.$$s=u,$.$$arity=2,$),e).call(r,"enter",dn.get("Use").$siblings(dn.get("Enterable"),"enterable?")),(e=(l=u).$respond,e.$$p=(o=function(e,n){var a=o.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell(a.$you().$contract(t(t(a.$you().$pronoun().$subj()," "),a.$you().$verb().$be())).$cap_first()+" already in "+a.$the(n)+".")},o.$$s=u,o.$$arity=2,o),e).call(l,"enter",dn.get("Use").$parent()),(e=(s=u).$respond,e.$$p=(i=function(e,t){var n=i.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(n.$you().$pronoun().$Subj()+" "+n.$you().$verb()["$[]"](t.$enter_verb())+" "+n.$the(t)+" already.")},i.$$s=u,i.$$arity=2,i),e).call(s,"enter",dn.get("Use").$parent(dn.get("Supporter"))),u.$interpret("get on :thing","enter :thing"),u.$interpret("get in :thing","enter :thing")},de.$$s=hn,de.$$arity=0,de),u).call(he)),_.scripts["$[]="]("standard/actions/go",(u=(_e=hn).$proc,u.$$p=(me=function(){var e,n,a,r,$,l,o,s=me.$$s||this;return(e=(n=s).$respond,e.$$p=(a=function(e,t){var n,r,$=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=e.$parent()["$!="](e.$room()))===h||null==n||n.$$is_boolean&&1!=n||e.$perform("leave"),e.$parent()["$=="](e.$room())?(n=t.$destination()["$nil?"]())===h||null==n||n.$$is_boolean&&1!=n?(n=[t.$destination()],r=e,r["$parent="].apply(r,n),n[n.length-1],(n=t.$direction()["$nil?"]()["$!"]())===h||null==n||n.$$is_boolean&&1!=n||e.$tell($.$you().$pronoun().$Subj()+" go "+t.$direction()),e.$perform("look",e.$room())):e.$tell("That portal leads nowhere."):h},a.$$s=s,a.$$arity=2,a),e).call(n,"go",dn.get("Use").$siblings(dn.get("Portal"))),(e=(r=s).$respond,e.$$p=($=function(e,n){var a=$.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell(a.$you().$pronoun().$Subj()+" "+a.$you().$contract(t(a.$you().$verb().$do()," not"))+' see any exit "'+n+'" from here.')},$.$$s=s,$.$$arity=2,$),e).call(r,"go",dn.get("Use").$text()),(e=(l=s).$respond,e.$$p=(o=function(e){o.$$s;return null==e&&(e=h),e.$tell("Where do you want to go?")},o.$$s=s,o.$$arity=1,o),e).call(l,"go"),s.$xlate("north","go north"),s.$xlate("south","go south"),s.$xlate("west","go west"),s.$xlate("east","go east"),s.$xlate("up","go up"),s.$xlate("down","go down"),s.$xlate("northwest","go northwest"),s.$xlate("northeast","go northeast"),s.$xlate("southwest","go southwest"),s.$xlate("southeast","go southeast"),s.$xlate("n","go north"),s.$xlate("s","go south"),s.$xlate("w","go west"),s.$xlate("e","go east"),s.$xlate("u","go up"),s.$xlate("d","go down"),s.$xlate("nw","go northwest"),s.$xlate("ne","go northeast"),s.$xlate("sw","go southwest"),s.$xlate("se","go southeast"),s.$interpret("go to :place","go :place")},me.$$s=hn,me.$$arity=0,me),u).call(_e)),_.scripts["$[]="]("standard/actions/insert",(u=(ye=hn).$proc,u.$$p=(ge=function(){var e,n,a,r,$,l,o,s=ge.$$s||this;return s.$script("standard"),(e=(n=s).$respond,e.$$p=(a=function(e,n,r){var $=a.$$s||this;return null==e&&(e=h),null==n&&(n=h),null==r&&(r=h),e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$contract(t($.$you().$verb().$can()," not"))+" put "+$.$the(n)+" inside "+$.$the(r)+".")},a.$$s=s,a.$$arity=3,a),e).call(n,"insert",dn.get("Use").$available(),dn.get("Use").$available()),(e=(r=s).$respond,e.$$p=($=function(e,t,n){var a,r,l=$.$$s||this;return null==e&&(e=h),null==t&&(t=h),null==n&&(n=h),(a=t["$sticky?"]())===h||null==a||a.$$is_boolean&&1!=a?(e.$tell(l.$you().$pronoun().$Subj()+" put "+l.$the(t)+" in "+l.$the(n)+"."),a=[n],r=t,r["$parent="].apply(r,a),a[a.length-1]):e.$tell(!1!==(a=t.$sticky_message())&&a!==h&&null!=a?a:l.$you().$pronoun().$Subj()+" "+l.$you().$verb().$need()+" to keep "+l.$the(t)+" for now.")},$.$$s=s,$.$$arity=3,$),e).call(r,"insert",dn.get("Use").$children(),dn.get("Use").$available(dn.get("Receptacle"))),(e=(l=s).$respond,e.$$p=(o=function(e,n,a){var r=o.$$s||this
;return null==e&&(e=h),null==n&&(n=h),null==a&&(a=h),n.$parent()["$=="](e)?e.$proceed():e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$contract(t(r.$you().$verb().$do()," not"))+" have "+r.$the(n)+".")},o.$$s=s,o.$$arity=3,o),e).call(l,"insert",dn.get("Use").$available(),dn.get("Use").$available(dn.get("Receptacle"))),s.$interpret("drop :item in :container","insert :item :container"),s.$interpret("put :item in :container","insert :item :container"),s.$interpret("place :item in :container","insert :item :container"),s.$interpret("insert :item in :container","insert :item :container"),s.$interpret("drop :item inside :container","insert :item :container"),s.$interpret("put :item inside :container","insert :item :container"),s.$interpret("place :item inside :container","insert :item :container"),s.$interpret("insert :item inside :container","insert :item :container"),s.$interpret("drop :item into :container","insert :item :container"),s.$interpret("put :item into :container","insert :item :container"),s.$interpret("place :item into :container","insert :item :container"),s.$interpret("insert :item into :container","insert :item :container")},ge.$$s=hn,ge.$$arity=0,ge),u).call(ye)),_.scripts["$[]="]("standard/actions/inventory",(u=(be=hn).$proc,u.$$p=(fe=function(){var e,a,r,$=fe.$$s||this;return(e=(a=$).$respond,e.$$p=(r=function(e){var a,$=r.$$s||this;return null==e&&(e=h),(a=n(e.$children().$length(),0))===h||null==a||a.$$is_boolean&&1!=a?e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$contract(t($.$you().$verb().$be()," not"))+" carrying anything."):e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$verb().$be()+" carrying "+e.$children().$join_and()+".")},r.$$s=$,r.$$arity=1,r),e).call(a,"inventory"),$.$interpret("i","inventory")},fe.$$s=hn,fe.$$arity=0,fe),u).call(be)),_.scripts["$[]="]("standard/actions/leave",(u=(ke=hn).$proc,u.$$p=(ve=function(){var e,n,a,r,$,l,o,s,i,u=ve.$$s||this;return(e=(n=u).$respond,e.$$p=(a=function(e,t){var n=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell("There's no way out of "+n.$the(t)+".")},a.$$s=u,a.$$arity=2,a),e).call(n,"leave",dn.get("Use").$parent()),(e=(r=u).$respond,e.$$p=($=function(e,t){var n,a,r=$.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$verb()["$[]"](t.$leave_verb())+" "+r.$the(t)+"."),n=[t.$parent()],a=e,a["$parent="].apply(a,n),n[n.length-1]},$.$$s=u,$.$$arity=2,$),e).call(r,"leave",dn.get("Use").$parent(dn.get("Enterable"),"enterable?")),(e=(l=u).$respond,e.$$p=(o=function(e,n){var a=o.$$s||this,r=h;return null==e&&(e=h),null==n&&(n=h),r=n.$children().$that_are(dn.get("Portal")),r.$length()["$=="](0)?e.$tell(a.$you().$pronoun().$Subj()+" "+a.$you().$contract(t(a.$you().$verb().$do()," not"))+" see any obvious exits."):r.$length()["$=="](1)?e.$perform("go",r["$[]"](0)):e.$tell("I don't know which way you want to go: "+r.$join_or()+".")},o.$$s=u,o.$$arity=2,o),e).call(l,"leave",dn.get("Use").$room()),(e=(s=u).$respond,e.$$p=(i=function(e){i.$$s;return null==e&&(e=h),e.$perform("leave",e.$parent())},i.$$s=u,i.$$arity=1,i),e).call(s,"leave"),u.$interpret("exit","leave"),u.$interpret("exit :supporter","leave :supporter"),u.$interpret("get on :supporter","enter :supporter"),u.$interpret("get off :supporter","leave :supporter"),u.$interpret("get out :container","leave :container"),u.$interpret("get out of :container","leave :container")},ve.$$s=hn,ve.$$arity=0,ve),u).call(ke)),_.scripts["$[]="]("standard/actions/look",(u=(we=hn).$proc,u.$$p=(Te=function(){var e,t,r,$,l,o,s,i,u,c,p,d,_,m,y,g,b,f=Te.$$s||this;return(e=(t=f).$respond,e.$$p=(r=function(e,t){r.$$s;return null==e&&(e=h),null==t&&(t=h),t["$=="]("around")?e.$perform("look",e.$room()):e.$tell("You don't see any \""+t+'" here.')},r.$$s=f,r.$$arity=2,r),e).call(t,"look",dn.get("Use").$text()),(e=($=f).$respond,e.$$p=(l=function(e,t){l.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell(e.$description()),e.$perform("inventory")},l.$$s=f,l.$$arity=2,l),e).call($,"look",dn.get("Use").$itself()),(e=(o=f).$respond,e.$$p=(s=function(e,t){var n,a,r,$=s.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(t.$description()),(n=(a=t.$children().$that_are("attached?").$that_are("itemized?")).$each,n.$$p=(r=function(n){var a=r.$$s||this;return null==n&&(n=h),e.$tell(a.$An(n)+" is attached to "+a.$the(t)+".")},r.$$s=$,r.$$arity=1,r),n).call(a)},s.$$s=f,s.$$arity=2,s),e).call(o,"look",dn.get("Use").$available(dn.get("Thing"))),(e=(i=f).$respond,e.$$p=(u=function(e,t){var n,a,r=u.$$s||this,$=h;return null==e&&(e=h),null==t&&(t=h),(n=t["$accessible?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():($=t.$children().$that_are_not("attached?").$that_are("itemized?"),(n=!1!==(a=t["$has_description?"]())&&a!==h&&null!=a?a:$["$empty?"]())===h||null==n||n.$$is_boolean&&1!=n||e.$proceed(),(n=$["$empty?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$tell("You see "+$.$join_and()+" on "+r.$the(t)+"."):h)},u.$$s=f,u.$$arity=2,u),e).call(i,"look",dn.get("Use").$available(dn.get("Supporter"))),(e=(c=f).$respond,e.$$p=(p=function(e,t){var n,a=p.$$s||this,r=h;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),(n=t["$accessible?"]())===h||null==n||n.$$is_boolean&&1!=n?h:(r=t.$children().$that_are_not("attached?").$that_are("itemized?"),(n=r["$empty?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$tell("You see "+r.$join_and()+" in "+a.$the(t)+"."):h)},p.$$s=f,p.$$arity=2,p),e).call(c,"look",dn.get("Use").$available(dn.get("Receptacle"))),(e=(d=f).$respond,e.$$p=(_=function(e,t){var n=_.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),e.$tell(n.$you().$pronoun().$Subj()+" are currently on "+n.$the(t)+".")},_.$$s=f,_.$$arity=2,_),e).call(d,"look",dn.get("Use").$parent(dn.get("Supporter"),"enterable?")),(e=(m=f).$respond,e.$$p=(y=function(e,t){var n;y.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell("<strong>"+t.$name().$cap_first()+"</strong>"),(n=t["$has_description?"]())===h||null==n||n.$$is_boolean&&1!=n||e.$tell(t.$description()),e.$execute("_itemize_room")},y.$$s=f,y.$$arity=2,y),e).call(m,"look",dn.get("Use").$room()),(e=(g=f).$respond,e.$$p=(b=function(e){var t,r,$,l,o,s,i,u,c,p,d,_=b.$$s||this,m=h,y=h,g=h,f=h,k=h,v=h,w=h,T=h,S=h;return null==e&&(e=h),m=e.$room(),(t=m["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?(y=[],g=a(m.$children().$that_are(dn.get("Character")).$that_are("itemized?"),[e]),f=[],(t=(r=g).$each,t.$$p=($=function(e){var t;$.$$s;return null==e&&(e=h),(t=e.$locale_description()["$!="](""))===h||null==t||t.$$is_boolean&&1!=t?f.$push(e):y.$push(e)},$.$$s=_,$.$$arity=1,$),t).call(r),(t=n(f.$length(),0))===h||null==t||t.$$is_boolean&&1!=t||e.$tell(f.$join_and().$cap_first()+" "+function(){return f.$length()["$=="](1)?"is":"are"}()+" here."),k=a(a(a(m.$children().$that_are("itemized?"),[e]),m.$children().$that_are(dn.get("Character"))),m.$children().$that_are(dn.get("Portal"))),v=[],(t=(l=k).$each,t.$$p=(o=function(e){var t;o.$$s;return null==e&&(e=h),(t=e.$locale_description()["$!="](""))===h||null==t||t.$$is_boolean&&1!=t?v.$push(e):y.$push(e)},o.$$s=_,o.$$arity=1,o),t).call(l),(t=n(v.$length(),0))===h||null==t||t.$$is_boolean&&1!=t||e.$tell(_.$you().$pronoun().$Subj()+" "+_.$you().$verb().$see()+" "+v.$join_and()+"."),(t=(s=y).$each,t.$$p=(i=function(t){i.$$s;return null==t&&(t=h),e.$tell(t.$locale_description())},i.$$s=_,i.$$arity=1,i),t).call(s),(t=m["$explicit_exits?"]())===h||null==t||t.$$is_boolean&&1!=t||(w=m.$children().$that_are(dn.get("Portal")).$that_are("itemized?"),(t=n(w.$length(),0))===h||null==t||t.$$is_boolean&&1!=t||(w.$length()["$=="](1)?(T=w["$[]"](0),e.$tell("There is an exit "+T.$instruction()+".")):(S=[],(t=(u=w).$each,t.$$p=(c=function(e){c.$$s;return null==e&&(e=h),S.$push(e.$instruction())},c.$$s=_,c.$$arity=1,c),t).call(u),e.$tell("There are exits "+S.$join_and(", ")+".")))),(t=e.$parent()["$kind_of?"](dn.get("Supporter")))===h||null==t||t.$$is_boolean&&1!=t?h:(e.$tell(_.$you().$pronoun().$Subj()+" "+_.$you().$verb().$be()+" on "+_.$the(e.$parent())+"."),(t=(p=e.$parent().$children().$that_are_not(e)).$each,t.$$p=(d=function(t){var n=d.$$s||this;return null==t&&(t=h),e.$tell(n.$A(t)+" is on "+n.$the(e.$parent())+".")},d.$$s=_,d.$$arity=1,d),t).call(p))):h},b.$$s=f,b.$$arity=1,b),e).call(g,"_itemize_room"),f.$interpret("look","look around"),f.$interpret("l","look around"),f.$interpret("look at :thing","look :thing"),f.$interpret("l :thing","look :thing"),f.$interpret("examine :thing","look :thing"),f.$interpret("x :thing","look :thing")},Te.$$s=hn,Te.$$arity=0,Te),u).call(we)),_.scripts["$[]="]("standard/actions/place",(u=(Se=hn).$proc,u.$$p=(Ie=function(){var e,n,a,r,$,l,o,s,i,u,c,p,d,_=Ie.$$s||this;return(e=(n=_).$respond,e.$$p=(a=function(e,n,r){var $=a.$$s||this;return null==e&&(e=h),null==n&&(n=h),null==r&&(r=h),e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$contract(t($.$you().$verb().$can()," not"))+" put "+$.$the(n)+" on "+$.$the(r)+".")},a.$$s=_,a.$$arity=3,a),e).call(n,"place",dn.get("Use").$children(),dn.get("Use").$reachable()),(e=(r=_).$respond,e.$$p=($=function(e,t,n){var a,r,l=$.$$s||this;return null==e&&(e=h),null==t&&(t=h),null==n&&(n=h),(a=t.$parent()["$!="](e))===h||null==a||a.$$is_boolean&&1!=a||e.$perform("take",t),t.$parent()["$=="](e)?(a=[n],r=t,r["$parent="].apply(r,a),a[a.length-1],e.$tell("You put "+l.$the(t)+" on "+l.$the(n)+".")):h},$.$$s=_,$.$$arity=3,$),e).call(r,"place",dn.get("Use").$visible(),dn.get("Use").$reachable(dn.get("Supporter"))),(e=(l=_).$respond,e.$$p=(o=function(e,t,n){var a,r,$=o.$$s||this;return null==e&&(e=h),null==t&&(t=h),null==n&&(n=h),(a=t["$sticky?"]())===h||null==a||a.$$is_boolean&&1!=a?(a=[n],r=t,r["$parent="].apply(r,a),a[a.length-1],e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$verb().$put()+" "+$.$the(t)+" on "+$.$the(n)+".")):e.$tell(!1!==(a=t.$sticky_message())&&a!==h&&null!=a?a:$.$you().$pronoun().$Subj()+" "+$.$you().$verb().$need()+" to keep "+$.$the(t)+" for now.")},o.$$s=_,o.$$arity=3,o),e).call(l,"place",dn.get("Use").$children(),dn.get("Use").$reachable(dn.get("Supporter"))),(e=(s=_).$respond,e.$$p=(i=function(e,n,a){var r=i.$$s||this;return null==e&&(e=h),null==n&&(n=h),null==a&&(a=h),e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$contract(t(r.$you().$verb().$do()," not"))+' see anything called "'+a+'" here.')},i.$$s=_,i.$$arity=3,i),e).call(s,"place",dn.get("Use").$visible(),dn.get("Use").$text()),(e=(u=_).$respond,e.$$p=(c=function(e,n,a){var r=c.$$s||this;return null==e&&(e=h),null==n&&(n=h),null==a&&(a=h),e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$contract(t(r.$you().$verb().$do()," not"))+' see anything called "'+n+'" here.')},c.$$s=_,c.$$arity=3,c),e).call(u,"place",dn.get("Use").$text(),dn.get("Use").$visible()),(e=(p=_).$respond,e.$$p=(d=function(e,t,n){d.$$s;return null==e&&(e=h),null==t&&(t=h),null==n&&(n=h),e.$tell("I don't know what you mean by \""+t+'" or "'+n+'."')},d.$$s=_,d.$$arity=3,d),e).call(p,"place",dn.get("Use").$text(),dn.get("Use").$text()),_.$xlate("put :thing on :supporter","place :thing :supporter"),_.$xlate("put :thing down on :supporter","place :thing :supporter"),_.$xlate("set :thing on :supporter","place :thing :supporter"),_.$xlate("set :thing down on :supporter","place :thing :supporter"),_.$xlate("drop :thing on :supporter","place :thing :supporter"),_.$xlate("place :thing on :supporter","place :thing :supporter")},Ie.$$s=hn,Ie.$$arity=0,Ie),u).call(Se)),_.scripts["$[]="]("standard/actions/quit",(u=(je=hn).$proc,u.$$p=(xe=function(){var e,t,n,a,r,$=xe.$$s||this,l=h;return l=(e=(t=$).$yes_or_no,e.$$p=(n=function(e,t){var a,r=n.$$s||this;return null==e&&(e=h),null==t&&(t=h),(a=t["$yes?"]())===h||null==a||a.$$is_boolean&&1!=a?e.$cue(r.$default_scene()):e.$cue(r.$default_conclusion())},n.$$s=$,n.$$arity=2,n),e).call(t,"Are you sure you want to quit?"),(e=(a=$).$meta,e.$$p=(r=function(e){r.$$s;return null==e&&(e=h),e.$cue(l)},r.$$s=$,r.$$arity=1,r),e).call(a,"quit")},xe.$$s=hn,xe.$$arity=0,xe),u).call(je)),_.scripts["$[]="]("standard/actions/take",(u=(Ae=hn).$proc,u.$$p=(Ue=function(){var e,n,a,r,$,l,o,s,i,u=Ue.$$s||this;return(e=(n=u).$respond,e.$$p=(a=function(e,n){var r=a.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$contract(t(r.$you().$verb().$do()," not"))+' see any "'+n+'" here.')},a.$$s=u,a.$$arity=2,a),e).call(n,"take",dn.get("Use").$text()),(e=(r=u).$respond,e.$$p=($=function(e,n){var a,r,l=$.$$s||this;return null==e&&(e=h),null==n&&(n=h),n.$parent()["$=="](e)?e.$tell(l.$you().$contract(t(l.$you().$pronoun().$subj()," are")).$cap_first()+" already carrying "+l.$the(n)+"."):(a=n["$portable?"]())===h||null==a||a.$$is_boolean&&1!=a?e.$tell(l.$you().$pronoun().$Subj()+" "+l.$you().$contract(t(l.$you().$verb().$can()," not"))+" take "+l.$the(n)+"."):((a=e.$parent()["$!="](n.$parent()))===h||null==a||a.$$is_boolean&&1!=a?e.$tell(l.$you().$pronoun().$Subj()+" "+l.$you().$verb().$take()+" "+l.$the(n)+"."):e.$tell(l.$you().$pronoun().$Subj()+" "+l.$you().$verb().$take()+" "+l.$the(n)+" from "+l.$the(n.$parent())+"."),a=[e],r=n,r["$parent="].apply(r,a),a[a.length-1])},$.$$s=u,$.$$arity=2,$),e).call(r,"take",dn.get("Use").$available()),(e=(l=u).$respond,e.$$p=(o=function(e,t){var n=o.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(n.$The(t)+" is attached to "+n.$the(t.$parent())+".")},o.$$s=u,o.$$arity=2,o),e).call(l,"take",dn.get("Use").$available("attached?")),(e=(s=u).$respond,e.$$p=(i=function(e,n){var a=i.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell(a.$you().$pronoun().$Subj()+" "+a.$you().$contract(t(a.$you().$verb().$do()," not"))+" have any use for "+a.$the(n)+".")},i.$$s=u,i.$$arity=2,i),e).call(s,"take",dn.get("Use").$available(dn.get("Rubble"))),u.$interpret("get :thing","take :thing"),u.$interpret("pick up :thing","take :thing"),u.$interpret("pick :thing up","take :thing"),u.$interpret("carry :thing","take :thing")},Ue.$$s=hn,Ue.$$arity=0,Ue),u).call(Ae)),_.scripts["$[]="]("standard/actions/talk",(u=(Ce=hn).$proc,u.$$p=(Pe=function(){var e,t,n,a,r,$,l,o,s,i=Pe.$$s||this;return(e=(t=i).$respond,e.$$p=(n=function(e){var t=n.$$s||this;return null==e&&(e=h),e.$tell(t.$you().$pronoun().$Subj()+" "+t.$you().$verb().$talk()+" to "+t.$you().$pronoun().$reflex()+".")},n.$$s=i,n.$$arity=1,n),e).call(t,"talk"),(e=(a=i).$respond,e.$$p=(r=function(e,t){r.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("talk")},r.$$s=i,r.$$arity=2,r),e).call(a,"talk",dn.get("Use").$itself()),(e=($=i).$respond,e.$$p=(l=function(e,t){l.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell("Nothing happens.")},l.$$s=i,l.$$arity=2,l),e).call($,"talk",dn.get("Use").$available()),(e=(o=i).$respond,e.$$p=(s=function(e,t){var n=s.$$s||this;return null==e&&(e=h),null==t&&(t=h),e["$=="](t)?e.$perform("talk"):e.$tell(n.$The(t)+" has nothing to say.")},s.$$s=i,s.$$arity=2,s),e).call(o,"talk",dn.get("Use").$available(dn.get("Character"))),i.$interpret("talk to :character","talk :character"),i.$interpret("talk to :character about :subject","talk :character :subject"),i.$interpret("ask :character :subject","talk :character :subject"),i.$interpret("ask :character about :subject","talk :character :subject"),i.$interpret("tell :character :subject","talk :character :subject"),i.$interpret("tell :character about :subject","talk :character :subject"),i.$interpret("ask :character for :subject","talk :character :subject")},Pe.$$s=hn,Pe.$$arity=0,Pe),u).call(Ce)),_.scripts["$[]="]("standard/actions/wait",(u=(ze=hn).$proc,u.$$p=(Ye=function(){var e,t,n,a=Ye.$$s||this;return(e=(t=a).$respond,e.$$p=(n=function(e){n.$$s;return null==e&&(e=h),e.$tell("Time passes.")},n.$$s=a,n.$$arity=1,n),e).call(t,"wait")},Ye.$$s=hn,Ye.$$arity=0,Ye),u).call(ze)),_.scripts["$[]="]("standard/actions",(u=(He=hn).$proc,u.$$p=(Be=function(){var e=Be.$$s||this;return e.$script("standard/actions/nil"),e.$script("standard/actions/drop"),e.$script("standard/actions/enter"),e.$script("standard/actions/go"),e.$script("standard/actions/insert"),e.$script("standard/actions/inventory"),e.$script("standard/actions/leave"),e.$script("standard/actions/look"),e.$script("standard/actions/place"),e.$script("standard/actions/quit"),e.$script("standard/actions/take"),e.$script("standard/actions/talk"),e.$script("standard/actions/wait")},Be.$$s=hn,Be.$$arity=0,Be),u).call(He)),_.scripts["$[]="]("standard",(u=(Le=hn).$proc,u.$$p=(Me=function(){var e=Me.$$s||this;return e.$script("standard/queries"),e.$script("standard/modules"),e.$script("standard/direction"),e.$script("standard/entities"),e.$script("standard/actions")},Me.$$s=hn,Me.$$arity=0,Me),u).call(Le)),_.scripts["$[]="]("standard/openable",(u=(Ee=hn).$proc,u.$$p=(Re=function(){var t,n,a,r,$,l,o,s,i,u=Re.$$s||this;return function(t){var n,a,r,$,l,o=n=d(t,"Openable");o.$$proto,o.$$scope;o.$attr_writer("openable"),e.defn(o,"$open=",a=function(e){return this.open=e},a.$$arity=1),e.defn(o,"$open?",r=function(){var e,t=this;return null==t.open&&(t.open=h),!1!==(e=t.open)&&e!==h&&null!=e?e:t.open=!1},r.$$arity=0),e.defn(o,"$closed?",$=function(){return this["$open?"]()["$!"]()},$.$$arity=0),e.defn(o,"$accessible?",l=function(){return this["$open?"]()},l.$$arity=0)}(dn.base),(t=(n=u).$respond,t.$$p=(a=function(e,t){var n=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell("You can't open "+n.$the(t)+".")},a.$$s=u,a.$$arity=2,a),t).call(n,"open",dn.get("Use").$available()),(t=(r=u).$respond,t.$$p=($=function(e,t){var n,a,r=$.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=t["$open?"]())===h||null==n||n.$$is_boolean&&1!=n?(e.$tell("You open "+r.$the(t)+"."),n=[!0],a=t,a["$open="].apply(a,n),n[n.length-1]):e.$tell(r.$The(t)+" is already open.")},$.$$s=u,$.$$arity=2,$),t).call(r,"open",dn.get("Use").$available(dn.get("Openable"))),(t=(l=u).$respond,t.$$p=(o=function(e,t){var n=o.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell("You can't close "+n.$the(t)+".")},o.$$s=u,o.$$arity=2,o),t).call(l,"close",dn.get("Use").$available()),(t=(s=u).$respond,t.$$p=(i=function(e,t){var n,a,r=i.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=t["$open?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$tell(r.$The(t)+" is already open."):(e.$tell("You close "+r.$the(t)+"."),n=[!1],a=t,a["$open="].apply(a,n),n[n.length-1])},i.$$s=u,i.$$arity=2,i),t).call(s,"close",dn.get("Use").$available(dn.get("Openable")))},Re.$$s=hn,Re.$$arity=0,Re),u).call(Ee)),_.scripts["$[]="]("standard/lockable",(u=(Ge=hn).$proc,u.$$p=(qe=function(){var n,a,r,$,l,o,s,i,u,c,p,_,m,y,g,b=qe.$$s||this;return b.$script("standard/openable"),function(t){var n,a,r,$,l,o=n=d(t,"Lockable"),s=(o.$$proto,o.$$scope);o.$include(s.get("Openable")),o.$attr_accessor("lock_key"),e.defn(o,"$locked=",a=function(e){var t,n,a=this;return null==a.locked&&(a.locked=h),a.locked=e,a.locked["$=="](!0)?(t=[!1],n=a,n["$open="].apply(n,t),t[t.length-1]):h},a.$$arity=1),e.defn(o,"$open=",r=function(e){var t=this;return null==t.open&&(t.open=h),t.open=e,t.open["$=="](!0)?t.locked=!1:h},r.$$arity=1),e.defn(o,"$locked?",$=function(){var e,t=this;return null==t.locked&&(t.locked=h),!1!==(e=t.locked)&&e!==h&&null!=e?e:t.locked=!1},$.$$arity=0),e.defn(o,"$has_lock_key?",l=function(){var e=this;return null==e.lock_key&&(e.lock_key=h),e.lock_key["$nil?"]()["$!"]()},l.$$arity=0)}(dn.base),(n=(a=b).$respond,n.$$p=(r=function(e,n){var a=r.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell(a.$you().$pronoun().$Subj()+" "+a.$you().$contract(t(a.$you().$verb().$can()," not"))+" lock "+a.$the(n)+".")},r.$$s=b,r.$$arity=2,r),n).call(a,"lock",dn.get("Use").$available()),(n=($=b).$respond,n.$$p=(l=function(e,n){var a,r,$=l.$$s||this,o=h,s=h;return null==e&&(e=h),null==n&&(n=h),o=function(){return(a=n["$locked?"]())===h||null==a||a.$$is_boolean&&1!=a?"lock":"unlock"}(),s=h,n.$lock_key().$parent()["$=="](e)&&(s=n.$lock_key()),(a=s["$nil?"]())===h||null==a||a.$$is_boolean&&1!=a?(e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$verb()["$[]"]("verb")+" "+$.$the(n)+" with "+$.$the(s)+"."),a=[n["$locked?"]()["$!"]()],r=n,r["$locked="].apply(r,a),a[a.length-1]):e.$tell($.$you().$pronoun().$Subj()+" "+$.$you().$contract(t($.$you().$verb().$do()," not"))+" have any way to "+o+" "+$.$the(n)+".")},l.$$s=b,l.$$arity=2,l),n).call($,"_toggle_lock",dn.get("Use").$available(dn.get("Lockable"),"has_lock_key?")),(n=(o=b).$respond,n.$$p=(s=function(e,n,a){var r=s.$$s||this;return null==e&&(e=h),null==n&&(n=h),null==a&&(a=h),n.$lock_key()["$=="](a)?e.$perform("_toggle_lock",n):e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$contract(t(r.$you().$verb().$can()," not"))+" unlock "+r.$the(n)+" with "+r.$the(a)+".")},s.$$s=b,s.$$arity=3,s),n).call(o,"lock",dn.get("Use").$available(dn.get("Lockable"),"has_lock_key?"),dn.get("Use").$children()),(n=(i=b).$respond,n.$$p=(u=function(e,t,n){var a;u.$$s;return null==e&&(e=h),null==t&&(t=h),null==n&&(n=h),(a=n.$parent()["$!="](e))===h||null==a||a.$$is_boolean&&1!=a||e.$perform("take",n),n.$parent()["$=="](e)?e.$proceed():h},u.$$s=b,u.$$arity=3,u),n).call(i,"lock",dn.get("Use").$available(dn.get("Lockable"),"has_lock_key?"),dn.get("Use").$available()),(n=(c=b).$respond,n.$$p=(p=function(e,n){var a=p.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell(a.$you().$pronoun().$Subj()+" "+a.$you().$contract(t(a.$you().$verb().$can()," not"))+" unlock "+a.$the(n)+".")},p.$$s=b,p.$$arity=2,p),n).call(c,"unlock",dn.get("Use").$available()),(n=(_=b).$respond,n.$$p=(m=function(e,n,a){var r=m.$$s||this;return null==e&&(e=h),null==n&&(n=h),null==a&&(a=h),n.$lock_key()["$=="](a)?e.$perform("_toggle_lock",n):e.$tell(r.$you().$pronoun().$Subj()+" "+r.$you().$contract(t(r.$you().$verb().$can()," not"))+" unlock "+r.$the(n)+" with "+r.$the(a)+".")},m.$$s=b,m.$$arity=3,m),n).call(_,"unlock",dn.get("Use").$available(dn.get("Lockable"),"has_lock_key?"),dn.get("Use").$children()),(n=(y=b).$respond,n.$$p=(g=function(e,t,n){var a;g.$$s;return null==e&&(e=h),null==t&&(t=h),null==n&&(n=h),(a=n.$parent()["$!="](e))===h||null==a||a.$$is_boolean&&1!=a||e.$perform("take",n),n.$parent()["$=="](e)?e.$proceed():h},g.$$s=b,g.$$arity=3,g),n).call(y,"unlock",dn.get("Use").$available(dn.get("Lockable"),"has_lock_key?"),dn.get("Use").$available()),b.$interpret("lock :container with :key","lock :container :key")},qe.$$s=hn,qe.$$arity=0,qe),u).call(Ge)),_.scripts["$[]="]("standard/container",(u=(We=hn).$proc,u.$$p=(Fe=function(){var e,t,n,a,r,$,l,o=Fe.$$s||this;return o.$script("standard/openable"),o.$script("standard/lockable"),function(e,$super){function t(){}var n=t=y(e,$super,"Container",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Openable")),n.$include(a.get("Lockable"))}(dn.base,dn.get("Receptacle")),(e=(t=o).$respond,e.$$p=(n=function(e,t,a){var r,$=n.$$s||this;return null==e&&(e=h),null==t&&(t=h),null==a&&(a=h),(r=a["$open?"]())===h||null==r||r.$$is_boolean&&1!=r?e.$tell($.$The(a)+" is closed."):e.$proceed()},n.$$s=o,n.$$arity=3,n),e).call(t,"insert",dn.get("Use").$available(),dn.get("Use").$available(dn.get("Container"))),(e=(a=o).$respond,e.$$p=(r=function(e,t){var n=r.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(n.$The(t)+" is closed.")},r.$$s=o,r.$$arity=2,r),e).call(a,"leave",dn.get("Use").$parent(dn.get("Container"),"enterable?","closed?")),(e=($=o).$respond,e.$$p=(l=function(e,t){var n=l.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell(n.$The(t)+" is closed.")},l.$$s=o,l.$$arity=2,l),e).call($,"enter",dn.get("Use").$siblings(dn.get("Container"),"enterable?","closed?"))},Fe.$$s=hn,Fe.$$arity=0,Fe),u).call(We)),_.scripts["$[]="]("standard/pathfinder",(u=(Ne=hn).$proc,u.$$p=(De=function(){De.$$s;return function(a,$super){function r(){}var $,l,o,s,i=r=y(a,$super,"Pathfinder",r),u=i.$$proto,c=i.$$scope;return u.origin=u.destination=u.path=u.paths=h,i.$attr_reader("origin"),i.$attr_reader("destination"),e.defn(i,"$initialize",$=function(e,t){var a,r,$=this;if($.origin=e,$.destination=t,$.path=h,$.paths=[[$.origin]],$.visited=[],$.origin["$=="]($.destination))return $.path=[];for(;r=$.path["$nil?"](),(a=!1!==r&&r!==h&&null!=r?n($.paths.$length(),0):r)!==h&&null!=a&&(!a.$$is_boolean||1==a);)$.$embark()},$.$$arity=2),e.defn(i,"$path",l=function(){var e;return!1!==(e=this.path)&&e!==h&&null!=e?e:[]},l.$$arity=0),e.defn(i,"$valid?",o=function(){var e,t=this;return!1!==(e=n(t.$path().$length(),0))&&e!==h&&null!=e?e:t.$origin()["$=="](t.$destination())},o.$$arity=0),i.$private(),e.defn(i,"$embark",s=function(){var n,a,r,$,l,o=this,s=h;return s=[],(n=(a=o.paths).$each,n.$$p=(r=function(t){var n,a,$,l=r.$$s||this,o=h,i=h;return null==t&&(t=h),o=t.$last(),i=o.$children().$that_are(c.get("Portal")),function(){var r=e.new_brk();try{(n=(a=i).$each,n.$$p=($=function(n){var a,l=$.$$s||this,o=h;return null==l.visited&&(l.visited=h),null==l.destination&&(l.destination=h),null==l.path&&(l.path=h),null==n&&(n=h),o=t.$clone(),(a=l.visited["$include?"](n.$destination())["$!"]())===h||null==a||a.$$is_boolean&&1!=a?h:(o.$push(n.$destination()),l.visited.$push(n.$destination()),n.$destination()["$=="](l.destination)&&(l.path=o,l.path.$shift(),e.brk(h,r)),s.$push(o))},$.$$s=l,$.$$brk=r,$.$$arity=1,$),n).call(a)}catch(e){if(e===r)return e.$v;throw e}}(),t.$push(h)},r.$$s=o,r.$$arity=1,r),n).call(a),o.paths=t(o.paths,s),(n=($=o.paths).$delete_if,n.$$p=(l=function(e){l.$$s;return null==e&&(e=h),e.$last()["$nil?"]()},l.$$s=o,l.$$arity=1,l),n).call($)},s.$$arity=0),h&&"embark"}(dn.base,null)},De.$$s=hn,De.$$arity=0,De),u).call(Ne)),_.scripts["$[]="]("wallpaper",(u=(Je=hn).$proc,u.$$p=(Qe=function(){var t,n,a,r,$,l,o,s,i,u=Qe.$$s||this;return function(t){var n,a,r=n=d(t,"Image");r.$$proto,r.$$scope;r.$attr_accessor("image"),r.$attr_writer("text_align"),e.defn(r,"$text_align",a=function(){var e,t=this;return null==t.text_align&&(t.text_align=h),!1!==(e=t.text_align)&&e!==h&&null!=e?e:t.text_align="top"},a.$$arity=0)}(dn.base),function(e,$super){function t(){}var n=t=y(e,$super,"Thing",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Image"))}(dn.base,null),function(t){var n,a,r,$,l,o=n=d(t,"Wallpaper");o.$$proto,o.$$scope;o.$attr_reader("wallpaper"),e.defn(o,"$choose_wallpaper",a=function(e){var t,n=this;return(t=e.$image()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?n.wallpaper=e:h},a.$$arity=1),e.defn(o,"$has_wallpaper?",r=function(){var e=this;return null==e.wallpaper&&(e.wallpaper=h),e.wallpaper["$nil?"]()["$!"]()},r.$$arity=0),e.defn(o,"$clear_wallpaper",$=function(){return this.wallpaper=h},$.$$arity=0),e.defn(o,"$state",l=function(){var t,n,a=this,r=l.$$p,$=h,o=h,s=h;for(l.$$p=null,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return $=(n=a,t=e.find_super_dispatcher(a,"state",l,!1),t.$$p=r,t).apply(n,o),((t=a.$wallpaper()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t)&&$["$merge!"](m(["wallpaper","text_align","scene_class"],{wallpaper:a.$wallpaper().$image(),text_align:a.$wallpaper().$text_align(),scene_class:a.$scene().$class().$ancestors().$join(";")})),$},l.$$arity=0)}(dn.base),function(e,$super){function t(){}var n=t=y(e,$super,"Character",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Wallpaper"))}(dn.base,null),(t=(n=u).$before_player_update,t.$$p=(a=function(e){a.$$s;return null==e&&(e=h),e.$clear_wallpaper()},a.$$s=u,a.$$arity=1,a),t).call(n),(t=(r=u).$on_player_ready,t.$$p=($=function(e){var t;$.$$s;return null==e&&(e=h),(t=e["$has_wallpaper?"]())===h||null==t||t.$$is_boolean&&1!=t?(e.$choose_wallpaper(e.$room()),e.$choose_wallpaper(e.$parent())):h},$.$$s=u,$.$$arity=1,$),t).call(r),(t=(l=u).$respond,t.$$p=(o=function(e,t){o.$$s;return null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(t),e.$proceed()},o.$$s=u,o.$$arity=2,o),t).call(l,"look",dn.get("Use").$available(dn.get("Thing"))),(t=(s=u).$respond,t.$$p=(i=function(e,t){i.$$s;return null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(t),e.$proceed()},i.$$s=u,i.$$arity=2,i),t).call(s,"talk",dn.get("Use").$available(dn.get("Character")))},Qe.$$s=hn,Qe.$$arity=0,Qe),u).call(Je)),_.scripts["$[]="]("suggestible",(u=(Ke=hn).$proc,u.$$p=(Oe=function(){var n,a,r,$,l,o=Oe.$$s||this;return function(t,$super){function n(){}var a,r,$,l,o=n=y(t,$super,"Suggestions",n),s=o.$$proto;o.$$scope;s.current=s.previous=h,e.defn(o,"$current",a=function(){var e,t=this;return!1!==(e=t.current)&&e!==h&&null!=e?e:t.current=[]},a.$$arity=0),e.defn(o,"$previous",r=function(){var e,t=this;return!1!==(e=t.previous)&&e!==h&&null!=e?e:t.previous=[]},r.$$arity=0),e.defn(o,"$update",$=function(){var e=this;return e.$previous().$clear(),e.$previous().$concat(e.$current()),e.$current().$clear()},$.$$arity=0),e.defn(o,"$clear",l=function(){var e=this;return e.$previous().$clear(),e.$current().$clear()},l.$$arity=0)}(dn.base,null),function(t){var n,a,r,$,l=n=d(t,"Suggestible"),o=(l.$$proto,l.$$scope);e.defn(l,"$suggestions",a=function(){var e,t=this;return null==t.suggestions&&(t.suggestions=h),!1!==(e=t.suggestions)&&e!==h&&null!=e?e:t.suggestions=o.get("Suggestions").$new()},a.$$arity=0),e.defn(l,"$suggest",r=function(){var e,t,n,a,r=this,$=arguments.length,l=$-0;l<0&&(l=0),a=new Array(l);for(var o=0;o<$;o++)a[o-0]=arguments[o];return(e=(t=a.$flatten()).$each,e.$$p=(n=function(e){var t,a=n.$$s||this;return null==e&&(e=h),(t=a.$suggestions().$current()["$include?"](e))===h||null==t||t.$$is_boolean&&1!=t?a.$suggestions().$current().$push(e):h},n.$$s=r,n.$$arity=1,n),e).call(t)},r.$$arity=-1),e.defn(l,"$state",$=function(){var t,n,a,r,l=this,o=$.$$p,s=h,i=h,u=h;for($.$$p=null,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];return t=l.$scene()["$nil?"]()["$!"](),s=!1!==t&&t!==h&&null!=t?function(){return l.$scene().$type()["$=="]("Activity")?(n=(a=l.$suggestions().$current()).$map,n.$$p=(r=function(e){r.$$s;return null==e&&(e=h),e.$cap_first()},r.$$s=l,r.$$arity=1,r),n).call(a):[]}():t,(n=l,t=e.find_super_dispatcher(l,"state",$,!1),t.$$p=o,t).apply(n,i).$merge(m(["suggestions","last_action"],{suggestions:s,last_action:l.$last_action().$inspect()}))},$.$$arity=0)}(dn.base),function(e,$super){function t(){}var n=t=y(e,$super,"Character",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Suggestible"))}(dn.base,null),(n=(a=o).$before_player_update,n.$$p=(r=function(e){var t,n=r.$$s||this;return null==e&&(e=h),(t=e["$will_cue?"](n.$default_scene()))===h||null==t||t.$$is_boolean&&1!=t?e.$suggestions().$clear():e.$suggestions().$update()},r.$$s=o,r.$$arity=1,r),n).call(a),(n=($=o).$meta,n.$$p=(l=function(e){var n,a,r,$=l.$$s||this,o=h;return null==e&&(e=h),(n=e.$suggestions().$previous()["$empty?"]())===h||null==n||n.$$is_boolean&&1!=n?(o="<ul>",(n=(a=e.$suggestions().$previous().$sort()).$each,n.$$p=(r=function(e){r.$$s;return null==e&&(e=h),o=t(o,"<li>"+e+"</li>")},r.$$s=$,r.$$arity=1,r),n).call(a),o=t(o,"</ul>"),e.$stream(o)):e.$tell("No suggestions are available.")},l.$$s=o,l.$$arity=1,l),n).call($,"suggest")},Oe.$$s=hn,Oe.$$arity=0,Oe),u).call(Ke)),_.scripts["$[]="]("autosuggest",(u=(Ve=hn).$proc,u.$$p=(Ze=function(){var n,a,r,$,l,o,s,i,u,c,p,_,m,g=Ze.$$s||this;return g.$script("suggestible"),function(n){var a,r,$,l,o,s,i=a=d(n,"LookSuggester");i.$$proto,i.$$scope;e.defn(i,"$default_commands",r=function(){var e=this;return["examine "+e.$definitely()]},r.$$arity=0),e.defn(i,"$add_command",$=function(e){return this.$extended_commands().$push(e)},$.$$arity=1),e.defn(i,"$available_commands",l=function(){var e=this;return t(e.$default_commands(),e.$extended_commands())},l.$$arity=0),e.defn(i,"$suggest_to",o=function(t){var n,a,r,$=this;return t["$=="]($)?h:((n=t).$suggest.apply(n,e.to_a($.$available_commands())),r=$["$portable?"](),(a=!1!==r&&r!==h&&null!=r?$.$parent()["$!="](t):r)===h||null==a||a.$$is_boolean&&1!=a?h:t.$suggest("take "+$.$definitely()))},o.$$arity=1),i.$private(),e.defn(i,"$extended_commands",s=function(){var e,t=this;return null==t.extended_commands&&(t.extended_commands=h),!1!==(e=t.extended_commands)&&e!==h&&null!=e?e:t.extended_commands=[]},s.$$arity=0)}(dn.base),function(e,$super){function t(){}var n=t=y(e,$super,"Thing",t),a=(n.$$proto,n.$$scope);n.$include(a.get("LookSuggester"))}(dn.base,null),function(t,$super){function n(){}var a,r=n=y(t,$super,"Portal",n);r.$$proto,r.$$scope;e.defn(r,"$default_commands",a=function(){var e,t=this;return["go "+function(){return(e=t.$direction()["$nil?"]())===h||null==e||e.$$is_boolean&&1!=e?t.$direction():"to "+t.$destination().$definitely()}()]},a.$$arity=0)}(dn.base,null),function(t,$super){function n(){}var a,r=n=y(t,$super,"Container",n);r.$$proto,r.$$scope;e.defn(r,"$default_commands",a=function(){var t,n,r=this,$=a.$$p,l=h,o=h,s=h;for(a.$$p=null,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return l=(n=r,t=e.find_super_dispatcher(r,"default_commands",a,!1),t.$$p=$,t).apply(n,o),(t=r["$open?"]())===h||null==t||t.$$is_boolean&&1!=t?l.$push("open "+r.$definitely()):l.$push("close "+r.$definitely())},a.$$arity=0)}(dn.base,null),function(t,$super){function n(){}var a,r,$=n=y(t,$super,"Room",n);$.$$proto,$.$$scope
;e.defn($,"$default_commands",a=function(){return[]},a.$$arity=0),e.defn($,"$suggest_to",r=function(t){var n,a,$,l,o=this,s=r.$$p,i=h,u=h;for(r.$$p=null,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];return(a=o,n=e.find_super_dispatcher(o,"suggest_to",r,!1),n.$$p=s,n).apply(a,i),(n=($=o.$children()).$each,n.$$p=(l=function(n){var a;l.$$s;return null==n&&(n=h),n["$=="](t)?h:(a=t).$suggest.apply(a,e.to_a(n.$default_commands()))},l.$$s=o,l.$$arity=1,l),n).call($)},r.$$arity=1)}(dn.base,null),function(t,$super){function n(){}var a,r=n=y(t,$super,"Character",n);r.$$proto,r.$$scope;e.defn(r,"$default_commands",a=function(){var t,n,r=this,$=a.$$p,l=h,o=h;for(a.$$p=null,l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return(n=r,t=e.find_super_dispatcher(r,"default_commands",a,!1),t.$$p=$,t).apply(n,l).$push("talk to "+r.$definitely())},a.$$arity=0)}(dn.base,null),(n=(a=g).$on_player_ready,n.$$p=(r=function(e){var t,n,a,$=r.$$s||this;return null==$.bottle&&($.bottle=h),null==e&&(e=h),(t=e["$will_cue?"]($.$default_scene()))===h||null==t||t.$$is_boolean&&1!=t?h:(e.$suggest("look around"),e.$suggest("inventory"),((t=e.$room()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t)&&e.$room().$suggest_to(e),(t=!1!==(n=e.$last_action()["$nil?"]())&&n!==h&&null!=n?n:e.$last_action().$verb()["$=="]("go"))===h||null==t||t.$$is_boolean&&1!=t?e.$last_action().$verb()["$=="]("inventory")?((t=(n=e.$children()).$each,t.$$p=(a=function(t){a.$$s;return null==t&&(t=h),t.$suggest_to(e)},a.$$s=$,a.$$arity=1,a),t).call(n),$.bottle.$parent()["$=="](e)?e.$suggest("drop "+$.$the($.bottle)):h):(t=e.$last_action().$verb()["$=="]("look")?e.$last_action().$arguments()["$[]"](0)["$kind_of?"](dn.get("Gamefic").$$scope.get("Entity")):e.$last_action().$verb()["$=="]("look"))===h||null==t||t.$$is_boolean&&1!=t?h:e.$last_action().$arguments()["$[]"](0).$suggest_to(e):e.$parent().$suggest_to(e))},r.$$s=g,r.$$arity=1,r),n).call(a),(n=($=g).$respond,n.$$p=(l=function(e,t){var n,a;l.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),t.$suggest_to(e),(n=t.$parent()["$=="](e.$parent())?!1!==(a=t["$accessible?"]()["$!"]())&&a!==h&&null!=a?a:t.$children()["$empty?"]():t.$parent()["$=="](e.$parent()))===h||null==n||n.$$is_boolean&&1!=n?h:e.$parent().$suggest_to(e)},l.$$s=g,l.$$arity=2,l),n).call($,"look",dn.get("Use").$available()),(n=(o=g).$respond,n.$$p=(s=function(e,t){s.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),t.$suggest_to(e)},s.$$s=g,s.$$arity=2,s),n).call(o,"take",dn.get("Use").$available()),(n=(i=g).$respond,n.$$p=(u=function(e){var t,n,a,r=u.$$s||this;return null==e&&(e=h),(t=(n=e.$children()).$each,t.$$p=(a=function(t){a.$$s;return null==t&&(t=h),t.$suggest_to(e)},a.$$s=r,a.$$arity=1,a),t).call(n),e.$proceed()},u.$$s=g,u.$$arity=1,u),n).call(i,"inventory"),(n=(c=g).$respond,n.$$p=(p=function(e,t){var n,a,r,$=p.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=t["$accessible?"]())===h||null==n||n.$$is_boolean&&1!=n||(n=(a=t.$children()).$each,n.$$p=(r=function(t){var n,a=r.$$s||this;return null==t&&(t=h),(n=t["$portable?"]())===h||null==n||n.$$is_boolean&&1!=n||e.$suggest("take "+a.$the(t)),e.$suggest("examine "+a.$the(t))},r.$$s=$,r.$$arity=1,r),n).call(a),e.$proceed()},p.$$s=g,p.$$arity=2,p),n).call(c,"look",dn.get("Use").$available(dn.get("Receptacle"))),(n=(_=g).$respond,n.$$p=(m=function(e,t){var n,a,r,$=m.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=t["$accessible?"]())===h||null==n||n.$$is_boolean&&1!=n||(n=(a=t.$children()).$each,n.$$p=(r=function(t){var n,a=r.$$s||this;return null==t&&(t=h),(n=t["$portable?"]())===h||null==n||n.$$is_boolean&&1!=n||e.$suggest("take "+a.$the(t)),e.$suggest("examine "+a.$the(t))},r.$$s=$,r.$$arity=1,r),n).call(a),e.$proceed()},m.$$s=g,m.$$arity=2,m),n).call(_,"look",dn.get("Use").$available(dn.get("Supporter")))},Ze.$$s=hn,Ze.$$arity=0,Ze),u).call(Ve)),_.scripts["$[]="]("focus",(u=(Xe=hn).$proc,u.$$p=(et=function(){var t,n,a,r,$,l=et.$$s||this;return function(t){var n,a,r=n=d(t,"Focus");r.$$proto,r.$$scope;r.$attr_accessor("focus"),e.defn(r,"$state",a=function(){var t,n,r=this,$=a.$$p,l=h,o=h,s=h;for(a.$$p=null,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return l="Focus undefined",l=(t=r.$focus()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?(t=!1!==(n=r.$focus()["$=="](r.$parent()))&&n!==h&&null!=n?n:r.$focus()["$=="](r.$room()))===h||null==t||t.$$is_boolean&&1!=t?r.$focus()["$=="](r)?"Examining your inventory":"Examining "+r.$focus().$definitely():r.$focus().$definitely().$cap_first():"("+r.$parent().$definitely().$cap_first()+")",(n=r,t=e.find_super_dispatcher(r,"state",a,!1),t.$$p=$,t).apply(n,o).$merge(m(["focus"],{focus:l}))},a.$$arity=0)}(dn.base),function(e,$super){function t(){}var n=t=y(e,$super,"Character",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Focus"))}(dn.base,null),(t=(n=l).$before_player_update,t.$$p=(a=function(e){var t,n;a.$$s;return null==e&&(e=h),t=[h],n=e,n["$focus="].apply(n,t),t[t.length-1]},a.$$s=l,a.$$arity=1,a),t).call(n),(t=(r=l).$on_player_ready,t.$$p=($=function(e){var t,n;$.$$s;return null==e&&(e=h),(t=e.$focus()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?h:(t=e.$last_action()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?(t=(n=e.$last_action().$verb()["$=="]("look"))?e.$last_action().$arguments()["$[]"](0)["$kind_of?"](dn.get("Thing")):e.$last_action().$verb()["$=="]("look"))===h||null==t||t.$$is_boolean&&1!=t?e.$last_action().$verb()["$=="]("inventory")?(t=[e],n=e,n["$focus="].apply(n,t),t[t.length-1]):e.$last_action().$verb()["$=="]("go")?(t=[e.$room()],n=e,n["$focus="].apply(n,t),t[t.length-1]):h:e.$last_action().$arguments()["$[]"](0)["$=="](e.$room())?(t=[e.$room()],n=e,n["$focus="].apply(n,t),t[t.length-1]):(t=[e.$last_action().$arguments()["$[]"](0)],n=e,n["$focus="].apply(n,t),t[t.length-1]):(t=[e.$room()],n=e,n["$focus="].apply(n,t),t[t.length-1])},$.$$s=l,$.$$arity=1,$),t).call(r)},et.$$s=hn,et.$$arity=0,et),u).call(Xe)),_.scripts["$[]="]("transporter",(u=(tt=hn).$proc,u.$$p=(nt=function(){var t,n,a,r,$,l,o,s,i,u,c,p,d,_,g,b,f,k=nt.$$s||this,v=h;return function(t,$super){function n(){}var a,r,$,l,o=n=y(t,$super,"Transporter",n),s=o.$$proto;o.$$scope;s.unavailable_message=s.mobile=s.destinations_block=h,o.$attr_writer("unavailable_message","mobile"),e.defn(o,"$unavailable_message",a=function(){var e,t=this;return!1!==(e=t.unavailable_message)&&e!==h&&null!=e?e:t.unavailable_message="You don't have anywhere to go right now."},a.$$arity=0),e.defn(o,"$mobile?",r=function(){var e,t=this;return!1!==(e=t.mobile)&&e!==h&&null!=e?e:t.mobile=!1},r.$$arity=0),e.defn(o,"$make_destination_hash",$=function(){var e=this,t=$.$$p,n=t||h;return $.$$p=null,e.destinations_block=n},$.$$arity=0),e.defn(o,"$get_destinations_for",l=function(e){var t,n=this,a=h;return(t=n.destinations_block["$nil?"]()["$!"]())===h||null==t||t.$$is_boolean&&1!=t||(a=n.destinations_block.$call(e)),!1!==(t=a)&&t!==h&&null!=t?t:m([],{})},l.$$arity=1)}(dn.base,dn.get("Fixture")),v=(t=(n=k).$custom,t.$$p=(a=function(e,t){var n,r,$,l,o,s=a.$$s||this,i=h,u=h;return null==e&&(e=h),null==t&&(t=h),i=e.$parent(),u=i.$get_destinations_for(e),(n=(r=u).$delete_if,n.$$p=($=function(e,t){$.$$s;return null==e&&(e=h),null==t&&(t=h),t["$=="](i.$parent())},$.$$s=s,$.$$arity=2,$),n).call(r),(n=!1!==(l=u.$keys().$length()["$=="](0))&&l!==h&&null!=l?l:u.$keys().$length()["$=="](1)?u["$[]"](u.$keys().$first())["$nil?"]():u.$keys().$length()["$=="](1))===h||null==n||n.$$is_boolean&&1!=n?(t.$options().$concat(u.$keys()),e.$tell("Where do you want go?")):(e.$tell(i.$unavailable_message()),n=[i.$parent()],l=e,l["$parent="].apply(l,n),n[n.length-1],e.$cue(s.$default_scene())),(n=(l=t).$on_finish,n.$$p=(o=function(e,t){var n,a,r=o.$$s||this;return null==e&&(e=h),null==t&&(t=h),i=e.$parent(),u=i.$get_destinations_for(e),(n=u["$[]"](t.$selection())["$nil?"]())===h||null==n||n.$$is_boolean&&1!=n?(n=[u["$[]"](t.$selection())],a=e,a["$parent="].apply(a,n),n[n.length-1]):(e.$tell("You stay here."),n=[i.$parent()],a=e,a["$parent="].apply(a,n),n[n.length-1]),(n=i["$mobile?"]())===h||null==n||n.$$is_boolean&&1!=n||(n=[e.$parent()],a=i,a["$parent="].apply(a,n),n[n.length-1]),e.$perform("look"),e.$cue(r.$default_scene())},o.$$s=s,o.$$arity=2,o),n).call(l)},a.$$s=k,a.$$arity=2,a),t).call(n,dn.get("Scene").$$scope.get("MultipleChoice")),(t=(r=k).$respond,t.$$p=($=function(e,t){var n,a;$.$$s;return null==e&&(e=h),null==t&&(t=h),n=[t],a=e,a["$parent="].apply(a,n),n[n.length-1],e.$cue(v)},$.$$s=k,$.$$arity=2,$),t).call(r,"enter",dn.get("Use").$reachable(dn.get("Transporter"))),(t=(l=k).$respond,t.$$p=(o=function(e,t){o.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("enter",t)},o.$$s=k,o.$$arity=2,o),t).call(l,"take",dn.get("Use").$reachable(dn.get("Transporter"))),(t=(s=k).$respond,t.$$p=(i=function(e,t){i.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("enter",t)},i.$$s=k,i.$$arity=2,i),t).call(s,"ride",dn.get("Use").$reachable(dn.get("Transporter"))),(t=(u=k).$respond,t.$$p=(c=function(e,t){c.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("enter",t)},c.$$s=k,c.$$arity=2,c),t).call(u,"go",dn.get("Use").$reachable(dn.get("Transporter"))),(t=(p=k).$respond,t.$$p=(d=function(e,t){d.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("enter",t)},d.$$s=k,d.$$arity=2,d),t).call(p,"go_for",dn.get("Use").$reachable(dn.get("Transporter"))),(t=(_=k).$respond,t.$$p=(g=function(e,t){g.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("enter",t)},g.$$s=k,g.$$arity=2,g),t).call(_,"use",dn.get("Use").$reachable(dn.get("Transporter"))),(t=(b=k).$respond,t.$$p=(f=function(e,t){f.$$s;return null==e&&(e=h),null==t&&(t=h),e.$perform("enter",t)},f.$$s=k,f.$$arity=2,f),t).call(b,"move",dn.get("Use").$reachable(dn.get("Transporter")))},nt.$$s=hn,nt.$$arity=0,nt),u).call(tt)),_.scripts["$[]="]("personified/ages",(u=(at=hn).$proc,u.$$p=(rt=function(){rt.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"AGES",["late teens","early 20s","mid-20s","late 20s","early 30s","mid-30s","late 30s","early 40s","mid-40s","late 40s","early 50s","mid-50s","late 50s","early 60s","mid-60s","late 60s","early 70s","mid-70s","late 70s"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_age",n=function(){return this.$get_random_value("AGES")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},rt.$$s=hn,rt.$$arity=0,rt),u).call(at)),_.scripts["$[]="]("personified/female_details",(u=($t=hn).$proc,u.$$p=(lt=function(){lt.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"FEMALE_DETAILS",["wearing a sundress","with blue eyes","with a round face","wearing a pantsuit","with brown eyes","with arched eyebrows","with curly hair","in spiked heels","in sunglasses"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_female_detail",n=function(){return this.$get_random_value("FEMALE_DETAILS")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},lt.$$s=hn,lt.$$arity=0,lt),u).call($t)),_.scripts["$[]="]("personified/female_names",(u=(ot=hn).$proc,u.$$p=(st=function(){st.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"FEMALE_NAMES",["Karen","Sally","Jennifer","Alice","Ellen","Mary","Ann","Taylor","Erica","Jessica","Ginger","Lois","Natalie","Ingrid","Wanda","Nikki","Brittany","Jane","Liz"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_female_names",n=function(){return this.$get_random_value("FEMALE_NAMES")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},st.$$s=hn,st.$$arity=0,st),u).call(ot)),_.scripts["$[]="]("personified/female_physiques",(u=(it=hn).$proc,u.$$p=(ut=function(){ut.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"FEMALE_PHYSIQUES",["short blond","tall dark","short stout","athletic blond","short red-headed","thin red-headed","short brunette","tall brunette","stocky blond","statuesque brunette","heavy brunette","slender blond","thin brunette","short swarthy","tall swarthy","pale blond"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_female_physique",n=function(){return this.$get_random_value("FEMALE_PHYSIQUES")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},ut.$$s=hn,ut.$$arity=0,ut),u).call(it)),_.scripts["$[]="]("personified/last_names",(u=(ct=hn).$proc,u.$$p=(pt=function(){pt.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"LAST_NAMES",["Smith\r","Jones\r","Johnson\r","Wendell\r","Carpenter\r","Black\r","White\r","Clark\r","Reynolds\r","Samuels\r","Baldwin\r","Tyler\r","Simpson\r","Broadus\r","Hammond\r","Sanchez\r","Townsend\r","McBain\r","Griffin\r","King\r","Turner\r","Foley\r","Riggs\r","Murtaugh\r","Callahan\r","Woods\r","Borden\r","McCall\r"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_last_name",n=function(){return this.$get_random_value("LAST_NAME")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},pt.$$s=hn,pt.$$arity=0,pt),u).call(ct)),_.scripts["$[]="]("personified/male_details",(u=(ht=hn).$proc,u.$$p=(dt=function(){dt.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"MALE_DETAILS",["with a pronounced limp","with a hooked nose","wearing a baseball cap","wearing a fedora","with heavy eyebrows","in a dark suit","in a leather coat","with a pocketwatch","in sunglasses"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_male_detail",n=function(){return this.$get_random_value("MALE_DETAILS")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},dt.$$s=hn,dt.$$arity=0,dt),u).call(ht)),_.scripts["$[]="]("personified/male_names",(u=(_t=hn).$proc,u.$$p=(mt=function(){mt.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"MALE_NAMES",["Joe\r","Mike\r","John\r","Frank\r","Edward\r","Jerry\r","Ben\r","Robert\r","Bobby\r","Jack\r","Arnold\r","Ted\r","Bill\r","Steve\r","Peter\r","Brett\r","Todd\r","Nick\r","Scott\r","Chris\r","Harry\r","Jason\r","Dan\r","Rudy\r"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_male_name",n=function(){return this.$get_random_value("MALE_NAMES")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},mt.$$s=hn,mt.$$arity=0,mt),u).call(_t)),_.scripts["$[]="]("personified/male_physiques",(u=(yt=hn).$proc,u.$$p=(gt=function(){gt.$$s;return function(t){var n,a=n=d(t,"Personified"),r=(a.$$proto,a.$$scope);e.cdecl(r,"MALE_PHYSIQUES",["short blond","tall dark","short stout","muscular blond","short red-headed","thin red-headed","stocky blond","large bald","short bald","barrel-chested","short swarthy","tall swarthy","medium-built blond","medium-built dark-haired","large blond","pale blond"].$freeze()),function(t){var n;t.$$scope,t.$$proto;e.defn(t,"$get_male_physique",n=function(){return this.$get_random_value("MALE_PHYSIQUES")},n.$$arity=0)}(e.get_singleton_class(a))}(dn.base)},gt.$$s=hn,gt.$$arity=0,gt),u).call(yt)),_.scripts["$[]="]("personified",(u=(bt=hn).$proc,u.$$p=(ft=function(){var t=ft.$$s||this;return t.$script("personified/ages"),t.$script("personified/female_details"),t.$script("personified/female_names"),t.$script("personified/female_physiques"),t.$script("personified/last_names"),t.$script("personified/male_details"),t.$script("personified/male_names"),t.$script("personified/male_physiques"),function(t){var n,a,r,$,l,o,s,i,u,c,p,_,y=n=d(t,"Personified"),g=(y.$$proto,y.$$scope);y.$attr_writer("first_name","last_name","physique","age"),e.defn(y,"$post_initialize",a=function(){var t,n,r,$=this,l=a.$$p,o=h,s=h;for(null==$.name&&($.name=h),a.$$p=null,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return(n=$,t=e.find_super_dispatcher($,"post_initialize",a,!1),t.$$p=l,t).apply(n,o),(t=$.name["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?h:(t=[$.$physique()+" "+function(){return $.$gender()["$=="]("male")?"man":"woman"}()],r=$,r["$name="].apply(r,t),t[t.length-1])},a.$$arity=0),e.defn(y,"$gender",r=function(){var e,t=this;return null==t.gender&&(t.gender=h),!1!==(e=t.gender)&&e!==h&&null!=e?e:t.gender=function(){return t.$rand(2)["$=="](1)?"female":"male"}()},r.$$arity=0),e.defn(y,"$gender_noun",$=function(){return this.$gender()["$=="]("female")?"woman":"man"},$.$$arity=0),e.defn(y,"$first_name",l=function(){var e,t=this;return null==t.first_name&&(t.first_name=h),!1!==(e=t.first_name)&&e!==h&&null!=e?e:t.first_name=function(){return t.$gender()["$=="]("female")?g.get("Personified").$get_female_name():g.get("Personified").$get_male_name()}()},l.$$arity=0),e.defn(y,"$last_name",o=function(){var e,t=this;return null==t.last_name&&(t.last_name=h),!1!==(e=t.last_name)&&e!==h&&null!=e?e:t.last_name=g.get("Personified").$get_last_name()},o.$$arity=0),e.defn(y,"$full_name",s=function(){var e=this;return e.$first_name()+" "+e.$last_name()},s.$$arity=0),e.defn(y,"$physique",i=function(){var e,t=this;return null==t.physique&&(t.physique=h),!1!==(e=t.physique)&&e!==h&&null!=e?e:t.physique=function(){return t.$gender()["$=="]("female")?g.get("Personified").$get_female_physique():g.get("Personified").$get_male_physique()}()},i.$$arity=0),e.defn(y,"$detail",u=function(){var e,t=this;return null==t.detail&&(t.detail=h),!1!==(e=t.detail)&&e!==h&&null!=e?e:t.detail=function(){return t.$gender()["$=="]("female")?g.get("Personified").$get_female_detail():g.get("Personified").$get_male_detail()}()},u.$$arity=0),e.defn(y,"$age",c=function(){var e,t=this;return null==t.age&&(t.age=h),!1!==(e=t.age)&&e!==h&&null!=e?e:t.age=g.get("Personified").$get_age()},c.$$arity=0),e.defn(y,"$physical_description",p=function(){var e=this;return e.$physique()+" "+e.$gender_noun()+" "+e.$detail()},p.$$arity=0),e.defn(y,"$description",_=function(){var e,t=this;return(e=t["$has_description?"]())===h||null==e||e.$$is_boolean&&1!=e?t.$indefinite_article().$cap_first()+" "+t.$physical_description()+".":t.$description()},_.$$arity=0),function(t){var n;t.$$scope,t.$$proto;t.$private(),e.defn(t,"$get_random_value",n=function(e){var t,n,a,r=this,$=h;return null==r.hashes&&(r.hashes=h),!1!==(t=r.hashes)&&t!==h&&null!=t||(r.hashes=m([],{})),t=e,n=r.hashes,!1!==(a=n["$[]"](t))&&a!==h&&null!=a||n["$[]="](t,r.$const_get(e).$dup()),$=r.hashes["$[]"](e).$pop_random(),(t=r.hashes["$[]"](e)["$empty?"]())===h||null==t||t.$$is_boolean&&1!=t||r.hashes["$[]="](e,r.$const_get(e).$dup()),$},n.$$arity=1)}(e.get_singleton_class(y))}(dn.base)},ft.$$s=hn,ft.$$arity=0,ft),u).call(bt)),_.scripts["$[]="]("public",(u=(kt=hn).$proc,u.$$p=(vt=function(){var e,t,a,$,l,o=vt.$$s||this;return o.$script("personified"),function(e,$super){function t(){}var n=t=y(e,$super,"Public",t);n.$$proto,n.$$scope}(dn.base,dn.get("Room")),function(e,$super){function t(){}var n=t=y(e,$super,"Person",t),a=(n.$$proto,n.$$scope);n.$include(a.get("Personified"))}(dn.base,dn.get("Character")),(e=(t=o).$on_update,e.$$p=(a=function(){var e,t,n,$=a.$$s||this,l=h;return(e=!1!==(t=$.$entities().$that_are(dn.get("Person"))["$empty?"]())&&t!==h&&null!=t?t:r($.$rand(),.2))===h||null==e||e.$$is_boolean&&1!=e?h:((e=(t=$.$entities().$that_are(dn.get("Person")).$that_are_not(dn.get("Cheater"))).$each,e.$$p=(n=function(e){var t,a,$,l=n.$$s||this;return null==e&&(e=h),a=r(l.$rand(),.6),(t=!1!==a&&a!==h&&null!=a?!1!==($=e.$room()["$nil?"]())&&$!==h&&null!=$?$:e.$room().$children()["$&"](l.$players())["$empty?"]():a)===h||null==t||t.$$is_boolean&&1!=t?h:l.$destroy(e)},n.$$s=$,n.$$arity=1,n),e).call(t),l=$.$entities().$that_are(dn.get("Public")).$sample(),(e=l.$children()["$&"]($.$players())["$empty?"]())===h||null==e||e.$$is_boolean&&1!=e?h:$.$make(dn.get("Person"),m(["parent"],{parent:l})))},a.$$s=o,a.$$arity=0,a),e).call(t),(e=($=o).$on_update,e.$$p=(l=function(){var e,t,a,r=l.$$s||this;return(e=(t=r.$entities().$that_are(dn.get("Person"))).$each,e.$$p=(a=function(e){var t,r,$=a.$$s||this,l=h;return null==e&&(e=h),(t=!1!==(r=e.$room()["$nil?"]())&&r!==h&&null!=r?r:n($.$rand(),.1))===h||null==t||t.$$is_boolean&&1!=t?(l=e.$room().$children().$that_are(dn.get("Portal")).$sample(),(t=!1!==(r=l["$nil?"]())&&r!==h&&null!=r?r:l.$destination()["$kind_of?"](dn.get("Public"))["$!"]())===h||null==t||t.$$is_boolean&&1!=t?(e.$room().$tell($.$The(e)+" goes to "+$.$the(l.$destination())+"."),l.$destination().$tell($.$A(e)+" arrives from "+$.$the(e.$room())+"."),t=[l.$destination()],r=e,r["$parent="].apply(r,t),t[t.length-1]):h):h},a.$$s=r,a.$$arity=1,a),e).call(t)},l.$$s=o,l.$$arity=0,l),e).call($)},vt.$$s=hn,vt.$$arity=0,vt),u).call(kt)),_.scripts["$[]="]("cheater",(u=(wt=hn).$proc,u.$$p=(Tt=function(){var e,n,a,r=Tt.$$s||this;return r.$script("personified"),function(e,$super){function t(){}var n=t=y(e,$super,"Cheater",t);n.$$proto,n.$$scope}(dn.base,dn.get("Person")),(e=(n=r).$respond,e.$$p=(a=function(e,t){var n=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$tell("You don't have a reason to detain "+n.$the(t)+".")},a.$$s=r,a.$$arity=2,a),e).call(n,"detain",dn.get("Use").$available(dn.get("Person"))),function(e,$super){function n(){}var a,r,$,l=n=y(e,$super,"CheaterHunt",n),o=(l.$$proto,l.$$scope);return(a=(r=l).$on_start,a.$$p=($=function(){var e,n,a,r,l,s,i,u,c,p=$.$$s||this;return p.cheater=p.$make(o.get("Cheater"),m(["parent"],{parent:p.$plot().$entities().$that_are(o.get("Public")).$random()})),(e=(n=p).$introduction,e.$$p=(a=function(e){var t,n,r,$=a.$$s||this;return null==$.cheater&&($.cheater=h),null==e&&(e=h),t="cheaters_caught",n=e,!1!==(r=n["$[]"](t))&&r!==h&&null!=r||n["$[]="](t,0),e.$tell("\r\n \"We've had an eye on "+$.cheater.$indefinite_article()+" "+$.cheater.$physical_description()+". Take a look around.\r\n If you find "+$.cheater.$pronoun().$obj()+", just hold onto "+$.cheater.$pronoun().$obj()+' until the guards get there."\r\n '),e["$[]="]("cheater",$.cheater)},a.$$s=p,a.$$arity=1,a),e).call(n),(e=(r=p).$respond,e.$$p=(l=function(e,t){var n=l.$$s||this;return null==n.cheater&&(n.cheater=h),null==e&&(e=h),null==t&&(t=h),e.$tell("You nabbed the wrong suspect."),e.$tell(n.$The(n.cheater)+" saw the disturbance you caused and fled the building!"),e["$[]="]("cheater",h),n.$conclude()},l.$$s=p,l.$$arity=2,l),e).call(r,"detain",o.get("Use").$available(o.get("Person"))),(e=(s=p).$respond,e.$$p=(i=function(e,n){var a,r,$=i.$$s||this;return null==e&&(e=h),null==n&&(n=h),e.$tell("You nab the cheater and shout for security. Moments later a guard arrives to escort "+n.$pronoun().$obj()+" off the property."),e.$tell('"Thanks for the help." The guard hands you 50 chips.'),a="chips",r=e,r["$[]="](a,t(r["$[]"](a),50)),a="cheaters_caught",r=e,r["$[]="](a,t(r["$[]"](a),1)),e["$[]="]("cheater",h),$.$conclude()},i.$$s=p,i.$$arity=2,i),e).call(s,"detain",o.get("Use").$available(o.get("Cheater"))),(e=(u=p).$on_player_update,e.$$p=(c=function(e){var t,n,a,r=c.$$s||this;return null==e&&(e=h),(t=(n=e.$room().$children().$that_are(o.get("Person"))).$each,t.$$p=(a=function(t){var n=a.$$s||this;return null==t&&(t=h),e.$suggest("detain "+n.$the(t))},a.$$s=r,a.$$arity=1,a),t).call(n)},c.$$s=p,c.$$arity=1,c),e).call(u)},$.$$s=l,$.$$arity=0,$),a).call(r)}(dn.base,dn.get("Gamefic").$$scope.get("Subplot"))},Tt.$$s=hn,Tt.$$arity=0,Tt),u).call(wt)),_.scripts["$[]="]("lobby",(u=(St=hn).$proc,u.$$p=(It=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d=It.$$s||this;return null==d.front_desk&&(d.front_desk=h),null==d.lobby&&(d.lobby=h),null==d.clerk&&(d.clerk=h),d.lobby=d.$make(dn.get("Public"),m(["name","description","image"],{name:"lobby",description:"Twelve hundred square feet of spit-shined marble greet the casino's guests at its entrance. From there you can take the elevators to the hotel rooms, walk straight ahead to the front desk, or proceed through a wide archway to the game floor.",image:"lobby.jpg"})),d.front_desk=d.$make(dn.get("Public"),m(["name","image"],{name:"front desk",image:"front-desk.jpg"})),d.front_desk.$connect(d.lobby),d.clerk=d.$make(dn.get("Character"),m(["name","synonyms","description","parent","locale_description","image","text_align"],{name:"clerk",synonyms:"front desk clerk",description:"A smartly dressed young woman with an obliging smile for guests.",parent:d.front_desk,locale_description:"A clerk stands behind the counter, attentive and ready to serve.",image:"clerk.jpg",text_align:"bottom"})),d.pass_card=d.$make(dn.get("Item"),m(["name","description","sticky","sticky_message"],{name:"pass card",description:"This card gives you access to any room in the hotel.",sticky:!0,sticky_message:"Better hold on to it. You need it for the investigation."})),d.ask_clerk_about_troy=(e=(t=d).$pause,e.$$p=(n=function(e){var t,a,r=n.$$s||this;return null==r.pass_card&&(r.pass_card=h),null==r.talk_to_clerk&&(r.talk_to_clerk=h),null==e&&(e=h),e["$[]="]("asked_clerk_about_troy",!0),e.$tell('He\'s one of our regular whales," the clerk says. "Usually\r\n comes down with a few business associates. Tonight he was staying in\r\n 810. That\'s where room service found his body."'),(t=r.pass_card.$parent()["$!="](e))===h||null==t||t.$$is_boolean&&1!=t||(t=[e],a=r.pass_card,a["$parent="].apply(a,t),t[t.length-1],e.$tell('She hands you a pass card. "This will give you access to\r\n his room, or any other room you need to search." Her face pales\r\n slightly. "He\'s, uh, still in there. Nothing\'s been touched since room\r\n service discovered him."')),e.$cue(r.talk_to_clerk)},n.$$s=d,n.$$arity=1,n),e).call(t),d.ask_clerk_about_associates=(e=(a=d).$pause,e.$$p=(r=function(e){var t=r.$$s||this;return null==t.talk_to_clerk&&(t.talk_to_clerk=h),null==e&&(e=h),e["$[]="]("asked_clerk_about_associates",!0),e.$tell('"Connor had two friends on this trip." She checks the\r\n registry. "John Simon and Peter Link."'),e.$cue(t.talk_to_clerk)},r.$$s=d,r.$$arity=1,r),e).call(a),d.ask_clerk_about_simon=(e=($=d).$pause,e.$$p=(l=function(e){var t=l.$$s||this;return null==t.talk_to_clerk&&(t.talk_to_clerk=h),null==e&&(e=h),e.$tell("\"Mr. Simon's staying in 722. I'm afraid I can't tell you much\r\n else about him. I think it's his first time at the casino.\""),e["$[]="]("asked_clerk_about_simon",!0),e.$cue(t.talk_to_clerk)},l.$$s=d,l.$$arity=1,l),e).call($),d.ask_clerk_about_link=(e=(o=d).$pause,e.$$p=(s=function(e){var t=s.$$s||this;return null==t.talk_to_clerk&&(t.talk_to_clerk=h),null==e&&(e=h),e.$tell('"Mr. Link is in 940. He accompanies Mr. Connor on most of his\r\n visits. Unlike Mr. Connor, he can be a bit, shall we say, Bacchanalian."'),e["$[]="]("asked_clerk_about_link",!0),e.$cue(t.talk_to_clerk)},s.$$s=d,s.$$arity=1,s),e).call(o),d.talk_to_clerk=(e=(i=d).$custom,e.$$p=(u=function(e,t){var n,a,r=u.$$s||this;return null==r.clerk&&(r.clerk=h),null==r.ask_clerk_about_troy&&(r.ask_clerk_about_troy=h),null==r.ask_clerk_about_associates&&(r.ask_clerk_about_associates=h),null==r.ask_clerk_about_simon&&(r.ask_clerk_about_simon=h),null==r.ask_clerk_about_link&&(r.ask_clerk_about_link=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(r.clerk),t.$map("Ask about Troy Connor",r.ask_clerk_about_troy),a=e["$[]"]("asked_clerk_about_troy"),(n=!1!==a&&a!==h&&null!=a?e["$[]"]("asked_clerk_about_associates")["$!"]():a)===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about Connor's associates",r.ask_clerk_about_associates),(n=e["$[]"]("asked_clerk_about_associates"))===h||null==n||n.$$is_boolean&&1!=n||(t.$map("Ask about John Simon",r.ask_clerk_about_simon),t.$map("Ask about Peter Link",r.ask_clerk_about_link)),t.$map("That's all for now",r.$default_scene())},u.$$s=d,u.$$arity=2,u),e).call(i,dn.get("Scene").$$scope.get("MultipleScene")),(e=(c=d).$respond,e.$$p=(p=function(e,t){var n,a=p.$$s||this;return null==a.talk_to_clerk&&(a.talk_to_clerk=h),null==e&&(e=h),null==t&&(t=h),(n=e["$[]"]("met_clerk"))===h||null==n||n.$$is_boolean&&1!=n?(e.$tell('She gives you a friendly nod. "Mr. Plant told me to help you any way I can."'),e["$[]="]("met_clerk",!0)):e.$tell('She gives you a friendly nod. "How can I help you?"'),e.$cue(a.talk_to_clerk)},p.$$s=d,p.$$arity=2,p),e).call(c,"talk",dn.get("Use").$available(d.clerk))},It.$$s=hn,It.$$arity=0,It),u).call(St)),_.scripts["$[]="]("blackjack",(u=(jt=hn).$proc,u.$$p=(xt=function(){xt.$$s;return function(s,$super){function i(){}var u,c,p,d,_,m,g,b,f,k,v,w=i=y(s,$super,"Blackjack",i),T=w.$$proto;w.$$scope;return T.dealer_hand=T.player_hand=T.player_bet=T.hit_or_stay=T.deck=h,e.defn(w,"$dealer_hand",u=function(){var e,t=this;return!1!==(e=t.dealer_hand)&&e!==h&&null!=e?e:t.dealer_hand=[]},u.$$arity=0),e.defn(w,"$player_hand",c=function(){var e,t=this;return!1!==(e=t.player_hand)&&e!==h&&null!=e?e:t.player_hand=[]},c.$$arity=0),e.defn(w,"$player_bet",p=function(){var e,t=this;return!1!==(e=t.player_bet)&&e!==h&&null!=e?e:t.player_bet=10},p.$$arity=0),e.defn(w,"$play_game",d=function(e){var t,r,$=this,l=h;return $.$player_hand().$push($.$deck().$pop_random()),l=$.$count($.$player_hand()),e.$tell("Dealer is showing "+$.$dealer_hand().$first()+"."),e.$tell("You have "+$.$player_hand().$join_and()+"."),(t=n(l,21))===h||null==t||t.$$is_boolean&&1!=t?l["$=="](21)?(e.$tell("Blackjack!"),$.$finish_game(e)):e.$cue($.$hit_or_stay()):(e.$tell("Busted!"),t="chips",r=e,r["$[]="](t,a(r["$[]"](t),$.$player_bet())),$.$conclude())},d.$$arity=1),e.defn(w,"$hit_or_stay",_=function(){var e,t,n,a,r=this;return!1!==(e=r.hit_or_stay)&&e!==h&&null!=e?e:r.hit_or_stay=(t=(n=r).$multiple_choice,t.$$p=(a=function(e,t){var n=a.$$s||this;return null==e&&(e=h),null==t&&(t=h),t.$selection()["$=="]("Hit")?n.$play_game(e):n.$finish_game(e)},a.$$s=r,a.$$arity=2,a),t).call(n,"Hit","Stay")},_.$$arity=0),e.defn(w,"$finish_game",m=function(e){var l,o,s=this,i=h,u=h;for(i=s.$count(s.$player_hand()),u=s.$count(s.$dealer_hand());(o=r(u,16))!==h&&null!=o&&(!o.$$is_boolean||1==o);)s.$dealer_hand().$push(s.$deck().$pop_random()),u=s.$count(s.$dealer_hand());return e.$tell("You have "+s.$player_hand().$join_and()+"."),e.$tell("Dealer gets "+s.$dealer_hand().$join_and()+"."),(l=n(u,21))===h||null==l||l.$$is_boolean&&1!=l?u["$=="](21)?(e.$tell("Dealer hit 21. You lost."),l="chips",o=e,o["$[]="](l,a(o["$[]"](l),s.$player_bet()))):(l=$(u,i))===h||null==l||l.$$is_boolean&&1!=l?(e.$tell("You won!"),l="chips",o=e,o["$[]="](l,t(o["$[]"](l),s.$player_bet()))):(e.$tell("You lost."),l="chips",o=e,o["$[]="](l,a(o["$[]"](l),s.$player_bet()))):(e.$tell("Dealer busted. You won!"),l="chips",o=e,o["$[]="](l,t(o["$[]"](l),s.$player_bet()))),s.$conclude()},m.$$arity=1),e.defn(w,"$count",g=function(e){var r,$,o,s=this,i=h,u=h;return i=0,u=0,(r=($=e).$each,r.$$p=(o=function(e){var a;o.$$s;return null==e&&(e=h),(a=n(e.$to_i(),0))===h||null==a||a.$$is_boolean&&1!=a?e["$=="]("A")?i=t(i,1):u=t(u,10):u=t(u,e.$to_i())},o.$$s=s,o.$$arity=1,o),r).call($),(r=n(i,0))===h||null==r||r.$$is_boolean&&1!=r||((r=l(t(t(u,11),a(i,1)),21))===h||null==r||r.$$is_boolean&&1!=r||(u=t(u,11),i=a(i,1)),u=t(u,i)),u},g.$$arity=1),e.defn(w,"$deck",b=function(){var e,t=this;return!1!==(e=t.deck)&&e!==h&&null!=e?e:t.deck=o(["2","3","4","5","6","7","8","9","10","J","Q","K","A"],4)},b.$$arity=0),(f=(k=w).$on_start,f.$$p=(v=function(){var e,t,n,a=v.$$s||this;return(e=(t=a).$introduction,e.$$p=(n=function(e){var t,a=n.$$s||this;return null==e&&(e=h),(t=$(e["$[]"]("chips"),10))===h||null==t||t.$$is_boolean&&1!=t?(e["$[]"]("chips")["$=="](0)?e.$tell("You don't have any chips."):e.$tell("You need at least 10 chips to play."),a.$conclude()):(a.$player_hand().$push(a.$deck().$pop_random()),a.$dealer_hand().$concat([a.$deck().$pop_random(),a.$deck().$pop_random()]),e.$tell("You lay 10 chips on the table."),a.$play_game(e))},n.$$s=a,n.$$arity=1,n),e).call(t)},v.$$s=w,v.$$arity=0,v),f).call(k)}(dn.base,dn.get("Gamefic").$$scope.get("Subplot"))},xt.$$s=hn,xt.$$arity=0,xt),u).call(jt)),_.scripts["$[]="]("bar",(u=(At=hn).$proc,u.$$p=(Ut=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d,_,y,g,b,f,k,v,w,T,S,I,j,x,A=Ut.$$s||this,U=h,C=h,P=h,z=h,Y=h;return null==A.bar&&(A.bar=h),null==A.bartender&&(A.bartender=h),U=(e=(t=A).$pause,e.$$p=(n=function(e){var t=n.$$s||this;return null==t.talk_to_bartender&&(t.talk_to_bartender=h),null==e&&(e=h),e.$tell("\r\n \"I've only talked to Mr. Connor once or twice. He usually spends his time\r\n at the poker tables. He's a good tipper. I don't know much else.\"\r\n "),e.$cue(t.talk_to_bartender)},n.$$s=A,n.$$arity=1,n),e).call(t),C=(e=(a=A).$pause,e.$$p=(r=function(e){var t,n,a=r.$$s||this;return null==a.benny_plant&&(a.benny_plant=h),null==a.security&&(a.security=h),null==a.talk_to_bartender&&(a.talk_to_bartender=h),null==e&&(e=h),(t=a.benny_plant.$parent()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t||(t=[a.security],n=a.benny_plant,n["$parent="].apply(n,t),t[t.length-1]),e.$tell('The bartender shrugs. "Sorry, I don\'t know him."'),e.$cue(a.talk_to_bartender)},r.$$s=A,r.$$arity=1,r),e).call(a),P=(e=($=A).$pause,e.$$p=(l=function(e){var t,n,a=l.$$s||this;return null==a.benny_plant&&(a.benny_plant=h),null==a.security&&(a.security=h),
null==a.talk_to_bartender&&(a.talk_to_bartender=h),null==e&&(e=h),(t=a.benny_plant.$parent()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t||(t=[a.security],n=a.benny_plant,n["$parent="].apply(n,t),t[t.length-1]),e["$[]="]("asked_bartender_about_peter",!0),e.$tell('\r\n "Ah, Pete. He was down here earlier tonight. Played some cards, then came\r\n in here to talk up a B-girl. After a couple rounds he started to get a\r\n little mouthy. I was worried I\'d have to cut him off, but he left with the\r\n girl around 11:00."\r\n '),e.$cue(a.talk_to_bartender)},l.$$s=A,l.$$arity=1,l),e).call($),z=(e=(o=A).$pause,e.$$p=(s=function(e){var t,n=s.$$s||this;return null==n.talk_to_bartender&&(n.talk_to_bartender=h),null==e&&(e=h),(t=e["$[]"]("asked_bartender_about_bgirl"))===h||null==t||t.$$is_boolean&&1!=t?(e.$tell('\r\n "Just one of the girls who hangs out on the game floor and hits on whales.\r\n As long as they\'re discreet, the bosses look the other way."\r\n\r\n "What about the one with Peter Link?" you ask.\r\n\r\n "She\'s good at discreet. Brunette, early twenties."\r\n \r\n "Where can I find her?"\r\n\r\n The bartender whistles to a passing cocktail waitress. "If you see Kat\r\n on the game floor, tell her there\'s a fresh whale at the blackjack\r\n table." He winks at you. "That should get your foot in the door."\r\n '),e["$[]="]("asked_bartender_about_bgirl",!0)):e.$tell('\r\n "The one I saw with Link is named Kat. If you want her attention, just\r\n let her see you playing blackjack."\r\n '),e.$cue(n.talk_to_bartender)},s.$$s=A,s.$$arity=1,s),e).call(o),Y=(e=(i=A).$pause,e.$$p=(u=function(e){var t=u.$$s||this;return null==t.talk_to_bartender&&(t.talk_to_bartender=h),null==e&&(e=h),e.$tell('\r\n The bartender nods. "Link\'s favorite brand. He usually keeps a bottle of it in his room."\r\n '),e.$cue(t.talk_to_bartender)},u.$$s=A,u.$$arity=1,u),e).call(i),A.talk_to_bartender=(e=(c=A).$multiple_scene,e.$$p=(p=function(e,t){var n,a=p.$$s||this;return null==a.bartender&&(a.bartender=h),null==a.bottle&&(a.bottle=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(a.bartender),t.$map("Ask about Troy Connor",U),(n=e["$[]"]("asked_clerk_about_simon"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about John Simon",C),(n=e["$[]"]("asked_clerk_about_link"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about Peter Link",P),(n=e["$[]"]("asked_bartender_about_peter"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about the B-girl",z),a.bottle.$parent()["$=="](e)&&t.$map("Show him the bottle",Y),t.$map("That's all for now",a.$default_scene())},p.$$s=A,p.$$arity=2,p),e).call(c),A.bar=A.$make(dn.get("Public"),m(["name","description","image"],{name:"bar",description:"\r\n This secluded corner of the casino is not much more than a\r\n service area for the cocktail waitresses. Four stools are\r\n provided for the occasional customers who need to nurse their\r\n slot machine elbows.\r\n ",image:"bar.jpg"})),A.bartender=A.$make(dn.get("Character"),m(["name","description","locale_description","image","parent"],{name:"bartender",description:"\r\n A thin man sporting the type of long, straight\r\n ponytail that you're accustomed to seeing among\r\n reservation natives.\r\n ",locale_description:"\r\n The bartender keeps himself occupied by cleaning\r\n the glassware.\r\n ",image:"bartender.jpg",parent:A.bar})),A.$make(dn.get("Scenery"),m(["name","description","parent"],{name:"customers",description:"\r\n Just a couple of townies discussing poker strategies over beer.\r\n ",parent:A.bar})),(e=(d=A).$respond,e.$$p=(_=function(e,t){var n=_.$$s||this;return null==n.kat&&(n.kat=h),null==n.bar&&(n.bar=h),null==n.talk_to_bartender&&(n.talk_to_bartender=h),null==e&&(e=h),null==t&&(t=h),n.kat.$parent()["$=="](n.bar)?e.$tell("The bartender doesn't have any more information for you."):(e.$tell('"What can I do for you?" the bartender says.'),e.$cue(n.talk_to_bartender))},_.$$s=A,_.$$arity=2,_),e).call(d,"talk",dn.get("Use").$available(A.bartender)),A.talk_to_maple=(e=(y=A).$multiple_scene,e.$$p=(g=function(e,t){var n=g.$$s||this;return null==n.maple&&(n.maple=h),null==n.ask_maple_about_connor&&(n.ask_maple_about_connor=h),null==n.ask_maple_about_simon&&(n.ask_maple_about_simon=h),null==n.ask_maple_about_link&&(n.ask_maple_about_link=h),null==n.ask_maple_about_reed&&(n.ask_maple_about_reed=h),null==n.ask_maple_about_dealer&&(n.ask_maple_about_dealer=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(n.maple),t.$map("Ask about Connor",n.ask_maple_about_connor),t.$map("Ask about Simon",n.ask_maple_about_simon),t.$map("Ask about Link",n.ask_maple_about_link),t.$map("Ask about Reed",n.ask_maple_about_reed),t.$map("Ask about the dealer",n.ask_maple_about_dealer),t.$map("That's all for now",n.$default_scene())},g.$$s=A,g.$$arity=2,g),e).call(y),A.ask_maple_about_connor=(e=(b=A).$pause,e.$$p=(f=function(e){var t=f.$$s||this;return null==t.talk_to_maple&&(t.talk_to_maple=h),null==e&&(e=h),e.$tell('\r\n "He was at the game until the break. Then he had a brief conversation with the dealer\r\n and left the casino. That was the last time I saw him."\r\n '),e.$cue(t.talk_to_maple)},f.$$s=A,f.$$arity=1,f),e).call(b),A.ask_maple_about_simon=(e=(k=A).$pause,e.$$p=(v=function(e){var t=v.$$s||this;return null==t.talk_to_maple&&(t.talk_to_maple=h),null==e&&(e=h),e.$tell("\r\n \"Yeah, he was there most of the night. He ran late after the break, though.\r\n Didn't come back to the game 'til after 11:30.\"\r\n "),e["$[]="]("asked_maple_about_simon",!0),e.$cue(t.talk_to_maple)},v.$$s=A,v.$$arity=1,v),e).call(k),A.ask_maple_about_link=(e=(w=A).$pause,e.$$p=(T=function(e){var t=T.$$s||this;return null==t.talk_to_maple&&(t.talk_to_maple=h),null==e&&(e=h),e.$tell('\r\n "He started the game with the rest of us, but he was gone by 10:30. I\r\n haven\'t seen him since."\r\n '),e.$cue(t.talk_to_maple)},T.$$s=A,T.$$arity=1,T),e).call(w),A.ask_maple_about_reed=(e=(S=A).$pause,e.$$p=(I=function(e){var t=I.$$s||this;return null==t.talk_to_maple&&(t.talk_to_maple=h),null==e&&(e=h),e.$tell('\r\n "This was his first time at the VIP table. The dealer said he had an\r\n invitation. I just took his word for it."\r\n\r\n "Was he there between 11:15 and 11:45?" you ask.\r\n\r\n "Oh, yeah. He even stayed on the game floor during the break. That guy\r\n takes his poker serious."\r\n '),e.$cue(t.talk_to_maple)},I.$$s=A,I.$$arity=1,I),e).call(S),A.ask_maple_about_dealer=(e=(j=A).$pause,e.$$p=(x=function(e){var t=x.$$s||this;return null==t.talk_to_maple&&(t.talk_to_maple=h),null==e&&(e=h),e.$tell('\r\n "Is he a suspect? He never left the casino all night."\r\n '),e.$cue(t.talk_to_maple)},x.$$s=A,x.$$arity=1,x),e).call(j)},Ut.$$s=hn,Ut.$$arity=0,Ut),u).call(At)),_.scripts["$[]="]("casino",(u=(Ct=hn).$proc,u.$$p=(Pt=function(){var e,r,$,o,s,i,u,c,p,d,_,y,b,f,k,v,w,T,S,I,j,x,A,U=Pt.$$s||this;return null==U.game_floor&&(U.game_floor=h),null==U.lobby&&(U.lobby=h),null==U.bar&&(U.bar=h),null==U.poker_table&&(U.poker_table=h),null==U.poker_players&&(U.poker_players=h),null==U.blackjack_table&&(U.blackjack_table=h),null==U.blackjack_dealer&&(U.blackjack_dealer=h),null==U.slot_machine&&(U.slot_machine=h),null==U.glen_reed&&(U.glen_reed=h),null==U.maple&&(U.maple=h),U.game_floor=U.$make(dn.get("Public"),m(["name","description","image"],{name:"game floor",description:"\r\n An eclectic crowd streams around the slot machines and card tables. You're\r\n familiar enough with the casino's ways to spot the occasional whale among\r\n the locals. Doorways lead to the casino bar and the dining room.\r\n",image:"casino.jpg"})),U.game_floor.$connect(U.lobby),U.game_floor.$connect(U.bar),U.poker_table=U.$make(dn.get("Room"),m(["name","description","image"],{name:"poker table",description:"A stone-faced dealer oversees a group of players in an intense game of Texas hold 'em.",image:"poker-table.jpg"})),U.poker_table.$connect(U.game_floor),U.poker_players=U.$make(dn.get("Scenery"),m(["name","description","parent"],{name:"poker players",description:"These guys are high society. Ante starts at a thousand and the typical pot hits five figures easy.",parent:U.poker_table})),U.poker_dealer=U.$make(dn.get("Character"),m(["name","description","parent"],{name:"poker dealer",description:"He's too preoccupied to give you any time.",parent:U.poker_table})),(e=(r=U).$respond,e.$$p=($=function(e,t){$.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed()},$.$$s=U,$.$$arity=2,$),e).call(r,"look",dn.get("Use").$available(U.poker_players)),U.maple=U.$make(dn.get("Character"),m(["name","description","parent","image"],{name:"brown-skinned old man",description:"An elderly man with stark white hair and a deep tan.",parent:U.poker_table,image:"maple.jpg"})),(e=(o=U).$respond,e.$$p=(s=function(e){var t,n=s.$$s||this;return null==n.poker_table&&(n.poker_table=h),null==n.poker_dealer&&(n.poker_dealer=h),null==e&&(e=h),(t=e.$room()["$=="](n.poker_table)?n.poker_dealer.$parent()["$=="](e.$room()):e.$room()["$=="](n.poker_table))===h||null==t||t.$$is_boolean&&1!=t?e.$tell("There's not a poker game here."):e.$tell('"Sorry, friend," the dealer says. "This is a private game."')},s.$$s=U,s.$$arity=1,s),e).call(o,"poker"),U.$interpret("play poker","poker"),U.blackjack_table=U.$make(dn.get("Public"),m(["name","description","image"],{name:"blackjack table",description:"The dealer snaps cards on the table with nimble fingers. Two players work their way through slowly shrinking stacks of chips.",image:"blackjack.jpg"})),U.$make(dn.get("Scenery"),m(["name","description","parent"],{name:"players",description:"Typical casino lizards. Seen one, seen 'em all.",parent:U.blackjack_table})),U.blackjack_table.$connect(U.game_floor),U.blackjack_dealer=U.$make(dn.get("Character"),m(["name","itemized","description","parent"],{name:"dealer",itemized:!1,description:"A slender Asian woman in a crisp white shirt and bowtie.",parent:U.blackjack_table})),(e=(i=U).$respond,e.$$p=(u=function(e,t){u.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell("She doesn't have any useful information.")},u.$$s=U,u.$$arity=2,u),e).call(i,"talk",dn.get("Use").$available(U.blackjack_dealer)),U.slot_machine=U.$make(dn.get("Fixture"),m(["itemized","name","synonyms","description","parent"],{itemized:!1,name:"slot machine",synonyms:"slots",description:"The rules are simple. One play costs one chip. Match three items to win. Bells pay 50, cherries pay 20, oranges pay 10, and lemons return your chip.",parent:U.game_floor})),(e=(c=U).$respond,e.$$p=(p=function(e,r){var $,l,o=(p.$$s,h),s=h,i=h;return null==e&&(e=h),null==r&&(r=h),e["$[]"]("chips")["$=="](0)?e.$tell("You don't have any chips."):($="chips",l=e,l["$[]="]($,a(l["$[]"]($),1)),o=["bell","cherry","orange","lemon"],s=g(["bell","bell","bell"],50,["cherry","cherry","cherry"],20,["orange","orange","orange"],10,["lemon","lemon","lemon"],1),i=[o.$random(),o.$random(),o.$random()],e.$tell("You insert a chip and pull the lever."),e.$tell(i.$join("...").$cap_first()+"."),($=s["$[]"](i))===h||null==$||$.$$is_boolean&&1!=$?h:(e.$tell("You won "+s["$[]"](i)+" chip"+function(){return($=n(s["$[]"](i),1))===h||null==$||$.$$is_boolean&&1!=$?"":"s"}()+"."),$="chips",l=e,l["$[]="]($,t(l["$[]"]($),s["$[]"](i)))))},p.$$s=U,p.$$arity=2,p),e).call(c,"play",dn.get("Use").$available(U.slot_machine)),(e=(d=U).$respond,e.$$p=(_=function(e){var t=_.$$s||this;return null==t.blackjack_table&&(t.blackjack_table=h),null==t.played_blackjack&&(t.played_blackjack=h),null==e&&(e=h),e.$room()["$=="](t.blackjack_table)?t.$branch(dn.get("Blackjack"),m(["introduce","next_cue"],{introduce:e,next_cue:t.played_blackjack})):e.$tell("There's not a blackjack game here.")},_.$$s=U,_.$$arity=1,_),e).call(d,"blackjack"),U.$interpret("play blackjack","blackjack"),(e=(y=U).$on_player_update,e.$$p=(b=function(e){var t=b.$$s||this;return null==t.blackjack_table&&(t.blackjack_table=h),null==t.poker_table&&(t.poker_table=h),null==t.slot_machine&&(t.slot_machine=h),null==e&&(e=h),e.$room()["$=="](t.blackjack_table)&&e.$suggest("play blackjack"),e.$room()["$=="](t.poker_table)&&e.$suggest("play poker"),e.$room()["$=="](t.slot_machine.$room())?e.$suggest("play slots"):h},b.$$s=U,b.$$arity=1,b),e).call(y),U.played_blackjack=(e=(f=U).$pause,e.$$p=(k=function(e){var n,a,r,$=k.$$s||this;return null==$.kat&&($.kat=h),null==$.bar&&($.bar=h),null==$.bgirl_approaches&&($.bgirl_approaches=h),null==$.play_blackjack_again&&($.play_blackjack_again=h),null==e&&(e=h),n="blackjack_games",a=e,!1!==(r=a["$[]"](n))&&r!==h&&null!=r||a["$[]="](n,0),n="blackjack_games",a=e,a["$[]="](n,t(a["$[]"](n),1)),r=e["$[]"]("asked_bartender_about_bgirl"),a=!1!==r&&r!==h&&null!=r?$.kat.$parent()["$!="]($.bar):r,(n=!1!==a&&a!==h&&null!=a?!1!==(r=l($.$rand(),.3))&&r!==h&&null!=r?r:e["$[]"]("blackjack_games")["$%"](3)["$=="](0):a)===h||null==n||n.$$is_boolean&&1!=n?(e.$tell("Play another hand?"),e.$prepare($.play_blackjack_again)):e.$prepare($.bgirl_approaches)},k.$$s=U,k.$$arity=1,k),e).call(f),U.play_blackjack_again=(e=(v=U).$yes_or_no,e.$$p=(w=function(e,t){var n,a=w.$$s||this;return null==e&&(e=h),null==t&&(t=h),(n=t["$yes?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$cue(a.$default_scene()):e.$perform("play blackjack")},w.$$s=U,w.$$arity=2,w),e).call(v),U.glen_reed=U.$make(dn.get("Character"),m(["name","description","parent","image","text_align"],{name:"thin middle-aged man",description:"He looks a lot like the guy in the picture on Connor's cell phone.",parent:h,image:"glen.jpg",text_align:"bottom"})),(e=(T=U).$respond,e.$$p=(S=function(e,t){S.$$s;return null==e&&(e=h),null==t&&(t=h),e["$[]="]("saw_reed",!0),e.$proceed()},S.$$s=U,S.$$arity=2,S),e).call(T,"look",dn.get("Use").$available(U.glen_reed)),(e=(I=U).$respond,e.$$p=(j=function(e,t){j.$$s;return null==e&&(e=h),null==t&&(t=h),e["$[]="]("saw_reed",!0),e.$choose_wallpaper(t),e.$tell('\r\n No doubt in your mind. This is the guy in the picture on Connor\'s phone.\r\n\r\n "Excuse me," you say. "I need to talk to you about Troy Connor."\r\n\r\n The man gives you an irritated look. "Not now, pal. I\'m in the middle of a game here."\r\n\r\n "This is about&mdash;"\r\n\r\n "Sir," the dealer interrupts, "I know you have a job to do, but I\'m sure Mr. Plant would\r\n want special consideration for this particular game. You can talk to the players later.\r\n They\'ll be here for a while."\r\n\r\n A bouncer looms nearby, subtly reminding you that one of Benny\'s objectives is to avoid\r\n making a scene.\r\n ')},j.$$s=U,j.$$arity=2,j),e).call(I,"talk",dn.get("Use").$available(U.glen_reed)),(e=(x=U).$respond,e.$$p=(A=function(e,n){var a,r,$=A.$$s||this;return null==$.maple&&($.maple=h),null==$.poker_table&&($.poker_table=h),null==$.talk_to_maple&&($.talk_to_maple=h),null==e&&(e=h),null==n&&(n=h),$.maple.$parent()["$=="]($.poker_table)?e.$tell('\r\n The dealer interrupts you. "Please don\'t bother the players. You can talk to them after the game."\r\n '):((a=e["$[]"]("talked_to_maple")["$!"]())===h||null==a||a.$$is_boolean&&1!=a?e.$tell(' "How can I help, officer?" '):(a=["Mr. Maple"],r=$.maple,r["$name="].apply(r,a),a[a.length-1],a=[!0],r=$.maple,r["$proper_named="].apply(r,a),a[a.length-1],e.$tell("\r\n The old man gives you a solemn nod. \"You're the cop, right? My name's\r\n Maple. I was at the poker table all night until the pit boss dragged\r\n the dealer away. Then I heard about Connor. I oughta give Benny a\r\n piece of my mind. As much as I like the special treatment at the VIP\r\n table, I think murder is a fair reason to interrupt the game.\"\r\n "),a=$.maple,a["$description="](t(a.$description()," He's one of the regulars at the VIP table.")),e["$[]="]("talked_to_maple",!0)),e.$cue($.talk_to_maple))},A.$$s=U,A.$$arity=2,A),e).call(x,"talk",dn.get("Use").$available(U.maple))},Pt.$$s=hn,Pt.$$arity=0,Pt),u).call(Ct)),_.scripts["$[]="]("security",(u=(zt=hn).$proc,u.$$p=(Yt=function(){var e,t,r,l,o,s,i,u,c,p,d,_,y,g,b,f,k,v,w,T,S,I,j,x,A,U,C,P,z,Y,H,B,L,M,E,R,G,q,W,F=Yt.$$s||this,N=h,D=h,J=h,Q=h;return null==F.security&&(F.security=h),null==F.front_desk&&(F.front_desk=h),null==F.guard&&(F.guard=h),null==F.benny_plant&&(F.benny_plant=h),F.benny_plant=F.$make(dn.get("Character"),m(["name","proper_named","description","parent"],{name:"Benny Plant",proper_named:!0,description:"Redstone's head honcho. Benny has a boyish demeanor that belies an acute business acumen.",parent:h})),F.pit_boss=F.$make(dn.get("Character"),m(["name","proper_named","parent"],{name:"the pit boss",proper_named:!0,parent:h})),F.security=F.$make(dn.get("Room"),m(["name","description","image"],{name:"security office",description:"\r\n A dozen monitors occupy one wall of the office. Curiously, none of them appear\r\n to be turned on.\r\n\r\n A security guard sits at the desk in the middle of the room.\r\n",image:"security-office.jpg"})),F.security.$connect(F.front_desk),F.guard=F.$make(dn.get("Character"),m(["name","description","parent","itemized","image"],{name:"security guard",description:"A heavyset man in his mid-forties.",parent:F.security,itemized:!1,image:"security-guard.jpg"})),F.monitors=F.$make(dn.get("Scenery"),m(["name","description","parent"],{name:"monitors",description:"The name <em>Vizinet Security</em> is printed across the lower panels of the monitors. All of the screens are blank.",parent:F.security})),N=(e=(t=F).$yes_or_no,e.$$p=(r=function(e,t){var n,a=r.$$s||this;return null==a.cheater_hunt_finished&&(a.cheater_hunt_finished=h),null==a.talk_to_guard&&(a.talk_to_guard=h),null==e&&(e=h),null==t&&(t=h),(n=t["$yes?"]())===h||null==n||n.$$is_boolean&&1!=n?(e.$tell('The guard shrugs. "Lemme know if you change your mind."'),e.$cue(a.talk_to_guard)):(e["$[]="]("accepted_cheater_hunt",!0),a.$branch(dn.get("CheaterHunt"),m(["introduce","next_cue"],{introduce:e,next_cue:a.cheater_hunt_finished})))},r.$$s=F,r.$$arity=2,r),e).call(t),F.cheater_hunt_finished=(e=(l=F).$pause,e.$$p=(o=function(e){var t,a,r=o.$$s||this;return null==r.benny_plant&&(r.benny_plant=h),null==r.security&&(r.security=h),null==e&&(e=h),a=r.benny_plant.$parent()["$nil?"](),(t=!1!==a&&a!==h&&null!=a?n(e["$[]"]("cheaters_caught"),0):a)===h||null==t||t.$$is_boolean&&1!=t||(t=[r.security],a=r.benny_plant,a["$parent="].apply(a,t),t[t.length-1]),e.$cue(r.$default_scene())},o.$$s=F,o.$$arity=1,o),e).call(l),D=(e=(s=F).$pause,e.$$p=(i=function(e){var t=i.$$s||this;return null==t.guard&&(t.guard=h),null==t.talk_to_guard&&(t.talk_to_guard=h),null==e&&(e=h),e.$choose_wallpaper(t.guard),e["$[]="]("asked_about_cameras",!0),e.$tell('\r\n "Darndest thing," he says. "Something went wacko with the server about two hours ago.\r\n Knocked out all the cameras. Hell of a time for it to happen. Besides this Connor thing,\r\n we\'ve been having trouble with professional cheats all night."\r\n '),e.$cue(t.talk_to_guard)},i.$$s=F,i.$$arity=1,i),e).call(s),J=(e=(u=F).$pause,e.$$p=(c=function(e,t){var n,a,r=c.$$s||this;return null==r.guard&&(r.guard=h),null==r.talk_to_guard&&(r.talk_to_guard=h),null==e&&(e=h),null==t&&(t=h),n=[!1],a=t,a["$tracked="].apply(a,n),n[n.length-1],e.$choose_wallpaper(r.guard),(n=$(e["$[]"]("chips"),150))===h||null==n||n.$$is_boolean&&1!=n?((n=e["$[]"]("accepted_cheater_hunt")["$!"]())===h||null==n||n.$$is_boolean&&1!=n?e.$tell('\r\n "Floor man spotted one a few minutes ago. You up for another hunt?"\r\n '):e.$tell('\r\n "Been a rash of \'em lately," the guard says. "In fact, there were a few mechanics\r\n we were tracking on the game floor when the cameras went out. If you can help us\r\n get back on their trail, could be a reward in it. You interested?"\r\n '),e.$cue(N)):(e.$tell("\r\n \"They've been a problem, but it looks like things have cooled off for now.\r\n Check back later. I'll let you know if I hear anything from the floor men.\"\r\n "),e.$cue(r.talk_to_guard))},c.$$s=F,c.$$arity=2,c),e).call(u),Q=(e=(p=F).$pause,e.$$p=(d=function(e){var t=d.$$s||this;return null==t.guard&&(t.guard=h),null==t.talk_to_guard&&(t.talk_to_guard=h),null==e&&(e=h),e.$choose_wallpaper(t.guard),e.$tell('\r\n The guard shrugs. "He was a regular, but I never talked to him myself. The\r\n desk clerk should be able to tell you more."\r\n '),e.$cue(t.talk_to_guard)},d.$$s=F,d.$$arity=1,d),e).call(p),F.talk_to_guard=(e=(_=F).$multiple_scene,e.$$p=(y=function(e,t){var n,a=y.$$s||this;return null==a.guard&&(a.guard=h),null==a.laptop&&(a.laptop=h),null==a.show_guard_laptop&&(a.show_guard_laptop=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(a.guard),a.laptop.$parent()["$=="](e)?t.$map("Show him the laptop",a.show_guard_laptop):((n=e["$[]"]("asked_about_cameras"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about cheaters",J),t.$map("Ask about the cameras",D),t.$map("Ask about Troy Connor",Q)),t.$map("That's all for now",a.$default_scene())},y.$$s=F,y.$$arity=2,y),e).call(_),(e=(g=F).$respond,e.$$p=(b=function(e,t){var n,a,r=b.$$s||this;return null==r.laptop&&(r.laptop=h),null==r.talk_to_guard&&(r.talk_to_guard=h),null==e&&(e=h),null==t&&(t=h),(n=r["$in_subplot?"](e))===h||null==n||n.$$is_boolean&&1!=n?(a=e["$[]"]("started_interrogation"),(n=!1!==a&&a!==h&&null!=a?r.laptop.$parent()["$!="](e):a)===h||null==n||n.$$is_boolean&&1!=n?(r.laptop.$parent()["$=="](e)?e.$tell('\r\n "Got something new for me?"\r\n '):e.$tell("\r\n The guard sets aside his newspaper.\r\n "),e.$cue(r.talk_to_guard)):e.$tell("\r\n \"Sorry, deputy. If you don't have anything new to show me, I'm stumped.\"\r\n ")):e.$tell("He's still waiting for you to find that cheater.")},b.$$s=F,b.$$arity=2,b),e).call(g,"talk",dn.get("Use").$available(F.guard)),(e=(f=F).$on_player_update,e.$$p=(k=function(e){var t,n=k.$$s||this;return null==n.benny_plant&&(n.benny_plant=h),null==n.benny_thanks_player&&(n.benny_thanks_player=h),null==e&&(e=h),(t=n.benny_plant.$room()["$=="](e.$room())?n.benny_plant["$[]"]("thanked_for_cheater_hunt")["$!"]():n.benny_plant.$room()["$=="](e.$room()))===h||null==t||t.$$is_boolean&&1!=t?h:e.$cue(n.benny_thanks_player)},k.$$s=F,k.$$arity=1,k),e).call(f),F.benny_thanks_player=(e=(v=F).$pause,e.$$p=(w=function(e){var t,a=w.$$s||this;return null==a.benny_plant&&(a.benny_plant=h),null==e&&(e=h),a.benny_plant["$[]="]("thanked_for_cheater_hunt",!0),(t=n(e["$[]"]("cheaters_caught"),0))===h||null==t||t.$$is_boolean&&1!=t?(t=e["$entered?"](D)["$!"]())===h||null==t||t.$$is_boolean&&1!=t?e.$tell('\r\n "Hey, deputy!" Benny says with a grin. "I hear you\'ve been looking into Connor\'s\r\n pals. Got any leads yet?"\r\n '):e.$tell("\r\n \"Hey, deputy,\" Benny says. \"In case you haven't noticed, my security\r\n team has their hands full tonight. The camera system's been down for a\r\n couple hours, and we got a house full of mechanics for some reason.\r\n Anyway, I hear you've been looking into Connor's pals. Got any leads\r\n yet?\"\r\n "):e.$tell('\r\n "Hey, deputy!" Benny says with a grin. "I hear you\'ve been helping\r\n my staff get rid of some mechanics. I appreciate the help, but don\'t forget the\r\n bigger goal here."\r\n '),e.$tell('\r\n "I\'m working on it," you assure him.\r\n\r\n "Good to hear. If there\'s anything I can do to help, just ask."\r\n '),e.$prepare(a.$default_scene())},w.$$s=F,w.$$arity=1,w),e).call(v),(e=(T=F).$respond,e.$$p=(S=function(e,t){var n=S.$$s||this;return null==n.talk_to_benny&&(n.talk_to_benny=h),null==e&&(e=h),null==t&&(t=h),e.$tell('Benny looks at you eagerly. "Any progress yet?"'),e.$cue(n.talk_to_benny)},S.$$s=F,S.$$arity=2,S),e).call(T,"talk",dn.get("Use").$available(F.benny_plant)),F.talk_to_benny=(e=(I=F).$multiple_scene,e.$$p=(j=function(e,t){var n,a=j.$$s||this;return null==a.ask_benny_about_connor&&(a.ask_benny_about_connor=h),null==a.ask_benny_about_simon&&(a.ask_benny_about_simon=h),null==a.ask_benny_about_link&&(a.ask_benny_about_link=h),null==a.ask_benny_about_fbi&&(a.ask_benny_about_fbi=h),null==a.connor_phone&&(a.connor_phone=h),null==a.show_benny_phone&&(a.show_benny_phone=h),null==a.laptop&&(a.laptop=h),null==a.show_benny_laptop&&(a.show_benny_laptop=h),null==e&&(e=h),null==t&&(t=h),t.$map("Ask about Troy Connor",a.ask_benny_about_connor),(n=e["$[]"]("asked_clerk_about_simon"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about John Simon",a.ask_benny_about_simon),(n=e["$[]"]("asked_clerk_about_link"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about Peter Link",a.ask_benny_about_link),t.$map("Ask about FBI",a.ask_benny_about_fbi),(n=a.connor_phone.$parent()["$=="](e)?e["$[]"]("started_interrogation")["$!"]():a.connor_phone.$parent()["$=="](e))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Show him Connor's phone",a.show_benny_phone),a.laptop.$parent()["$=="](e)&&t.$map("Show him the laptop",a.show_benny_laptop),t.$map("That's all for now",a.$default_scene())},j.$$s=F,j.$$arity=2,j),e).call(I),F.show_benny_laptop=(e=(x=F).$pause,e.$$p=(A=function(e){var t=A.$$s||this;return null==t.show_guard_laptop&&(t.show_guard_laptop=h),null==e&&(e=h),e.$tell('\r\n Benny peers at the screen. "Vizinet." He looks at the guard. "Aren\'t they one of our vendors? Maybe you should take a look at this."\r\n '),e.$cue(t.show_guard_laptop)},A.$$s=F,A.$$arity=1,A),e).call(x),F.ask_benny_about_fbi=(e=(U=F).$pause,e.$$p=(C=function(e){var t=C.$$s||this;return null==t.talk_to_benny&&(t.talk_to_benny=h),null==e&&(e=h),e.$tell("\r\n Benny points a thumb at the security guard. \"This schmo thought it was a\r\n good idea to call the state police. Word got to the feds. They called me\r\n to say they'll have an agent here in a couple of hours. Just what I need.\r\n A non-native murdered on reservation land? I'll be lucky if they don't\r\n tear the place to rubble.\"\r\n\r\n He wasn't wrong. The FBI's jurisdiction might be arguable, but if they\r\n insist on pushing the issue, they could make a serious mess. Having a\r\n suspect in custody before they arrive will go a long way toward smoothing\r\n things over.\r\n "),e.$cue(t.talk_to_benny)},C.$$s=F,C.$$arity=1,C),e).call(U),F.ask_benny_about_connor=(e=(P=F).$pause,e.$$p=(z=function(e){var t=z.$$s||this;return null==t.talk_to_benny&&(t.talk_to_benny=h),null==e&&(e=h),e.$tell('\r\n "He\'s one of our favorite regulars," Benny says. "Spends lots of money, never had a serious\r\n problem...until now."\r\n '),e.$cue(t.talk_to_benny)},z.$$s=F,z.$$arity=1,z),e).call(P),F.ask_benny_about_simon=(e=(Y=F).$pause,e.$$p=(H=function(e){var t=H.$$s||this;return null==t.talk_to_benny&&(t.talk_to_benny=h),null==e&&(e=h),e.$tell('\r\n "I only met Simon when they arrived this afternoon. Connor assured me he\'d be a top-notch client."\r\n '),e.$cue(t.talk_to_benny)},H.$$s=F,H.$$arity=1,H),e).call(Y),F.ask_benny_about_link=(e=(B=F).$pause,e.$$p=(L=function(e){var t=L.$$s||this;return null==t.talk_to_benny&&(t.talk_to_benny=h),null==e&&(e=h),e.$tell("\r\n Benny frowns. \"I'll be honest. Link wouldn't get the same VIP treatment if he wasn't with Connor.\r\n We've never had any serious complaints, but sometimes he's a bit of a nuisance.\"\r\n "),e.$cue(t.talk_to_benny)},L.$$s=F,L.$$arity=1,L),e).call(B),F.show_benny_phone=(e=(M=F).$pause,e.$$p=(E=function(e,t){var n,a,r=E.$$s||this;return null==r.pit_boss&&(r.pit_boss=h),null==r.benny_sends_pit_boss&&(r.benny_sends_pit_boss=h),null==r.talk_to_benny&&(r.talk_to_benny=h),null==e&&(e=h),null==t&&(t=h),n=[!1],a=t,a["$tracked="].apply(a,n),n[n.length-1],(n=r.pit_boss.$parent()["$!="](h))===h||null==n||n.$$is_boolean&&1!=n?((n=e["$[]"]("showed_benny_phone"))===h||null==n||n.$$is_boolean&&1!=n?(e["$[]="]("showed_benny_phone",!0),e.$tell('\r\n "I found Connor\'s phone in his room," you say. "Take a look at these text messages."\r\n\r\n Benny frowns at the screen. "Steve from Santa Fe? He must mean Steve Lodash, the guy with\r\n the poker club near Camel Rock. Who\'s the guy in the picture?"\r\n ')):e.$tell('\r\n Benny nods. "The guy Connor was looking into. Have you learned anything else about him?"\r\n '),(n=e["$[]"]("saw_reed"))===h||null==n||n.$$is_boolean&&1!=n?e.$tell('\r\n "I\'m still looking into him."\r\n\r\n Benny returns the phone. "If you spot him in the casino, let me know."\r\n '):(e.$tell('\r\n "All I know, he\'s one of the guys at the poker table."\r\n\r\n Benny turned pale. "Good lord. This guy\'s playing at the private table, and Connor\r\n was concerned about him? Is he somebody\'s guest?"\r\n\r\n "I don\'t know. I\'ve been politely discouraged from interfering with the game."\r\n\r\n "Christ. The last table where I expected to worry about mechanics." Benny turned to\r\n the security guard. "Radio the pit boss and tell him to get a look at this guy.\r\n Pull him at the first sign of trouble."\r\n '),e.$cue(r.benny_sends_pit_boss))):e.$tell('\r\n "Don\'t worry," Benny says. "If that guy\'s on a hustle, the pit boss will know soon enough."\r\n '),e.$cue(r.talk_to_benny)},E.$$s=F,E.$$arity=2,E),e).call(M),F.benny_sends_pit_boss=(e=(R=F).$pause,e.$$p=(G=function(e){var t,n,a=G.$$s||this;return null==a.poker_table&&(a.poker_table=h),null==a.pit_boss&&(a.pit_boss=h),null==a.glen_reed&&(a.glen_reed=h),null==a.poker_dealer&&(a.poker_dealer=h),null==e&&(e=h),t=[a.poker_table],n=a.pit_boss,n["$parent="].apply(n,t),t[t.length-1],a.pit_boss["$[]="]("turns_watching_reed",2),t=[!1],n=a.pit_boss,n["$itemized="].apply(n,t),t[t.length-1],t=[!1],n=a.glen_reed,n["$itemized="].apply(n,t),t[t.length-1],t=[!1],n=a.poker_dealer,n["$itemized="].apply(n,t),t[t.length-1]},G.$$s=F,G.$$arity=1,G),e).call(R),(e=(q=F).$on_update,e.$$p=(W=function(){var e,t,r=W.$$s||this,$=h;return null==r.pit_boss&&(r.pit_boss=h),null==r.security&&(r.security=h),null==r.poker_dealer&&(r.poker_dealer=h),null==r.poker_table&&(r.poker_table=h),null==r.poker_players&&(r.poker_players=h),null==r.glen_reed&&(r.glen_reed=h),null==r.maple&&(r.maple=h),(e=!1!==(t=r.pit_boss.$parent()["$nil?"]())&&t!==h&&null!=t?t:r.pit_boss.$parent()["$=="](r.security))===h||null==e||e.$$is_boolean&&1!=e?(e=n(r.pit_boss["$[]"]("turns_watching_reed"),0))===h||null==e||e.$$is_boolean&&1!=e?(r.poker_dealer.$parent()["$=="](r.poker_table)&&(e=["No one's at the table anymore."],t=r.poker_table,t["$description="].apply(t,e),e[e.length-1]),e=[h],t=r.poker_players,t["$parent="].apply(t,e),e[e.length-1],$=dn.get("Pathfinder").$new(r.pit_boss.$parent(),r.security),r.pit_boss.$parent().$tell(r.$The(r.pit_boss)+" leads "+r.$the(r.glen_reed)+" and "+r.$the(r.poker_dealer)+" to "+r.$the($.$path()["$[]"](0))+"."),e=[$.$path()["$[]"](0)],t=r.pit_boss,t["$parent="].apply(t,e),e[e.length-1],e=[$.$path()["$[]"](0)],t=r.glen_reed,t["$parent="].apply(t,e),e[e.length-1],e=[$.$path()["$[]"](0)],t=r.poker_dealer,t["$parent="].apply(t,e),e[e.length-1],r.pit_boss.$parent().$tell(r.$The(r.pit_boss)+" arrives with "+r.$the(r.glen_reed)+" and "+r.$the(r.poker_dealer)+" in tow."),r.pit_boss.$parent()["$=="](r.security)?(e=[!0],t=r.pit_boss,t["$itemized="].apply(t,e),e[e.length-1],e=[!0],t=r.poker_dealer,t["$itemized="].apply(t,e),e[e.length-1],e=[!0],t=r.glen_reed,t["$itemized="].apply(t,e),e[e.length-1],e=["He looks nervous."],t=r.poker_dealer,t["$description="].apply(t,e),e[e.length-1],e=[h],t=r.maple,t["$parent="].apply(t,e),e[e.length-1]):h):(e="turns_watching_reed",t=r.pit_boss,t["$[]="](e,a(t["$[]"](e),1))):h},W.$$s=F,W.$$arity=0,W),e).call(q)},Yt.$$s=hn,Yt.$$arity=0,Yt),u).call(zt)),_.scripts["$[]="]("kat",(u=(Ht=hn).$proc,u.$$p=(Bt=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d,_,y,g,b,f,k,v,w=Bt.$$s||this;return null==w.kat&&(w.kat=h),w.kat=w.$make(dn.get("Character"),m(["name","proper_named","description","image","text_align"],{name:"Kat",proper_named:!0,description:"An attractive brunette in a slinky red dress.",image:"kat.jpg",text_align:"bottom"})),(e=(t=w).$respond,e.$$p=(n=function(e,t){var a,r,$=n.$$s||this;return null==$.kat_mentions_maple&&($.kat_mentions_maple=h),null==$.talk_to_bgirl&&($.talk_to_bgirl=h),null==e&&(e=h),null==t&&(t=h),r=e["$[]"]("started_interrogation"),
(a=!1!==r&&r!==h&&null!=r?e["$[]"]("asked_kat_about_link"):r)===h||null==a||a.$$is_boolean&&1!=a?e.$cue($.talk_to_bgirl):e.$cue($.kat_mentions_maple)},n.$$s=w,n.$$arity=2,n),e).call(t,"talk",dn.get("Use").$available(w.kat)),w.bgirl_approaches=(e=(a=w).$pause,e.$$p=(r=function(e){var t=r.$$s||this;return null==t.bgirl_response&&(t.bgirl_response=h),null==t.kat&&(t.kat=h),null==e&&(e=h),e.$tell('An attractive brunette sidles up to you. "Hey, big spender. Buy a girl a drink?"'),e.$cue(t.bgirl_response),e.$choose_wallpaper(t.kat)},r.$$s=w,r.$$arity=1,r),e).call(a),w.bgirl_response=(e=($=w).$yes_or_no,e.$$p=(l=function(e,t){var n,a=l.$$s||this;return null==a.start_bgirl_interview&&(a.start_bgirl_interview=h),null==a.play_blackjack_again&&(a.play_blackjack_again=h),null==e&&(e=h),null==t&&(t=h),(n=t["$yes?"]())===h||null==n||n.$$is_boolean&&1!=n?(e.$tell('She gives your shoulder a friendly caress. "Some other time, maybe."'),e.$tell("Play another hand?"),e.$cue(a.play_blackjack_again)):e.$cue(a.start_bgirl_interview)},l.$$s=w,l.$$arity=2,l),e).call($),w.start_bgirl_interview=(e=(o=w).$pause,e.$$p=(s=function(e){var t,n,a=s.$$s||this;return null==a.bar&&(a.bar=h),null==a.kat&&(a.kat=h),null==a.talk_to_bgirl&&(a.talk_to_bgirl=h),null==e&&(e=h),t=[a.bar],n=e,n["$parent="].apply(n,t),t[t.length-1],t=[a.bar],n=a.kat,n["$parent="].apply(n,t),t[t.length-1],e.$tell('\r\n You lead the young woman to the bar. She tells you her name is "Kat, with a K."\r\n\r\n The bartender sets his palms on the bar as you and Kat settle on your barstools.\r\n\r\n "Is this her?" you ask.\r\n\r\n "Yeah, that\'s her." The bartender turns to another customer.\r\n\r\n Kat\'s eyes harden. "You a cop or something?"\r\n '),e.$cue(a.talk_to_bgirl)},s.$$s=w,s.$$arity=1,s),e).call(o),w.talk_to_bgirl=(e=(i=w).$multiple_scene,e.$$p=(u=function(e,t){var n=u.$$s||this;return null==n.kat&&(n.kat=h),null==n.ask_kat_about_troy&&(n.ask_kat_about_troy=h),null==n.ask_kat_about_simon&&(n.ask_kat_about_simon=h),null==n.ask_kat_about_link&&(n.ask_kat_about_link=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(n.kat),t.$map("Ask about Troy Connor",n.ask_kat_about_troy),t.$map("Ask about John Simon",n.ask_kat_about_simon),t.$map("Ask about Peter Link",n.ask_kat_about_link),t.$map("That's all for now",n.$default_scene())},u.$$s=w,u.$$arity=2,u),e).call(i),w.kat_mentions_maple=(e=(c=w).$pause,e.$$p=(p=function(e){var t=p.$$s||this;return null==t.maple&&(t.maple=h),null==e&&(e=h),e.$tell('\r\n Kat rolls her eyes. "Why are you still bugging me, flatfoot? If you need more dirt, try talking to Maple."\r\n '),t.maple.$name()["$=="]("Mr. Maple")?e.$tell('\r\n "I already talked to him," you say.\r\n\r\n "Then I don\'t know what else to tell you."\r\n '):e.$tell('\r\n "Who?"\r\n\r\n "One of the regulars at the VIP game. Old guy with a dark suntan. I saw him wander into the restaurant not too long ago."\r\n '),e.$cue(t.$default_scene())},p.$$s=w,p.$$arity=1,p),e).call(c),w.ask_kat_about_troy=(e=(d=w).$pause,e.$$p=(_=function(e){var t=_.$$s||this;return null==t.talk_to_bgirl&&(t.talk_to_bgirl=h),null==e&&(e=h),e.$tell('"Sure, I know who Connor is. I make it my business to know\r\n all the VIPs. Never talked to him, though. He\'s only here for the poker."'),e.$cue(t.talk_to_bgirl)},_.$$s=w,_.$$arity=1,_),e).call(d),w.ask_kat_about_simon=(e=(y=w).$pause,e.$$p=(g=function(e){var t=g.$$s||this;return null==t.talk_to_bgirl&&(t.talk_to_bgirl=h),null==e&&(e=h),e.$tell('"Nope. Don\'t know him."'),e.$cue(t.talk_to_bgirl)},g.$$s=w,g.$$arity=1,g),e).call(y),w.ask_kat_about_link=(e=(b=w).$pause,e.$$p=(f=function(e){var t,n=f.$$s||this;return null==n.talk_to_bgirl&&(n.talk_to_bgirl=h),null==e&&(e=h),(t=e["$[]"]("asked_kat_about_link"))===h||null==t||t.$$is_boolean&&1!=t?(e.$tell('\r\n Kat pauses for a moment. "I don\'t think I know a Peter Blink."\r\n\r\n "Cut the act," you say. "I already know you ran a hustle on him right here at the bar. Where\'d you go with him?"\r\n\r\n She hisses testily. "Fine. We went up to his room around 11:00. We had a few laughs and I left around midnight. Happy?"\r\n '),e["$[]="]("asked_kat_about_link",!0)):e.$tell('\r\n "I already told you everything you need to know. I went to his room at 11:00 and stayed until midnight. He was still there when I left."\r\n '),e.$cue(n.talk_to_bgirl)},f.$$s=w,f.$$arity=1,f),e).call(b),(e=(k=w).$on_player_ready,e.$$p=(v=function(e){var t,n,a,r=v.$$s||this;return null==r.kat&&(r.kat=h),null==e&&(e=h),a=e["$[]"]("asked_maple_about_simon"),n=!1!==a&&a!==h&&null!=a?e["$[]"]("asked_kat_about_link"):a,(t=!1!==n&&n!==h&&null!=n?r.kat.$parent()["$!="](e.$parent()):n)===h||null==t||t.$$is_boolean&&1!=t?h:(t=[h],n=r.kat,n["$parent="].apply(n,t),t[t.length-1])},v.$$s=w,v.$$arity=1,v),e).call(k)},Bt.$$s=hn,Bt.$$arity=0,Bt),u).call(Ht)),_.scripts["$[]="]("restaurant",(u=(Lt=hn).$proc,u.$$p=(Mt=function(){var e,t,n,a,r,$,l,o,s,i,u,c=Mt.$$s||this;return null==c.dining_room&&(c.dining_room=h),null==c.game_floor&&(c.game_floor=h),null==c.kitchen&&(c.kitchen=h),null==c.waiter&&(c.waiter=h),c.dining_room=c.$make(dn.get("Public"),m(["name","image","description"],{name:"dining room",image:"dining-room.jpg",description:"An elegant room with a couple dozen tables, mostly empty at this time of night."})),c.dining_room.$connect(c.game_floor),c.kitchen=c.$make(dn.get("Room"),m(["name","image"],{name:"kitchen",image:"kitchen.jpg"})),c.kitchen.$connect(c.dining_room),c.waiter=c.$make(dn.get("Character"),m(["name","description","parent"],{name:"waiter",description:"A slim young man in a crisp white shirt and black trousers.",parent:c.kitchen})),(e=(t=c).$respond,e.$$p=(n=function(e,t){var a,r=n.$$s||this;return null==r.talk_to_waiter&&(r.talk_to_waiter=h),null==e&&(e=h),null==t&&(t=h),(a=e["$[]"]("talked_to_waiter")["$!"]())===h||null==a||a.$$is_boolean&&1!=a?e.$tell(' "What\'s up, deputy?" '):(e["$[]="]("talked_to_waiter",!0),e.$tell(' The waiter gives you a tight-lipped grin. "I figured you\'d get around to me sometime." ')),e.$cue(r.talk_to_waiter)},n.$$s=c,n.$$arity=2,n),e).call(t,"talk",dn.get("Use").$available(c.waiter)),c.talk_to_waiter=(e=(a=c).$multiple_scene,e.$$p=(r=function(e,t){var n,a=r.$$s||this;return null==a.ask_waiter_about_connor&&(a.ask_waiter_about_connor=h),null==a.ask_waiter_about_simon&&(a.ask_waiter_about_simon=h),null==a.ask_waiter_about_link&&(a.ask_waiter_about_link=h),null==e&&(e=h),null==t&&(t=h),t.$map("Ask about Troy Connor",a.ask_waiter_about_connor),(n=e["$[]"]("asked_clerk_about_simon"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about John Simon",a.ask_waiter_about_simon),(n=e["$[]"]("asked_clerk_about_link"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about Peter Link",a.ask_waiter_about_link),t.$map("That's all for now",a.$default_scene())},r.$$s=c,r.$$arity=2,r),e).call(a),c.ask_waiter_about_connor=(e=($=c).$pause,e.$$p=(l=function(e){var t,n=l.$$s||this;return null==n.talk_to_waiter&&(n.talk_to_waiter=h),null==e&&(e=h),(t=e["$[]"]("asked_waiter_about_connor"))===h||null==t||t.$$is_boolean&&1!=t?(e.$tell('\r\n "Yeah," the waiter says. "I\'m the guy who found him."\r\n\r\n "How\'d it happen?"\r\n\r\n "Mr. Connor called room service around 11:15 and asked for a steak salad and a pot of coffee. I brought the tray\r\n to his room at 11:45. He didn\'t answer my knock, so I opened the door to set the tray inside. That\'s when I found him...lying there.\r\n Only thing I touched was the hotel phone to call security."\r\n '),e["$[]="]("asked_waiter_about_connor",!0)):e.$tell('\r\n "Like I said, I found the body at 11:45 when I brought his room service order. Wish I had more to tell you. Mr. Connor was a nice guy."\r\n '),e.$cue(n.talk_to_waiter)},l.$$s=c,l.$$arity=1,l),e).call($),c.ask_waiter_about_simon=(e=(o=c).$pause,e.$$p=(s=function(e){var t=s.$$s||this;return null==t.talk_to_waiter&&(t.talk_to_waiter=h),null==e&&(e=h),e.$tell('\r\n "I met him when he had dinner with Link and Connor around 6:00. After that they joined the poker game. I remember seeing Mr. Simon at the table around midnight."\r\n '),e.$cue(t.talk_to_waiter)},s.$$s=c,s.$$arity=1,s),e).call(o),c.ask_waiter_about_link=(e=(i=c).$pause,e.$$p=(u=function(e){var t=u.$$s||this;return null==t.talk_to_waiter&&(t.talk_to_waiter=h),null==e&&(e=h),e.$tell("\r\n The waiter barely conceals a sneer. \"Mr. Link always lets you know when he's nearby. He bounced around between card games and the casino bar for a while.\r\n I haven't seen him since around eleven.\"\r\n "),e.$cue(t.talk_to_waiter)},u.$$s=c,u.$$arity=1,u),e).call(i)},Mt.$$s=hn,Mt.$$arity=0,Mt),u).call(Lt)),_.scripts["$[]="]("seven",(u=(Et=hn).$proc,u.$$p=(Rt=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d,_,y,g,b,f,k,v,w,T,S,I,j,x,A,U,C=Rt.$$s||this;return null==C.simon_room&&(C.simon_room=h),null==C.seven&&(C.seven=h),null==C.simon_briefcase&&(C.simon_briefcase=h),null==C.simon_bed&&(C.simon_bed=h),null==C.simon_dresser&&(C.simon_dresser=h),null==C.laptop&&(C.laptop=h),null==C.simon&&(C.simon=h),C.seven=C.$make(dn.get("Room"),m(["name","description","image"],{name:"hallway",description:"The seventh floor hallway, just outside of John Simon's room.",image:"hallway.jpg"})),C.simon_room=C.$make(dn.get("Room"),m(["name","proper_named","image"],{name:"John Simon's room",proper_named:!0,image:"hotel-room.jpg"})),C.simon_room.$connect(C.seven),C.simon_bed=C.$make(dn.get("Fixture"),m(["name","description","parent"],{name:"bed",description:"A neatly made queen bed.",parent:C.simon_room})),C.simon_briefcase=C.$make(dn.get("Container"),m(["name","proper_named","description"],{name:"Simon's briefcase",proper_named:!0,description:"A thick leather case."})),(e=(t=C).$respond,e.$$p=(n=function(e,t){var a,r,$=n.$$s||this;return null==$.laptop&&($.laptop=h),null==e&&(e=h),null==t&&(t=h),$.laptop.$parent()["$=="](t)?(e.$tell("\r\n You open the case and pull out exactly what you hoped to find: Simon's laptop.\r\n "),a=[e],r=$.laptop,r["$parent="].apply(r,a),a[a.length-1],e.$suggest("examine "+$.$the($.laptop))):e.$proceed()},n.$$s=C,n.$$arity=2,n),e).call(t,"open",dn.get("Use").$available(C.simon_briefcase)),(e=(a=C).$respond,e.$$p=(r=function(e,t){r.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),e.$suggest("look under the bed")},r.$$s=C,r.$$arity=2,r),e).call(a,"look",dn.get("Use").$available(C.simon_bed)),(e=($=C).$respond,e.$$p=(l=function(e,t){var n=l.$$s||this;return null==n.simon&&(n.simon=h),null==n.simon_room&&(n.simon_room=h),null==e&&(e=h),null==t&&(t=h),e.$tell("There's nothing under the bed."),n.simon.$parent()["$=="](n.simon_room)?e.$tell("Simon looks at you strangely but says nothing."):h},l.$$s=C,l.$$arity=2,l),e).call($,"look_under",dn.get("Use").$available(C.simon_bed)),C.simon=C.$make(dn.get("Character"),m(["name","proper_named","parent","image","text_align","description"],{name:"John Simon",proper_named:!0,parent:C.simon_room,image:"simon.jpg",text_align:"bottom",description:"Simon's a heavyset man in his early thirties."})),(e=(o=C).$on_player_ready,e.$$p=(s=function(e){var t,n,a=s.$$s||this;return null==a.simon&&(a.simon=h),null==a.simon_room&&(a.simon_room=h),null==a.garage&&(a.garage=h),null==a.simon_briefcase&&(a.simon_briefcase=h),null==a.laptop&&(a.laptop=h),null==a.valet&&(a.valet=h),null==e&&(e=h),a.simon.$parent()["$=="](a.simon_room)?(n=e["$[]"]("asked_maple_about_simon"),(t=!1!==n&&n!==h&&null!=n?e["$[]"]("asked_kat_about_link"):n)===h||null==t||t.$$is_boolean&&1!=t?h:(t=[a.garage],n=a.simon,n["$parent="].apply(n,t),t[t.length-1],t=[a.simon_briefcase],n=a.laptop,n["$parent="].apply(n,t),t[t.length-1],t=[a.simon],n=a.simon_briefcase,n["$parent="].apply(n,t),t[t.length-1],t=[h],n=a.valet,n["$parent="].apply(n,t),t[t.length-1])):h},s.$$s=C,s.$$arity=1,s),e).call(o),C.simon_dresser=C.$make(dn.get("Supporter"),m(["name","parent"],{name:"dresser",parent:C.simon_room})),C.laptop=C.$make(dn.get("Item"),m(["name","parent","description"],{name:"laptop",parent:C.simon_dresser,description:"Paul Simon's laptop. A glance at the screen shows a login to a Vizinet Security network."})),(e=(i=C).$respond,e.$$p=(u=function(e,t){var n;u.$$s;return null==e&&(e=h),null==t&&(t=h),(n=e["$[]"]("looked_at_laptop"))===h||null==n||n.$$is_boolean&&1!=n?(e["$[]="]("looked_at_laptop",!0),e.$tell("\r\n The laptop wakes up when you open it. The screen displays an old-fashioned terminal window.\r\n "),e.$stream("\r\n <p>\r\n <code>VIZINET SECURITY SYSTEMS<br/>\r\n Your session timed out due to inactivity. Please log back in to continue.</code>\r\n </p>\r\n ")):e.$proceed()},u.$$s=C,u.$$arity=2,u),e).call(i,"look",dn.get("Use").$available(C.laptop)),(e=(c=C).$respond,e.$$p=(p=function(e,t){var n,a=p.$$s||this;return null==a.laptop&&(a.laptop=h),null==a.simon_room&&(a.simon_room=h),null==a.simon&&(a.simon=h),null==a.simon_protects_laptop&&(a.simon_protects_laptop=h),null==e&&(e=h),null==t&&(t=h),(n=a.laptop.$room()["$=="](a.simon_room)?a.simon.$room()["$=="](a.simon_room):a.laptop.$room()["$=="](a.simon_room))===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():e.$cue(a.simon_protects_laptop)},p.$$s=C,p.$$arity=2,p),e).call(c,"look",dn.get("Use").$available(C.laptop)),(e=(d=C).$respond,e.$$p=(_=function(e,t){var n,a=_.$$s||this;return null==a.laptop&&(a.laptop=h),null==a.simon_room&&(a.simon_room=h),null==a.simon&&(a.simon=h),null==a.simon_protects_laptop&&(a.simon_protects_laptop=h),null==e&&(e=h),null==t&&(t=h),(n=a.laptop.$room()["$=="](a.simon_room)?a.simon.$room()["$=="](a.simon_room):a.laptop.$room()["$=="](a.simon_room))===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():e.$cue(a.simon_protects_laptop)},_.$$s=C,_.$$arity=2,_),e).call(d,"take",dn.get("Use").$available(C.laptop)),C.simon_protects_laptop=(e=(y=C).$pause,e.$$p=(g=function(e){var t=g.$$s||this;return null==e&&(e=h),e.$tell('\r\n "Stay away from that!" Simon snaps. He pauses a moment to regain his composure. "I\'m sorry to be curt, but that laptop contains\r\n a lot of sensitive intellectual property. You\'ll have to show me a warrant before I can let you poke around on it."\r\n '),e.$cue(t.$default_scene())},g.$$s=C,g.$$arity=1,g),e).call(y),(e=(b=C).$respond,e.$$p=(f=function(e,t){var n=f.$$s||this;return null==n.simon&&(n.simon=h),null==n.security&&(n.security=h),null==n.talk_to_simon&&(n.talk_to_simon=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(n.simon),n.simon.$parent()["$=="](n.security)?e.$tell("Simon refuses to talk to you."):(e["$[]="]("talked_to_simon",!0),e.$tell(' Simon nods curtly. "I\'ll help you any way I can, detective." '),e.$prepare(n.talk_to_simon))},f.$$s=C,f.$$arity=2,f),e).call(b,"talk",dn.get("Use").$available(C.simon)),C.talk_to_simon=(e=(k=C).$multiple_scene,e.$$p=(v=function(e,t){var n,a,r=v.$$s||this;return null==r.simon&&(r.simon=h),null==r.benny_plant&&(r.benny_plant=h),null==r.security&&(r.security=h),null==r.ask_simon_about_troy&&(r.ask_simon_about_troy=h),null==r.ask_simon_about_peter&&(r.ask_simon_about_peter=h),null==r.ask_simon_alibi&&(r.ask_simon_alibi=h),null==r.ask_simon_about_maple&&(r.ask_simon_about_maple=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(r.simon),(n=r.benny_plant.$parent()["$nil?"]())===h||null==n||n.$$is_boolean&&1!=n||(n=[r.security],a=r.benny_plant,a["$parent="].apply(a,n),n[n.length-1]),t.$map("Ask about Troy Connor",r.ask_simon_about_troy),t.$map("Ask about Peter Link",r.ask_simon_about_peter),a=e["$[]"]("asked_waiter_about_connor"),(n=!1!==a&&a!==h&&null!=a?e["$[]"]("asked_maple_about_simon")["$!"]():a)===h||null==n||n.$$is_boolean&&1!=n||t.$map("Where were you at the time of the murder?",r.ask_simon_alibi),(n=e["$[]"]("asked_maple_about_simon"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("About about Maple",r.ask_simon_about_maple),t.$map("That's all for now",r.$default_scene())},v.$$s=C,v.$$arity=2,v),e).call(k),C.ask_simon_about_maple=(e=(w=C).$pause,e.$$p=(T=function(e){var t=T.$$s||this;return null==t.talk_to_simon&&(t.talk_to_simon=h),null==e&&(e=h),e["$[]="]("asked_simon_about_maple",!0),e.$tell('\r\n "I talked to Mr. Maple," you say. "According to him, you left the poker\r\n table at 11:00 and didn\'t come back until 11:30. Care to explain?"\r\n\r\n Simon frowns. "I had to make a phone call. So what?"\r\n\r\n "It means you don\'t have an alibi for the time of the murder."\r\n\r\n "You\'ll have to do better than that, deputy. I have a hunch Peter can\'t\r\n account for his whereabouts, either. I don\'t have a motive and he has a\r\n bad temper when he\'s drunk. Maybe you should give him another look."\r\n '),e.$cue(t.talk_to_simon)},T.$$s=C,T.$$arity=1,T),e).call(w),C.ask_simon_about_troy=(e=(S=C).$pause,e.$$p=(I=function(e){var t=I.$$s||this;return null==t.talk_to_simon&&(t.talk_to_simon=h),null==e&&(e=h),e.$tell("\r\n \"Troy and I have been discussing a business venture for a few months now. An internet startup I've been incubating.\r\n I mentioned that I like playing Texas hold 'em online, and he suggested I come try the real thing.\"\r\n "),e.$cue(t.talk_to_simon)},I.$$s=C,I.$$arity=1,I),e).call(S),C.ask_simon_about_peter=(e=(j=C).$pause,e.$$p=(x=function(e){var t=x.$$s||this;return null==t.talk_to_simon&&(t.talk_to_simon=h),null==e&&(e=h),e.$tell('\r\n Simon shrugs. "First time I\'ve met him. I understand he frequently joins Troy on these casino excursions. He certainly\r\n seems to enjoy himself here."\r\n '),e.$cue(t.talk_to_simon)},x.$$s=C,x.$$arity=1,x),e).call(j),C.ask_simon_alibi=(e=(A=C).$pause,e.$$p=(U=function(e){var t=U.$$s||this;return null==t.talk_to_simon&&(t.talk_to_simon=h),null==e&&(e=h),e.$tell("\r\n \"The casino hosts a private poker game for select clientele. Troy got me a seat at the table. Peter was there until\r\n about 10:30. I haven't seen him since. Then the dealer called a ten-minute break at 11:00. Troy never came back after\r\n the break. I kept playing until about a quarter past midnight. That's when a member of the staff pulled me aside to tell me\r\n Troy was dead.\"\r\n "),e["$[]="]("asked_simon_about_alibi",!0),e.$cue(t.talk_to_simon)},U.$$s=C,U.$$arity=1,U),e).call(A)},Rt.$$s=hn,Rt.$$arity=0,Rt),u).call(Et)),_.scripts["$[]="]("eight",(u=(Gt=hn).$proc,u.$$p=(qt=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d,_,y=qt.$$s||this;return null==y.connor_room&&(y.connor_room=h),null==y.eight&&(y.eight=h),null==y.connor_bed&&(y.connor_bed=h),null==y.connor_lamp&&(y.connor_lamp=h),null==y.connor_phone&&(y.connor_phone=h),null==y.hall_guard&&(y.hall_guard=h),y.eight=y.$make(dn.get("Room"),m(["name","description","image"],{name:"hallway",description:"You're on the eighth floor.",image:"hallway.jpg"})),y.connor_room=y.$make(dn.get("Room"),m(["name","proper_named","image"],{name:"Troy Connor's room",proper_named:!0,image:"hotel-room.jpg"})),y.connor_room.$connect(y.eight),y.connor_body=y.$make(dn.get("Fixture"),m(["name","synonyms","parent","description","image"],{name:"body",synonyms:"Troy Connor Troy's Connor's",parent:y.connor_room,description:"He's dead, all right. Someone put an ugly dent in the side of his skull.",image:"connor.jpg"})),y.connor_dresser=y.$make(dn.get("Supporter"),m(["name","parent"],{name:"dresser",parent:y.connor_room})),y.connor_phone=y.$make(dn.get("Item"),m(["name","description","parent"],{name:"cell phone",description:"Connor's iPhone 7.",parent:h})),y.connor_lamp=y.$make(dn.get("Item"),m(["name","description","parent"],{name:"overturned lamp",description:"A brass table lamp. Its base is tacky with blood.",parent:y.connor_room})),y.connor_bed=y.$make(dn.get("Fixture"),m(["name","description","parent"],{name:"bed",description:"A neatly made queen bed.",parent:y.connor_room})),(e=(t=y).$respond,e.$$p=(n=function(e,t){n.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),e.$suggest("look under the bed")},n.$$s=y,n.$$arity=2,n),e).call(t,"look",dn.get("Use").$available(y.connor_bed)),(e=(a=y).$respond,e.$$p=(r=function(e,t){var n,a,$=r.$$s||this;return null==$.connor_phone&&($.connor_phone=h),null==e&&(e=h),null==t&&(t=h),(n=$.connor_phone.$parent()["$nil?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$tell("There's nothing under the bed."):(e.$tell("You find Connor's cell phone. It must have slipped out of his hand when he got hit."),n=[e],a=$.connor_phone,a["$parent="].apply(a,n),n[n.length-1],e.$suggest("examine the cell phone"))},r.$$s=y,r.$$arity=2,r),e).call(a,"look_under",dn.get("Use").$available(y.connor_bed)),(e=($=y).$respond,e.$$p=(l=function(e,t){l.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell("The lamp is almost certainly the murder weapon. Better leave it where it is.")},l.$$s=y,l.$$arity=2,l),e).call($,"take",dn.get("Use").$available(y.connor_lamp)),(e=(o=y).$respond,e.$$p=(s=function(e,t){var n=s.$$s||this;return null==n.using_connor_phone&&(n.using_connor_phone=h),null==e&&(e=h),null==t&&(t=h),t.$parent()["$=="](e)?e.$cue(n.using_connor_phone):e.$proceed()},s.$$s=y,s.$$arity=2,s),e).call(o,"look",dn.get("Use").$available(y.connor_phone)),y.using_connor_phone=(e=(i=y).$pause,e.$$p=(u=function(e){var t,n,a=u.$$s||this;return null==a.glen_reed&&(a.glen_reed=h),null==a.poker_table&&(a.poker_table=h),null==e&&(e=h),e["$[]="]("used_iphone",!0),e.$tell('\r\n The chat logs show a message Connor sent to someone called "Steve from Santa Fe" at 11:10.\r\n \r\n Connor: "I think there\'s a problem at Redstone. Haven\'t I seen this guy\'s picture on your mug wall?"\r\n\r\n He attached a poorly framed photo of a thin middle-aged man with glasses. It looks like it was taken on the casino floor.\r\n\r\n Steve replied, "Not sure. I\'ll stop by the club and get back to you."\r\n '),e["$[]="]("used_connor_phone",!0),(t=a.glen_reed.$parent()["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t||(t=[a.poker_table],n=a.glen_reed,n["$parent="].apply(n,t),t[t.length-1]),e.$cue(a.$default_scene())},u.$$s=y,u.$$arity=1,u),e).call(i),y.hall_guard=y.$make(dn.get("Character"),m(["name","description","parent","locale_description"],{name:"security guard",description:"A stern-looking man with broad shoulders.",parent:y.eight,locale_description:"A guard stands with his arms crossed outside the door to Connor's room."})),(e=(c=y).$respond,e.$$p=(p=function(e,t){var n;p.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell('\r\n "I got orders to keep an eye on the room," the guard says. "Nobody goes in except you until the feds get here."\r\n '),(n=e["$[]"]("asked_clerk_about_associates"))===h||null==n||n.$$is_boolean&&1!=n?h:e.$tell("\r\n \"What about Connor's associates?\" you say.\r\n\r\n \"Benny wants us to tread careful and don't treat 'em like prisoners, but we convinced them to stay on the premises 'til morning. You need to find them, try asking the desk clerk.\"\r\n ")},p.$$s=y,p.$$arity=2,p),e).call(c,"talk",dn.get("Use").$available(y.hall_guard)),(e=(d=y).$on_player_update,e.$$p=(_=function(e){var t=_.$$s||this;return null==t.connor_room&&(t.connor_room=h),null==e&&(e=h),e.$parent()["$=="](t.connor_room)?e["$[]="]("saw_body",!0):h},_.$$s=y,_.$$arity=1,_),e).call(d)},qt.$$s=hn,qt.$$arity=0,qt),u).call(Gt)),_.scripts["$[]="]("nine",(u=(Wt=hn).$proc,u.$$p=(Ft=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d,_,y,g,b,f,k=Ft.$$s||this;return null==k.link_room&&(k.link_room=h),null==k.nine&&(k.nine=h),null==k.link_bed&&(k.link_bed=h),null==k.bottle&&(k.bottle=h),null==k.peter_link&&(k.peter_link=h),k.nine=k.$make(dn.get("Room"),m(["name","description","image"],{name:"hallway",description:"You're on the ninth floor.",image:"hallway.jpg"})),k.link_room=k.$make(dn.get("Room"),m(["name","proper_named","image"],{name:"Peter Link's room",proper_named:!0,image:"hotel-room.jpg"})),k.link_room.$connect(k.nine),k.peter_link=k.$make(dn.get("Character"),m(["name","proper_named","image","parent","text_align","description"],{name:"Peter Link",proper_named:!0,image:"peter.jpg",parent:k.link_room,text_align:"bottom",description:"Link is a well-dressed man with a weary complexion. You guess his age at anywhere between forty and sixty. He returns your look with a deadpan gaze."})),k.link_bed=k.$make(dn.get("Fixture"),m(["name","description","parent"],{name:"bed",description:"A thoroughly rumpled queen bed.",parent:k.link_room})),k.link_dresser=k.$make(dn.get("Supporter"),m(["name","parent"],{name:"dresser",parent:k.link_room})),(e=(t=k).$respond,e.$$p=(n=function(e,t){n.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed(),e.$suggest("look under the bed")},n.$$s=k,n.$$arity=2,n),e).call(t,"look",dn.get("Use").$available(k.link_bed)),(e=(a=k).$respond,e.$$p=(r=function(e,t){var n=r.$$s||this;return null==n.peter_link&&(n.peter_link=h),null==n.link_room&&(n.link_room=h),null==e&&(e=h),null==t&&(t=h),e.$tell("There's nothing under the bed."),n.peter_link.$parent()["$=="](n.link_room)?e.$tell("Link rolls his eyes."):h},r.$$s=k,r.$$arity=2,r),e).call(a,"look_under",dn.get("Use").$available(k.link_bed)),k.bottle=k.$make(dn.get("Item"),m(["name","parent","description","locale_description"],{name:"empty bottle",parent:k.link_room,description:"An empty pint of whiskey. You don't recognize the brand, so you figure it must be expensive.",locale_description:"An empty bottle is lying at the foot of the bed."})),(e=($=k).$respond,e.$$p=(l=function(e,t){var n,a,r=l.$$s||this;return null==r.bottle&&(r.bottle=h),null==r.peter_link&&(r.peter_link=h),null==e&&(e=h),null==t&&(t=h),e.$proceed(),(n=e["$[]"]("took_bottle"))===h||null==n||n.$$is_boolean&&1!=n?(n=[h],a=r.bottle,a["$locale_description="].apply(a,n),n[n.length-1],e["$[]="]("took_bottle",!0),e.$room()["$=="](r.peter_link.$room())?e.$tell('\r\n Link scoffs. "Should I tip you separately, or does the day maid share with you?"\r\n '):h):h},l.$$s=k,l.$$arity=2,l),e).call($,"take",dn.get("Use").$available(k.bottle)),k.ask_peter_about_troy=(e=(o=k).$pause,e.$$p=(s=function(e){var t=s.$$s||this;return null==t.talk_to_peter&&(t.talk_to_peter=h),null==e&&(e=h),e["$[]="]("asked_peter_about_troy",!0),e.$tell('\r\n "Connor and I have been doing business together for a couple of years," Link\r\n says. "Financial stuff. You wouldn\'t understand. Suffice it to say we were\r\n making too much money for me to want him dead."\r\n '),e.$cue(t.talk_to_peter)},s.$$s=k,s.$$arity=1,s),e).call(o),k.ask_peter_about_john=(e=(i=k).$pause,e.$$p=(u=function(e){var t=u.$$s||this;return null==t.talk_to_peter&&(t.talk_to_peter=h),null==e&&(e=h),e["$[]="]("asked_peter_about_john",!0),e.$tell("\r\n \"Just another computer geek with a pie-in-the-sky startup. Claims to be a poker aficionado, but\r\n he plays like an old lady. I tried to give him a chance to loosen up, but he wouldn't even\r\n join me for a drink after dinner. I don't know why Connor brought him.\"\r\n "),e.$cue(t.talk_to_peter)},u.$$s=k,u.$$arity=1,u),e).call(i),k.ask_peter_alibi=(e=(c=k).$pause,e.$$p=(p=function(e){var t,n=p.$$s||this;return null==n.talk_to_peter&&(n.talk_to_peter=h),null==e&&(e=h),e["$[]="]("asked_link_about_alibi",!0),(t=e["$[]"]("asked_link_about_kat"))===h||null==t||t.$$is_boolean&&1!=t?e.$tell('\r\n "I was in the casino until about 11:00, then I came to my room and I\'ve been here ever since. Connor was still playing cards when I left.\r\n That means I couldn\'t have killed him, right?"\r\n\r\n "It would help if someone else could corroborate," you say.\r\n\r\n "Tough luck for both of us. You\'ll just have to take my word for it."\r\n '):e.$tell('\r\n "I already told you. I was here with a hooker when Connor got killed."\r\n '),e.$cue(n.talk_to_peter)},p.$$s=k,p.$$arity=1,p),e).call(c),k.ask_peter_about_kat=(e=(d=k).$pause,e.$$p=(_=function(e){var t=_.$$s||this;return null==t.talk_to_peter&&(t.talk_to_peter=h),null==e&&(e=h),e.$tell('\r\n Link glares at you. "Is it really necessary to dig into my private affairs? I guess I\'ll tell you if it gets you off my back.\r\n The girl came on to me while I was playing cards. We had a few drinks and came up to my room around 11:00. She stayed\r\n for about an hour. I\'ve been here ever since." He crosses his arms. "That\'s what you wanted to hear, right? Now leave me alone."\r\n '),e["$[]="]("asked_link_about_kat",!0),e.$cue(t.talk_to_peter)},_.$$s=k,_.$$arity=1,_),e).call(d),k.talk_to_peter=(e=(y=k).$multiple_scene,e.$$p=(g=function(e,t){var n,a,r=g.$$s||this;return null==r.benny_plant&&(r.benny_plant=h),null==r.security&&(r.security=h),null==r.peter_link&&(r.peter_link=h),null==r.ask_peter_about_troy&&(r.ask_peter_about_troy=h),null==r.ask_peter_about_john&&(r.ask_peter_about_john=h),null==r.ask_peter_about_kat&&(r.ask_peter_about_kat=h),null==r.ask_peter_alibi&&(r.ask_peter_alibi=h),null==e&&(e=h),null==t&&(t=h),(n=r.benny_plant.$parent()["$nil?"]())===h||null==n||n.$$is_boolean&&1!=n||(n=[r.security],a=r.benny_plant,a["$parent="].apply(a,n),n[n.length-1]),e.$choose_wallpaper(r.peter_link),((n=e["$[]"]("asked_link_about_kat"))===h||null==n||n.$$is_boolean&&1!=n)&&t.$map("Ask about Troy Connor",r.ask_peter_about_troy),((n=e["$[]"]("asked_link_about_kat"))===h||null==n||n.$$is_boolean&&1!=n)&&t.$map("Ask about John Simon",r.ask_peter_about_john),a=e["$[]"]("asked_kat_about_link"),(n=!1!==a&&a!==h&&null!=a?e["$[]"]("asked_link_about_kat")["$!"]():a)===h||null==n||n.$$is_boolean&&1!=n||t.$map("Ask about Kat",r.ask_peter_about_kat),(n=e["$[]"]("asked_waiter_about_connor"))===h||null==n||n.$$is_boolean&&1!=n||t.$map("Where were you at the time of the murder?",r.ask_peter_alibi),t.$map("That's all for now",r.$default_scene())},g.$$s=k,g.$$arity=2,g),e).call(y),(e=(b=k).$respond,e.$$p=(f=function(e,t){var n=f.$$s||this;return null==n.simon&&(n.simon=h),null==n.security&&(n.security=h),null==n.talk_to_peter&&(n.talk_to_peter=h),null==e&&(e=h),null==t&&(t=h),n.simon.$parent()["$=="](n.security)?(e.$tell("\r\n \"For Christ's sake, deputy. It's late and I got a hangover setting in.\r\n Arrest me or leave me alone already.\"\r\n\r\n As much as you'd like to cuff him, you need a better reason than the\r\n satisfaction of putting the screws to an obnoxious jerk.\r\n "),e.$cue(n.$default_scene())):(e["$[]="]("talked_to_link",!0),e.$tell("Link regards you with undisguised contempt."),e.$cue(n.talk_to_peter))},f.$$s=k,f.$$arity=2,f),e).call(b,"talk",dn.get("Use").$available(k.peter_link))},Ft.$$s=hn,Ft.$$arity=0,Ft),u).call(Wt)),_.scripts["$[]="]("garage",(u=(Nt=hn).$proc,u.$$p=(Dt=function(){var e,t,n,a,r,$,l,o,s,i=Dt.$$s||this;return null==i.garage&&(i.garage=h),null==i.valet&&(i.valet=h),i.garage=i.$make(dn.get("Room"),m(["name","proper_named","description","image"],{name:"the garage",proper_named:!0,description:"The entrance to Redstone's parking garage.",image:"garage.jpg"})),i.valet=i.$make(dn.get("Character"),m(["name","parent","description"],{name:"valet",parent:i.garage,description:"A bored young man in his late teens or early twenties."})),(e=(t=i).$respond,e.$$p=(n=function(e,t){n.$$s;return null==e&&(e=h),null==t&&(t=h),e.$tell("\r\n The valet yawns. \"Sorry, deputy. I've been in the garage all night.\r\n Aside from security mentioning someone died, I don't know anything.\"\r\n ")},n.$$s=i,n.$$arity=2,n),e).call(t,"talk",dn.get("Use").$available(i.valet)),i.arrest_simon=(e=(a=i).$pause,e.$$p=(r=function(e){var t,n=r.$$s||this;return null==n.take_simon_to_security&&(n.take_simon_to_security=h),null==e&&(e=h),e.$tell('\r\n Simon looks nervous when you approach him. "Going somewhere?" you say.\r\n\r\n "Got called away on business," he says. "I\'m waiting for the valet to\r\n bring my car. What do you want, deputy?"\r\n '),(t=e["$[]"]("asked_simon_about_maple"))===h||null==t||t.$$is_boolean&&1!=t?e.$tell('\r\n "I talked to Mr. Maple. He said you left the poker table at\r\n 11:00 and didn\'t come back until 11:30. Care to explain?"\r\n '):e.$tell('\r\n "Link\'s alibi checks out. That leaves you as my number one suspect."\r\n '),e.$tell('\r\n Simon\'s jaw tightens. "Is that an accusation?"\r\n \r\n "Not yet. Just looking for your side of the story."\r\n \r\n "I don\'t like where this is headed. I\'m done talking about this case\r\n outside of an official capacity."\r\n\r\n "It\'s a murder investigation, Mr. Simon." You unclip a pair of handcuffs\r\n from your belt. "We can make it as official as you want."\r\n\r\n You relieve Simon of his briefcase. He grimaces while you cuff his hands\r\n behind his back.\r\n '),e.$prepare(n.take_simon_to_security)},r.$$s=i,r.$$arity=1,r),e).call(a),i.take_simon_to_security=(e=($=i).$pause,e.$$p=(l=function(e){var t,n,a=l.$$s||this;return null==a.simon_briefcase&&(a.simon_briefcase=h),null==a.security&&(a.security=h),
null==a.simon&&(a.simon=h),null==e&&(e=h),t=[e],n=a.simon_briefcase,n["$parent="].apply(n,t),t[t.length-1],t=[a.security],n=a.simon,n["$parent="].apply(n,t),t[t.length-1],t=[a.security],n=e,n["$parent="].apply(n,t),t[t.length-1],e.$tell('\r\n You usher Simon to the security office and tell him to sit down. "Simon\'s\r\n alibi doesn\'t check out," you tell Benny. "Mr. Maple says he was away from\r\n the poker table around the time of the murder. As of now he\'s my number one\r\n suspect."\r\n\r\n Benny regards Simon gravely. "That shows he had opportunity, but we need\r\n more than that to convince the FBI. See what else you can dig up."\r\n '),e.$cue(a.$default_scene())},l.$$s=i,l.$$arity=1,l),e).call($),(e=(o=i).$on_player_update,e.$$p=(s=function(e){var t,n,a,r,$=s.$$s||this;return null==$.garage&&($.garage=h),null==$.simon&&($.simon=h),null==$.arrest_simon&&($.arrest_simon=h),null==e&&(e=h),r=e["$will_cue?"]($.$default_scene()),a=!1!==r&&r!==h&&null!=r?e.$parent()["$=="]($.garage):r,n=!1!==a&&a!==h&&null!=a?e["$[]"]("asked_maple_about_simon"):a,(t=!1!==n&&n!==h&&null!=n?$.simon.$parent()["$=="]($.garage):n)===h||null==t||t.$$is_boolean&&1!=t?h:e.$prepare($.arrest_simon)},s.$$s=i,s.$$arity=1,s),e).call(o)},Dt.$$s=hn,Dt.$$arity=0,Dt),u).call(Nt)),_.scripts["$[]="]("elevators",(u=(Jt=hn).$proc,u.$$p=(Qt=function(){var t,n,a,r,$,l,o,s,i,u,c=Qt.$$s||this,p=h;return null==c.lobby&&(c.lobby=h),null==c.lobby_elevator&&(c.lobby_elevator=h),null==c.eight&&(c.eight=h),null==c.eight_elevator&&(c.eight_elevator=h),null==c.seven&&(c.seven=h),null==c.seven_elevator&&(c.seven_elevator=h),null==c.nine&&(c.nine=h),null==c.nine_elevator&&(c.nine_elevator=h),null==c.garage&&(c.garage=h),null==c.garage_elevator&&(c.garage_elevator=h),function(t,$super){function n(){}var a,r=n=y(t,$super,"Transporter",n);r.$$proto,r.$$scope;e.defn(r,"$default_commands",a=function(){return["go to "+this.$definitely()]},a.$$arity=0)}(dn.base,null),p=(t=(n=c).$proc,t.$$p=(a=function(e){var t,n=a.$$s||this,r=h;return null==n.lobby&&(n.lobby=h),null==n.garage&&(n.garage=h),null==n.seven&&(n.seven=h),null==n.eight&&(n.eight=h),null==n.nine&&(n.nine=h),null==e&&(e=h),r=m([],{}),r["$[]="]("Lobby",n.lobby),r["$[]="]("Garage",n.garage),(t=e["$[]"]("asked_clerk_about_simon"))===h||null==t||t.$$is_boolean&&1!=t||r["$[]="]("7th floor (Simon)",n.seven),(t=e["$[]"]("asked_clerk_about_troy"))===h||null==t||t.$$is_boolean&&1!=t||r["$[]="]("8th floor (Connor)",n.eight),(t=e["$[]"]("asked_clerk_about_link"))===h||null==t||t.$$is_boolean&&1!=t||r["$[]="]("9th floor (Link)",n.nine),r["$[]="]("Stay here",h),r},a.$$s=c,a.$$arity=1,a),t).call(n),c.lobby_elevator=c.$make(dn.get("Transporter"),m(["name","itemized","parent","unavailable_message","image"],{name:"elevator",itemized:!1,parent:c.lobby,unavailable_message:"You can't think of anywhere to take the elevator.",image:"elevator.jpg"})),(t=(r=c.lobby_elevator).$make_destination_hash,t.$$p=p.$to_proc(),t).call(r),c.eight_elevator=c.$make(dn.get("Transporter"),m(["name","itemized","parent","image"],{name:"elevator",itemized:!1,parent:c.eight,image:"elevator.jpg"})),(t=($=c.eight_elevator).$make_destination_hash,t.$$p=p.$to_proc(),t).call($),c.seven_elevator=c.$make(dn.get("Transporter"),m(["name","itemized","parent","image"],{name:"elevator",itemized:!1,parent:c.seven,image:"elevator.jpg"})),(t=(l=c.seven_elevator).$make_destination_hash,t.$$p=p.$to_proc(),t).call(l),c.nine_elevator=c.$make(dn.get("Transporter"),m(["name","itemized","parent","image"],{name:"elevator",itemized:!1,parent:c.nine,image:"elevator.jpg"})),(t=(o=c.nine_elevator).$make_destination_hash,t.$$p=p.$to_proc(),t).call(o),c.garage_elevator=c.$make(dn.get("Transporter"),m(["name","itemized","parent","image"],{name:"elevator",itemized:!1,parent:c.garage,image:"elevator.jpg"})),(t=(s=c.garage_elevator).$make_destination_hash,t.$$p=p.$to_proc(),t).call(s),(t=(i=c).$respond,t.$$p=(u=function(e,t){u.$$s;return null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(t),e.$proceed()},u.$$s=c,u.$$arity=2,u),t).call(i,"go",dn.get("Use").$available(dn.get("Transporter")))},Qt.$$s=hn,Qt.$$arity=0,Qt),u).call(Jt)),_.scripts["$[]="]("interrogation",(u=(Kt=hn).$proc,u.$$p=(Ot=function(){var e,t,n,a,r,$,l,o,s,i,u,c,p,d,_,m=Ot.$$s||this;return null==m.glen_reed&&(m.glen_reed=h),null==m.poker_dealer&&(m.poker_dealer=h),null==m.pit_boss&&(m.pit_boss=h),(e=(t=m).$on_player_ready,e.$$p=(n=function(e){var t,a,r=n.$$s||this;return null==r.security&&(r.security=h),null==r.pit_boss&&(r.pit_boss=h),null==r.start_the_interrogation&&(r.start_the_interrogation=h),null==e&&(e=h),a=e.$parent()["$=="](r.security)?r.pit_boss.$parent()["$=="](r.security):e.$parent()["$=="](r.security),(t=!1!==a&&a!==h&&null!=a?e["$[]"]("started_interrogation")["$!"]():a)===h||null==t||t.$$is_boolean&&1!=t?h:e.$cue(r.start_the_interrogation)},n.$$s=m,n.$$arity=1,n),e).call(t),m.start_the_interrogation=(e=(a=m).$pause,e.$$p=(r=function(e){var t=r.$$s||this;return null==t.introduce_glen&&(t.introduce_glen=h),null==e&&(e=h),e["$[]="]("started_interrogation",!0),e.$tell('\r\n Benny gives you a wry grin. "Get a load of this, brother. We caught\r\n ourselves another mechanic." He turns to the pit boss. "Wanna bring the\r\n deputy up to speed?"\r\n '),e.$prepare(t.introduce_glen)},r.$$s=m,r.$$arity=1,r),e).call(a),m.introduce_glen=(e=($=m).$pause,e.$$p=(l=function(e){var t,n,a=l.$$s||this;return null==a.glen_reed&&(a.glen_reed=h),null==a.dining_room&&(a.dining_room=h),null==a.maple&&(a.maple=h),null==a.introduce_dealer&&(a.introduce_dealer=h),null==e&&(e=h),t=["Glen Reed"],n=a.glen_reed,n["$name="].apply(n,t),t[t.length-1],t=[!0],n=a.glen_reed,n["$proper_named="].apply(n,t),t[t.length-1],t=[a.dining_room],n=a.maple,n["$parent="].apply(n,t),t[t.length-1],e.$tell('\r\n The pit boss gestures at the thin man. "His name\'s Glen Reed. He\'s been\r\n running hustles in New Mexico for years. But I didn\'t need to know his name\r\n to figure out he was dirty. I recognized his eyeglasses from a black market\r\n web site I watch for the latest gear."\r\n\r\n You look at the horn-rimmed glasses sitting on the security guard\'s desk.\r\n "He was using those to cheat?"\r\n\r\n "Yep. The lenses reveal ultraviolet ink. He knew the lay of the cards every\r\n hand of the game. Thing is, they don\'t work on any old deck of cards. They\r\n have to be specially marked."\r\n\r\n The pit boss turns to the poker dealer. "That\'s why I brought this punk\r\n along."\r\n '),e.$prepare(a.introduce_dealer)},l.$$s=m,l.$$arity=1,l),e).call($),m.introduce_dealer=(e=(o=m).$pause,e.$$p=(s=function(e){var t,n,a=s.$$s||this;return null==a.pit_boss&&(a.pit_boss=h),null==e&&(e=h),e.$tell('\r\n "An inside job." Benny shakes his head. "Freakin\' unbelievable."\r\n\r\n The dealer\'s forehead glistened. "Somebody must have swapped decks on me."\r\n\r\n "That still leaves us with another question," the pit boss said. "Who\r\n vouched for Reed to join the game?"\r\n\r\n Reed and the dealer exchanged a glance and said nothing.\r\n\r\n "Thanks for your help," Benny tells the pit boss. "You better get back to\r\n your post." He turns to you with raised eyebrows. "The ball\'s back in your\r\n court, deputy. What do you make of this mess?"\r\n '),t=[h],n=a.pit_boss,n["$parent="].apply(n,t),t[t.length-1],e.$cue(a.$default_scene())},s.$$s=m,s.$$arity=1,s),e).call(o),(e=(i=m).$respond,e.$$p=(u=function(e,t){var n,a=u.$$s||this;return null==a.glen_reed&&(a.glen_reed=h),null==e&&(e=h),null==t&&(t=h),e.$choose_wallpaper(a.glen_reed),(n=e["$[]"]("started_interrogation"))===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():e.$tell('\r\n "I got nothing to say to you," Reed mutters.\r\n ')},u.$$s=m,u.$$arity=2,u),e).call(i,"talk",dn.get("Use").$available(m.glen_reed)),(e=(c=m).$respond,e.$$p=(p=function(e,t){var n;p.$$s;return null==e&&(e=h),null==t&&(t=h),(n=e["$[]"]("started_interrogation"))===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():e.$tell("\r\n The dealer's lip trembles. \"Shouldn't I have a lawyer with me?\"\r\n ")},p.$$s=m,p.$$arity=2,p),e).call(c,"talk",dn.get("Use").$available(m.poker_dealer)),(e=(d=m).$respond,e.$$p=(_=function(e,t){var n,a=_.$$s||this;return null==a.security&&(a.security=h),null==e&&(e=h),null==t&&(t=h),(n=t.$parent()["$!="](a.security))===h||null==n||n.$$is_boolean&&1!=n?e.$proceed():e.$tell('\r\n "Not now," the pit boss says. "Meet me in the security office."\r\n ')},_.$$s=m,_.$$arity=2,_),e).call(d,"talk",dn.get("Use").$available(m.pit_boss))},Ot.$$s=hn,Ot.$$arity=0,Ot),u).call(Kt)),_.scripts["$[]="]("think",(u=(Vt=hn).$proc,u.$$p=(Zt=function(){var e,t,n,a,r,$=Zt.$$s||this;return(e=(t=$).$respond,e.$$p=(n=function(e){var t,a,r,$=n.$$s||this;return null==$.glen_reed&&($.glen_reed=h),null==$.security&&($.security=h),null==$.simon_briefcase&&($.simon_briefcase=h),null==$.laptop&&($.laptop=h),null==e&&(e=h),(t=e["$[]"]("asked_clerk_about_troy")["$!"]())===h||null==t||t.$$is_boolean&&1!=t?((t=e["$[]"]("saw_body")["$!"]())===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("used_iphone")["$!"]())===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("asked_waiter_about_connor")["$!"]())===h||null==t||t.$$is_boolean&&1!=t||e.$tell("\r\n One thing you couldn't determine from the crime scene is a time of death. \r\n You need to find out when Connor's body was discovered and when he was last seen alive.\r\n "):e.$tell("You've been to the crime scene, but you can't shake the feeling that you missed something."):e.$tell("Thanks to the clerk, you have access to Troy Connor's room. At some point you'll have to face the unpleasant task of examining the crime scene."),(t=e["$[]"]("asked_clerk_about_associates")["$!"]())===h||null==t||t.$$is_boolean&&1!=t?(a=e["$[]"]("talked_to_simon")["$!"](),(t=!1!==a&&a!==h&&null!=a?e["$[]"]("talked_to_link")["$!"]():a)===h||null==t||t.$$is_boolean&&1!=t?(a=e["$[]"]("asked_waiter_about_connor"),(t=!1!==a&&a!==h&&null!=a?!1!==(r=e["$[]"]("asked_link_about_alibi")["$!"]())&&r!==h&&null!=r?r:e["$[]"]("asked_simon_about_alibi")["$!"]():a)===h||null==t||t.$$is_boolean&&1!=t||e.$tell("Based on the waiter's testimony, Connor was killed between 11:15 and 11:45. You can use that time frame to establish the suspects' alibis."),a=e["$[]"]("talked_to_link"),(t=!1!==a&&a!==h&&null!=a?e["$[]"]("asked_link_about_alibi"):a)===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("talked_to_link")["$!"]())===h||null==t||t.$$is_boolean&&1!=t||e.$tell("Be sure to interview Peter Link."):(t=e["$[]"]("asked_link_about_kat"))===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("asked_kat_about_link"))===h||null==t||t.$$is_boolean&&1!=t?e.$tell("Link claims to have been alone in his room when Connor was murdered. Right now his story is unsubstsantiated."):e.$tell("Link claims to have been alone at the time of the murder, but Kat says otherwise."):e.$tell("Link and Kat's stories seem to corroborate each other. They both say they were in flagrante delicto at the time of the murder."),(t=e["$[]"]("asked_maple_about_simon"))===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("asked_simon_about_alibi"))===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("talked_to_simon")["$!"]())===h||null==t||t.$$is_boolean&&1!=t||e.$tell("Be sure to interview John Simon."):e.$tell("Simon told you he was at the poker table at the time of the murder. The dealer or one of the other players should be able to confirm."):e.$tell("Maple's testimony punched a hole in Simon's alibi. Simon was away from the poker table around the time of the murder.")):e.$tell("Be sure to interview both of Connor's associate's, John Simon and Peter Link.")):e.$tell("Benny mentioned that Connor had come to Redstone with friends. You should ask the clerk about them."),(t=e["$[]"]("used_iphone"))===h||null==t||t.$$is_boolean&&1!=t||((t=e["$[]"]("saw_reed"))===h||null==t||t.$$is_boolean&&1!=t?e.$tell("What's the story behind the man Connor photographed with his iPhone?"):(t=e["$[]"]("started_interrogation")["$!"]())===h||null==t||t.$$is_boolean&&1!=t||e.$tell("Connor took a picture of one of the poker players and sent a curious text message about it. Unfortunately, the staff won't let you interrupt the game. They seem to think Benny wants it that way.")),$.glen_reed.$parent()["$=="]($.security)&&e.$tell("\r\n Connor suspected Glen Reed was a hustler, and it turns out he was\r\n right. Could that be what got him killed?\r\n ")):e.$tell("\r\n So far all you know is that a guest named Troy Connor was murdered tonight.\r\n \r\n Benny didn't have much time to brief you. Maybe a member of his staff can give you more information.\r\n "),((t=e["$[]"]("cheater")["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t)&&e.$tell("\r\n Meanwhile, the security guard has you on the trail of a casino cheat: "+e["$[]"]("cheater").$indefinite_article()+" "+e["$[]"]("cheater").$physical_description()+".\r\n "),$.simon_briefcase.$parent()["$=="](e)?(t=$.laptop.$parent()["$!="](e))===h||null==t||t.$$is_boolean&&1!=t?(t=e["$[]"]("looked_at_laptop"))===h||null==t||t.$$is_boolean&&1!=t?e.$tell("\r\n You're curious what secrets can be found in Simon's laptop.\r\n "):e.$tell("\r\n The login window on Simon's laptop looked suspicious. Vizinet Security sounds vaguely familiar...\r\n "):e.$tell("\r\n You took a briefcase from Simon when you arrested him, but haven't checked inside it yet.\r\n "):h},n.$$s=$,n.$$arity=1,n),e).call(t,"think"),(e=(a=$).$on_player_update,e.$$p=(r=function(e){r.$$s;return null==e&&(e=h),e.$suggest("think")},r.$$s=$,r.$$arity=1,r),e).call(a)},Zt.$$s=hn,Zt.$$arity=0,Zt),u).call(Vt)),_.scripts["$[]="]("conclusion",(u=(Xt=hn).$proc,u.$$p=(en=function(){var e,t,n,a,r,$,l,o,s,i=en.$$s||this;return i.show_guard_laptop=(e=(t=i).$pause,e.$$p=(n=function(e){var t,a,r=n.$$s||this;return null==r.guard&&(r.guard=h),null==r.laptop&&(r.laptop=h),null==r.confession_1&&(r.confession_1=h),null==e&&(e=h),t=[r.guard],a=r.laptop,a["$parent="].apply(a,t),t[t.length-1],e.$tell('\r\n The guard\'s eyes pop wide when he reads the screen. "This looks like a\r\n terminal connected to our own security system."\r\n\r\n "It can\'t be," Benny says.\r\n\r\n "Only one way to find out." The guard taps a few keys. He frowns and\r\n taps a few more.\r\n\r\n The security monitors spring to life.\r\n\r\n The dealer jumps out of his chair. "It was all Simon\'s idea! He pressured\r\n me to go along!"\r\n\r\n "Shut up, you idiot!"\r\n '),e.$prepare(r.confession_1)},n.$$s=i,n.$$arity=1,n),e).call(t),i.confession_1=(e=(a=i).$pause,e.$$p=(r=function(e){var t=r.$$s||this;return null==t.confession_2&&(t.confession_2=h),null==e&&(e=h),e.$tell('\r\n You shove Simon back into his chair. "Keep exercising your right to remain silent."\r\n You turn to the dealer. "Tell us everything."\r\n \r\n The dealer takes a deep breath. "Simon came to me with a plan to rip off\r\n the poker game with Reed. Security is always lax at the private games, so\r\n they figured no one would spot their scam. Only problem, Reed was\r\n worried security would recognize him before he got to the table. That\'s\r\n why Simon needed to hack into the security system and turn off the cameras.\r\n And Reed paid a bunch of lowlifes to run rookie mechanics on the game floor\r\n to keep the bosses distracted."\r\n\r\n "There was still one problem you didn\'t expect," you say. "Connor recognized Reed."\r\n '),e.$prepare(t.confession_2)},r.$$s=i,r.$$arity=1,r),e).call(a),i.confession_2=(e=($=i).$pause,e.$$p=(l=function(e){var t=l.$$s||this;return null==t.conclusion&&(t.conclusion=h),null==e&&(e=h),e.$tell('\r\n "He pulled me aside during the break," the dealer says. "Asked me how I\r\n knew Reed. He swore he had seen Reed\'s picture on the mug wall at Steve\'s\r\n club in Santa Fe. I tried to convince him he was wrong, but he was\r\n determined to look into it. After he went to his room, I warned Simon the\r\n jig was up."\r\n\r\n "Then Simon disappeared for half an hour," you say.\r\n\r\n Simon scoffs. "Doesn\'t prove I killed Connor."\r\n\r\n "It\'s enough to hold you. When the FBI gets here, I\'m sure they\'ll be happy\r\n to talk to you first. God help you if they make a case. Federal sentences\r\n run a lot harder than state. I can think of three different ways they can\r\n put the death penalty on the table."\r\n\r\n "Wait a minute." Simon looks worried now. "This doesn\'t have to go federal,\r\n right? Take me to the sheriff. Maybe we can make a deal."\r\n '),e.$prepare(t.conclusion)},l.$$s=i,l.$$arity=1,l),e).call($),i.conclusion=(e=(o=i).$conclusion,e.$$p=(s=function(e){var t=s.$$s||this;return null==t.lobby&&(t.lobby=h),null==e&&(e=h),e.$choose_wallpaper(t.lobby),e.$tell('\r\n "I can call the sheriff," you say, "but there\'s no way he\'ll even consider\r\n making a deal without a full confession."\r\n\r\n Simon slumps in his chair. "Okay, deputy. Make the call."\r\n\r\n Benny walks to the lobby with you. "Great work, brother. I feel like you\r\n deserve a reward."\r\n\r\n You smile and shake your head. "You\'ve already been more than fair, Benny. Pass it along to the\r\n Heritage Assocation."\r\n '),e.$stream('\r\n <p style="text-align: center;"><strong>The End</strong></p>\r\n ')},s.$$s=i,s.$$arity=1,s),e).call(o)},en.$$s=hn,en.$$arity=0,en),u).call(Xt)),_.scripts["$[]="]("snapshots",(u=(tn=hn).$proc,u.$$p=(nn=function(){var t,n,a,r=nn.$$s||this,$=h;return function(t){var n,a,r=n=d(t,"Snapshots");r.$$proto,r.$$scope;e.defs(r,"$history",a=function(){var e,t=this;return null==t.history&&(t.history=h),!1!==(e=t.history)&&e!==h&&null!=e?e:t.history=[]},a.$$arity=0)}(dn.base),$=h,(t=(n=r).$on_player_ready,t.$$p=(a=function(e){var t,n,r,l=a.$$s||this;return null==e&&(e=h),n=!1!==(r=e.$last_action()["$nil?"]())&&r!==h&&null!=r?r:e.$last_action()["$meta?"]()["$!"](),(t=!1!==n&&n!==h&&null!=n?$["$nil?"]()["$!"]():n)===h||null==t||t.$$is_boolean&&1!=t||dn.get("Snapshots").$history().$push($),$=l.$save()},a.$$s=r,a.$$arity=1,a),t).call(n)},nn.$$s=hn,nn.$$arity=0,nn),u).call(tn)),_.scripts["$[]="]("save-restore",(u=(an=hn).$proc,u.$$p=(rn=function(){var e,t,n,a,r,$=rn.$$s||this;return $.$script("snapshots"),(e=(t=$).$meta,e.$$p=(n=function(e){var t=n.$$s||this,a=h;return null==e&&(e=h),a=t.$save(),e.$user().$save("save.dat",a),e.$tell("Game saved.")},n.$$s=$,n.$$arity=1,n),e).call(t,"save"),(e=(a=$).$meta,e.$$p=(r=function(e){r.$$s;return null==e&&(e=h),e.$user().$restore("save.dat"),e.$tell("Game restored.")},r.$$s=$,r.$$arity=1,r),e).call(a,"restore")},rn.$$s=hn,rn.$$arity=0,rn),u).call(an)),_.scripts["$[]="]("undo",(u=($n=hn).$proc,u.$$p=(ln=function(){var e,t,n,a=ln.$$s||this;return a.$script("snapshots"),(e=(t=a).$meta,e.$$p=(n=function(e){var t,a=n.$$s||this,r=h;return null==e&&(e=h),r=dn.get("Snapshots").$history().$last(),(t=r["$nil?"]())===h||null==t||t.$$is_boolean&&1!=t?(a.$restore(r),e.$tell("Last action undone.")):e.$tell("Nothing to undo.")},n.$$s=a,n.$$arity=1,n),e).call(t,"undo")},ln.$$s=hn,ln.$$arity=0,ln),u).call($n)),_.scripts["$[]="]("save-restore-undo",(u=(on=hn).$proc,u.$$p=(sn=function(){var e=sn.$$s||this;return e.$script("save-restore"),e.$script("undo")},sn.$$s=hn,sn.$$arity=0,sn),u).call(on)),_.scripts["$[]="]("main",(u=(un=hn).$proc,u.$$p=(cn=function(){var t,n,a,r,$,l,o,s,i,u,c,p,g,b,f,k,v,w,T,S=cn.$$s||this;return S.$script("standard"),S.$script("standard/container"),S.$script("standard/pathfinder"),S.$script("wallpaper"),S.$script("autosuggest"),S.$script("focus"),S.$script("transporter"),S.$script("public"),S.$script("cheater"),S.$script("lobby"),S.$script("blackjack"),S.$script("bar"),S.$script("casino"),S.$script("security"),S.$script("kat"),S.$script("restaurant"),S.$script("seven"),S.$script("eight"),S.$script("nine"),S.$script("garage"),S.$script("elevators"),S.$script("interrogation"),S.$script("think"),S.$script("conclusion"),S.$script("snapshots"),S.$script("save-restore-undo"),t=[!1],n=dn.get("ExplicitExits"),n["$default="].apply(n,t),t[t.length-1],(t=(n=S).$respond,t.$$p=(a=function(e){var t;a.$$s;return null==e&&(e=h),(t=e.$children()["$empty?"]())===h||null==t||t.$$is_boolean&&1!=t?e.$proceed():e.$proceed(m(["quietly"],{quietly:!0})),e.$tell("You have "+e["$[]"]("chips")+" chips.")},a.$$s=S,a.$$arity=1,a),t).call(n,"inventory"),S.intro_1=(t=(r=S).$pause,t.$$p=($=function(e){var t=$.$$s||this;return null==t.intro_2&&(t.intro_2=h),null==e&&(e=h),e.$tell('\r\n You arrive at Redstone Casino\r\n twenty minutes after the phone call. The\r\n manager, Benny Plant, meets you at the door.\r\n\r\n "Thanks for coming down," Benny says. "This is a real mess."\r\n\r\n "Who\'s the victim?" you ask.\r\n\r\n "Out-of-town whale by the name of Troy Connor. He stays a couple weekends a\r\n year. Never had a problem until..."\r\n \r\n "Someone killed him in one of your rooms," you say.\r\n '),e.$prepare(t.intro_2)},$.$$s=S,$.$$arity=1,$),t).call(r),S.intro_2=(t=(l=S).$pause,t.$$p=(o=function(e){var t=o.$$s||this;return null==t.intro_3&&(t.intro_3=h),null==e&&(e=h),e.$tell("\r\n Benny glances around the lobby. \"The Connor family carries a lot of weight.\r\n There's no way to keep the feds out of it. They're sending agents in the\r\n morning. My only hope is to hand them a suspect as soon as possible so they\r\n don't cover the whole damn building in yellow tape. If we can do it without\r\n disturbing the other guests, even better.\"\r\n\r\n That's where you come in...\r\n "),e.$prepare(t.intro_3)},o.$$s=S,o.$$arity=1,o),t).call(l),S.intro_3=(t=(s=S).$custom,t.$$p=(i=function(e,t){var n,a,r,$=i.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$stream("<h1>Redstone</h1>"),e.$stream("<p><address>by Fred Snyder</address></p>"),e.$tell('\r\n "The killer might be long gone by now," you say.\r\n\r\n "Connor\'s party is still checked in. It doesn\'t look like a break-in, so\r\n I\'m betting it was someone he knew."\'\r\n\r\n "All right. I\'ll see what I can do."\r\n\r\n Benny hands you a stack of chips. "Use these if you need to grease any palms\r\n or blend in with the players." His phone rings. He looks at the screen and\r\n frowns. "I need to reassure the partners. The staff knows to cooperate with\r\n you." He disappears into the casino.\r\n '),(n=(a=t).$on_finish,n.$$p=(r=function(e,t){var n=r.$$s||this;return null==e&&(e=h),null==t&&(t=h),e.$perform("look"),e.$cue(n.$default_scene())},r.$$s=$,r.$$arity=2,r),n).call(a)},i.$$s=S,i.$$arity=2,i),t).call(s,dn.get("Scene").$$scope.get("Pause")),(t=(u=S).$introduction,t.$$p=(c=function(e){var t,n,a=c.$$s||this;return null==a.lobby&&(a.lobby=h),null==a.intro_1&&(a.intro_1=h),null==e&&(e=h),t=[a.lobby],n=e,n["$parent="].apply(n,t),t[t.length-1],e["$[]="]("accepted_cheater_hunt",!1),e["$[]="]("cheaters_caught",0),e["$[]="]("chips",100),e.$prepare(a.intro_1)},c.$$s=S,c.$$arity=1,c),t).call(u),(t=(p=S).$respond,t.$$p=(g=function(e){var t=g.$$s||this;return null==e&&(e=h),e.$tell(t.$entities().$length()+" entities"),e.$tell(t.$playbook().$actions().$length()+" actions")},g.$$s=S,g.$$arity=1,g),t).call(p,"debug"),(t=(b=S).$respond,t.$$p=(f=function(e,t){f.$$s;return null==e&&(e=h),null==t&&(t=h),e.$proceed()},f.$$s=S,f.$$arity=2,f),t).call(b,"look",dn.get("Use").$room()),function(t){var n,a,r=n=d(t,"NewestSnapshot");r.$$proto,r.$$scope;e.defn(r,"$state",a=function(){var t,n,r=this,$=a.$$p,l=h,o=h;for(null==_.snapshot&&(_.snapshot=h),a.$$p=null,l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];return(n=r,t=e.find_super_dispatcher(r,"state",a,!1),t.$$p=$,t).apply(n,l).$merge(m(["snapshot"],{snapshot:_.snapshot}))},a.$$arity=0)}(dn.base),function(e,$super){function t(){}var n=t=y(e,$super,"Character",t),a=(n.$$proto,n.$$scope);n.$include(a.get("NewestSnapshot"))}(dn.base,null),(t=(k=S).$on_player_ready,t.$$p=(v=function(e){var t=v.$$s||this;return null==e&&(e=h),_.snapshot=h,e.$scene().$type()["$=="]("Activity")?_.snapshot=t.$save():h},v.$$s=S,v.$$arity=1,v),t).call(k),(t=(w=S).$respond,t.$$p=(T=function(e){var t,n,a,r=T.$$s||this;return null==e&&(e=h),(t=(n=r.$entities().$that_are(dn.get("Person"))).$each,t.$$p=(a=function(t){var n,r=a.$$s||this;return null==t&&(t=h),(n=t.$room()["$nil?"]())===h||null==n||n.$$is_boolean&&1!=n?e.$tell(r.$The(t)+" is in "+r.$the(t.$room())+"."):e.$tell(r.$The(t)+" is nowhere.")},a.$$s=r,a.$$arity=1,a),t).call(n)},T.$$s=S,T.$$arity=1,T),t).call(w,"locate")},cn.$$s=hn,cn.$$arity=0,cn),u).call(un)),_.source=dn.get("Gamefic").$$scope.get("Source").$$scope.get("Text").$new(_.scripts),_.plot=dn.get("Gamefic").$$scope.get("Plot").$new(_.source),u=[dn.get("JSON").$parse('{"uuid":null,"gamefic_version":"2.0.0","sdk_version":"2.0.0","build_date":"2017-09-28T23:51:36-04:00"}')],pn=_.plot,pn["$metadata="].apply(pn,u),u[u.length-1],_.plot.$script("main"),_.engine=dn.get("Gamefic").$$scope.get("Engine").$$scope.get("Web").$new(_.plot)}(p.base),(s=(i=_.plot).$stage,s.$$p=(u=function(){var t,n=u.$$s||this;return e.defs(n,"$const_missing",t=function(e){return p.get("Gamefic").$const_get(e)},t.$$arity=1),h&&"const_missing"},u.$$s=c,u.$$arity=0,u),s).call(i)}(Opal);

Xet Storage Details

Size:
189 kB
·
Xet hash:
04be3c6e8c6ff38cb2369290ab3014cbfb748323b0b5e7961b1124be723e22ce

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.