Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--Saved by Quest 5.7.6606.27193-->
- <asl version="550">
- <include ref="English.aslx" />
- <include ref="Core.aslx" />
- <game name="testmove">
- <gameid>09559cd6-7761-4340-b524-6b1f7b7697b5</gameid>
- <version>1.0</version>
- <firstpublished>2018</firstpublished>
- <autodescription type="boolean">false</autodescription>
- <showdescriptiononenter type="boolean">false</showdescriptiononenter>
- <attr name="changeroom_newline" type="boolean">false</attr>
- <echohyperlinks type="boolean">false</echohyperlinks>
- <autodisplayverbs type="boolean">false</autodisplayverbs>
- </game>
- <object name="startroom">
- <inherit name="editor_room" />
- <beforeenter type="script">
- </beforeenter>
- <beforefirstenter type="script">
- MoveObject (player, mainroom_centre)
- </beforefirstenter>
- <object name="player">
- <inherit name="editor_object" />
- <inherit name="editor_player" />
- </object>
- </object>
- <object name="testgroup">
- <inherit name="editor_object" />
- <object name="mainroom_n">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="south" to="mainroom_centre">
- <inherit name="southdirection" />
- </exit>
- <exit alias="east" to="mainroom_ne">
- <inherit name="eastdirection" />
- </exit>
- <exit alias="west" to="mainroom_nw">
- <inherit name="westdirection" />
- </exit>
- <exit alias="southwest" to="mainroom_w">
- <inherit name="southwestdirection" />
- </exit>
- <exit alias="southeast" to="mainroom_e">
- <inherit name="southeastdirection" />
- </exit>
- </object>
- <object name="mainroom_s">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="north" to="mainroom_centre">
- <inherit name="northdirection" />
- </exit>
- <exit alias="northeast" to="mainroom_e">
- <inherit name="northeastdirection" />
- </exit>
- <exit alias="northwest" to="mainroom_w">
- <inherit name="northwestdirection" />
- </exit>
- <exit alias="east" to="mainroom_e">
- <inherit name="eastdirection" />
- </exit>
- <exit alias="west" to="mainroom_w">
- <inherit name="westdirection" />
- </exit>
- </object>
- <object name="mainroom_e">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="west" to="mainroom_centre">
- <inherit name="westdirection" />
- </exit>
- <exit alias="northwest" to="mainroom_n">
- <inherit name="northwestdirection" />
- </exit>
- <exit alias="southwest" to="mainroom_s">
- <inherit name="southwestdirection" />
- </exit>
- <exit alias="north" to="mainroom_ne">
- <inherit name="northdirection" />
- </exit>
- <exit alias="south" to="mainroom_se">
- <inherit name="southdirection" />
- </exit>
- </object>
- <object name="mainroom_w">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="east" to="mainroom_centre">
- <inherit name="eastdirection" />
- </exit>
- <exit alias="northeast" to="mainroom_n">
- <inherit name="northeastdirection" />
- </exit>
- <exit alias="southeast" to="mainroom_s">
- <inherit name="southeastdirection" />
- </exit>
- <exit alias="north" to="mainroom_nw">
- <inherit name="northdirection" />
- </exit>
- <exit alias="south" to="mainroom_sw">
- <inherit name="southdirection" />
- </exit>
- </object>
- <object name="mainroom_ne">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="southwest" to="mainroom_centre">
- <inherit name="southwestdirection" />
- </exit>
- <exit alias="west" to="mainroom_n">
- <inherit name="westdirection" />
- </exit>
- <exit alias="south" to="mainroom_e">
- <inherit name="southdirection" />
- </exit>
- </object>
- <object name="mainroom_nw">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="southeast" to="mainroom_centre">
- <inherit name="southeastdirection" />
- </exit>
- <exit alias="east" to="mainroom_n">
- <inherit name="eastdirection" />
- </exit>
- <exit alias="south" to="mainroom_w">
- <inherit name="southdirection" />
- </exit>
- </object>
- <object name="mainroom_se">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="northwest" to="mainroom_centre">
- <inherit name="northwestdirection" />
- </exit>
- <exit alias="north" to="mainroom_e">
- <inherit name="northdirection" />
- </exit>
- </object>
- <object name="mainroom_sw">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="northeast" to="mainroom_centre">
- <inherit name="northeastdirection" />
- </exit>
- <exit alias="north" to="mainroom_w">
- <inherit name="northdirection" />
- </exit>
- </object>
- <object name="mainroom_centre">
- <inherit name="editor_room" />
- <beforeenter type="script">
- msg (this.name)
- </beforeenter>
- <firstenter type="script">
- </firstenter>
- <onexit type="script">
- randroom
- </onexit>
- <exit alias="north" to="mainroom_n">
- <inherit name="northdirection" />
- </exit>
- <exit alias="south" to="mainroom_s">
- <inherit name="southdirection" />
- </exit>
- <exit alias="east" to="mainroom_e">
- <inherit name="eastdirection" />
- </exit>
- <exit alias="west" to="mainroom_w">
- <inherit name="westdirection" />
- </exit>
- <exit alias="northeast" to="mainroom_ne">
- <inherit name="northeastdirection" />
- </exit>
- <exit alias="northwest" to="mainroom_nw">
- <inherit name="northwestdirection" />
- </exit>
- <exit alias="southeast" to="mainroom_se">
- <inherit name="southeastdirection" />
- </exit>
- <exit alias="southwest" to="mainroom_sw">
- <inherit name="southwestdirection" />
- </exit>
- </object>
- </object>
- <function name="randroom">
- randno = GetRandomInt(1,9)
- msg ("RandomRoomNumber:"+randno)
- switch (randno) {
- case (1) {
- MoveObject (player, mainroom_n)
- }
- case (2) {
- MoveObject (player, mainroom_s)
- }
- case (3) {
- MoveObject (player, mainroom_e)
- }
- case (4) {
- MoveObject (player, mainroom_w)
- }
- case (5) {
- MoveObject (player, mainroom_ne)
- }
- case (6) {
- MoveObject (player, mainroom_nw)
- }
- case (7) {
- MoveObject (player, mainroom_se)
- }
- case (8) {
- MoveObject (player, mainroom_sw)
- }
- case (9) {
- MoveObject (player, mainroom_centre)
- }
- }
- </function>
- </asl>
Add Comment
Please, Sign In to add comment