(Meta (Name "z5-library-out") (Type "normal") (exitForward "z5-library-in.txt") (exitBack "z5-library-out") (levelId "z5-library-out") (levelPath "levels\z5-library-out.txt") (miniGame1Path "levels\clock_door.txt") (miniGame2Path "levels\spot-the-difference.txt") ) (Objects (GameAnim (POSI (position 0 0) ) (SPRT (file gfx\backgrounds\z5-library-out\bkg.ani ) (zOrder -1) ) ) #exit1 (GameButtonX (POSI (position 0 0)) (COLI (left 0) (right 128) (top 0) (bottom 250) ) (Data (clickEvent "QMAP") (exitArrow "exit_left_map") (showHighlightEffect 1) ) (visName exit1_left) ) (GameButtonX (POSI (position 896 0)) (COLI (left 0) (right 128) (top 0) (bottom 300) ) (Data (clickEvent "QMAP") (exitArrow "exit_right_map") (showHighlightEffect 1) ) (visName exit1_right) ) (GameButtonX (POSI (position 350 600)) (COLI (left 0) (right 350) (top 0) (bottom 90) ) (Data (clickEvent QMAP)(exitArrow "exit_down_map") (showHighlightEffect 1)) ) (GameButtonX (POSI (position 430 190)) (COLI (left 0) (right 150) (top 0) (bottom 200) ) (Data (clickEvent "STG1") (disableFlag "minigame1_completed") (enableFlag "dialog4_killed") (showHighlightEffect 1) ) (visName exit_forward) ) (GameButtonX (POSI (position 430 300)) (COLI (left 0) (right 150) (top 0) (bottom 100) ) (Data (clickEvent "NEXT") (exitArrow "exit_up") (enableFlag "minigame1_completed") (showHighlightEffect 1) ) (visName exit_forward) ) (GameAnim (POSI (position 435 177) ) (SPRT (file gfx\backgrounds\z5-library-out\objects.ani) (animName door_closed)) (Data (fadeOnDisable 1)(disableFlag "minigame1_completed" )(killOnDisable 1)(disableSound library_door_open)) (visName "door_closed") ) (SmartUI (POSI(position 408 501) ) (COLI (left 0) (right 128) (top 0) (bottom 64) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani) (animName bag)(zOrder 1)) (visName "smartui") (Data (slots "librarian_scroll" "librarian_sack" "librarian_ribbon" "librarian_glasses" "librarian_bracelets" "librarian_book") (showHighlightEffect 1) (enableClickFlag "dialog1_killed") (fadeOnEnable 1) (disableFlag "smartui_killed") (clickSoundName "pickup") (KillOnEnd 1) (offsetY -70) ) ) ###hiddenObjects#### (GameHiddenObject (POSI(position 34 271)) (SPRT(file gfx\objects\librarian_scroll.ani)) (regionFromSprite idle) (visName "librarian_scroll") ) (GameHiddenObject (POSI(position 845 455)) (SPRT(file gfx\objects\librarian_sack.ani)) (regionFromSprite idle) (visName "librarian_sack") ) (GameHiddenObject (POSI(position 726 464)) (SPRT(file gfx\objects\librarian_ribbon.ani)) (regionFromSprite idle) (visName "librarian_ribbon") ) (GameHiddenObject (POSI(position 71 417)) (SPRT(file gfx\objects\librarian_glasses.ani)) (regionFromSprite idle) (visName "librarian_glasses") ) (GameHiddenObject (POSI(position 268 495)) (SPRT(file gfx\objects\librarian_bracelets.ani)) (regionFromSprite idle) (visName "librarian_bracelets") ) (GameHiddenObject (POSI(position 273 397)) (SPRT(file gfx\objects\librarian_book.ani)) (regionFromSprite idle) (visName "librarian_book") ) (GameHiddenObject (POSI(position 60 488)) (SPRT(file gfx\objects\librarian_key_blue.ani)) (regionFromSprite idle) (visName "librarian_key_blue") (Data (enableFlag "dialog2_killed")(fadeOnEnable 1) ) ) (GameHiddenObject (POSI(position 964 402) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(zOrder 2)(animName glyphstone_snowflakeD)) (regionFromSprite glyphstone_snowflakeD) (Data (enableGlobalFlag "z6-acropolis:dialog1_killed")(enabled 0)(disableFlag "glyphstone_snowflakeD_killed")) (visName "glyphstone_snowflakeD") ) (GameHiddenObject (POSI(position 482 240) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(zOrder 2)(animName glyphstone_snowflakeE)) (regionFromSprite glyphstone_snowflakeE) (Data (enableGlobalFlag "z6-acropolis:dialog1_killed")(enabled 0)(disableFlag "glyphstone_snowflakeE_killed")) (visName "glyphstone_snowflakeE") ) ###################################################################### (UIMusic (Data (file snd/music/track1.ogg snd/music/track2.ogg snd/music/track3.ogg snd/music/track4.ogg snd/music/track5.ogg snd/music/track6.ogg snd/music/track7.ogg snd/music/track8.ogg snd/music/track9.ogg snd/music/track10.ogg) ) ) ######################fadein########################################## (GetObjectsQuest (visName LibrarianQuest2) (Data (enabled 0) (enableFlag "dialog2_killed")(disableFlag "LibrarianQuest2_killed" ) (objects librarian_key_blue) ) ) (GameButtonX (POSI (position 0 0)) (Data (enabled 0)(enableFlag "smartui_killed")(killOnDisable 1)(enableDelay 2.5) (disableFlag "dialog2_killed")(enableDialog "menus\tutorials\z5-library-out\msg2.txt") ) (visName dialog2) ) (GameButtonX (POSI (position 0 0)) (Data (enabled 0)(enableFlag "LibrarianQuest2_killed")(killOnDisable 1) (disableFlag "dialog3_killed")(enableDialog "menus\tutorials\z5-library-out\msg3.txt") ) (visName dialog3) ) (MapPiece (POSI(position 491 152) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(animName map1)(zOrder 2)) (regionFromSprite map1) (visName "mappiece1") ) (MapPiece (POSI(position 316 570) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(animName map2)(zOrder 2)) (regionFromSprite map2) (visName "mappiece2") ) (MapPiece (POSI(position 632 261) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(animName map3)(zOrder 2)) (regionFromSprite map3) (visName "mappiece3") ) (MapPiece (POSI(position 11 354) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(animName map4)(zOrder 2)) (regionFromSprite map4) (visName "mappiece4") ) (MapPiece (POSI(position 244 187) ) (SPRT(file gfx\backgrounds\z5-library-out\objects.ani)(animName map5)(zOrder 2)) (regionFromSprite map5) (visName "mappiece5") ) ############init dialogs######################### (GameModalDialog (visName "dialog1") (Data (fileName "menus\tutorials\z5-library-out\msg1.txt") (delay 1) (disableFlag "dialog1_killed")) ) (GameModalDialog (visName "dialog4") (Data (enabled 0)(fileName "menus\tutorials\z5-library-out\msg4.txt") (delay 1) (disableFlag "dialog4_killed")(enableGlobalFlag "z4-gardens-out:dialog7_killed" "z3-tower-in:dialog4_killed") ) )