message( "BeginTutorial" ) ; wait_for( "okOrCancelOnMessage" )
message( "TutorialMovement" ) ; wait_for( "okOnMessage" )
wait_for( tryMovement() ) ; hint( "tutorialClickOkHint" , "left" , "button") ; mouse_attachment( "mouse_left_click" , "TutorialMouseClickLeft" )
clear( "hint" ) ; clear( "mouse_attachment" ) ; next()
message( "TutorialCameraMovement" ) ; wait_for( "okOnMessage" )
wait_for( tryCameraMovement() ) ; hint( "tutorialClickOkHint", "left", "button" ) ; mouse_attachment( "mouse_right_click", "TutorialMouseClickRight" )
clear( "hint" ) ; clear( "mouse_attachment" ) ; next()
message( "TutorialCameraScroll" ) ; wait_for( "okOnMessage" )
wait_for( tryCameraScroll() ) ; hint( "tutorialClickOkHint", "left", "button" ) ; mouse_attachment( "mouse_scroll", "TutorialMouseWheelScroll" )
clear( "hint" ) ; clear( "mouse_attachment" ) ; next()
message( "TutorialHardpoints") ; wait_for( "okOnMessage" )
wait_for( clickOn( "Hardpoint_01" ) ) ; hint( "clickOnHardpointHint", "left", "noButton" ) ; arrow( getHardpointTarget( "Hardpoint_01" ), "leftUp", "0x0" )
clear( "hint" ) ; clear ( "arrow" ) ; next()
message( "TutorialBuildings" ) ; wait_for( "okOnMessage" ) ; arrow( getGuiTarget( "menu_buildings_btn" ), "leftUp", "38x24" )
clear( "arrow") ; next()
action( toggleBuild() )
message( "TutorialBlueprints" ) ; wait_for( "okOnMessage" )
wait_for( clickOn( "ShamansHut" ) ) ; hint( "clickOnHutHint", "left", "noButton" ) ; arrow( getInteractableTarget( "ShamansHut" ), "leftUp", "0x0" )
clear( "hint" ) ; clear( "arrow" ) ; next()
wait_for( onButton("blueprints_selector_House") ) ; disable_btn("recipes_button") ; disable_btn("blueprints_ok_button") ; hint( "TutorialBlueprintsHouseHint", "right", "noButton" ) ; arrow( getGuiTarget( "blueprints_selector_House" ), "leftUp", "72x72" )
enable_btn("recipes_button") ; enable_btn("blueprints_ok_button") ; clear( "hint" ) ; clear( "arrow" ) ; next()
action( toggleBlueprints() )
message( "TutorialBuild") ; wait_for( "okOnMessage" )
wait_for( clickOn( "Hardpoint_01" ) ) ; hint( "clickOnHardpointHint", "left", "noButton" ) ; arrow( getHardpointTarget( "Hardpoint_01" ), "leftUp", "0x0" )
clear( "hint" ) ; clear( "arrow" ) ; next()
wait_for( onButton( "gui_build_House" ) ) ; hint( "clickOnHouseImageHint", "left", "noButton" ) ; arrow( getGuiTarget( "gui_build_House" ), "leftDown" ,"48x72" )
clear( "hint" ) ; clear( "arrow" ) ; next()
wait_for( onButton( "build_button_right" ) ) ; disable_btn("gui_build_House") ; hint( "clickOnBuildButtonHint", "left", "noButton" ) ; arrow( getGuiTarget( "build_button_right" ), "leftDown", "48x72" )
enable_btn("gui_build_House") ; clear( "hint" ) ; clear( "arrow" ) ; next()
message( "TutorialBuildHouseEnd" ) ; wait_for( "okOnMessage" )
message( "TutorialCollectibles" ) ; wait_for( "okOnMessage" )
wait_for( pickUp("SeaShells") ) ; hint( "TutorialClickSeaShell", "left", "noButton" ) ; arrow( getCollectibleTarget( "SeaShell" ), "leftUp", "0x0" )
clear( "hint" ) ; clear( "arrow" ) ; next()
message( "TutorialInterface" ) ; wait_for( "okOnMessage" )
message( "TutorialInterfaceTabs0" ) ; arrow( getGuiTarget( "menu_inventory_btn" ), "leftUp", "38x24" ) ; wait_for( "okOnMessage" ) ; action( setTab("inventory") )
clear( "arrow" ) ; next()
message( "TutorialInterfaceTabs1" ) ; arrow( getGuiTarget( "menu_potions_btn" ), "leftUp", "38x24" ) ; wait_for( "okOnMessage" ) ; action( setTab("potions") )
clear( "arrow" ) ; next()
message( "TutorialInterfaceTabs2" ) ; arrow( getGuiTarget( "menu_quests_btn" ), "leftUp", "38x24" ) ; wait_for( "okOnMessage" ) ; action( setTab("quests") )
clear( "arrow" ) ; next()
message( "TutorialInterfaceTabs3" ) ; arrow( getGuiTarget( "menu_village_btn" ), "leftUp", "38x24" ) ; wait_for( "okOnMessage" ) ; action( setTab("village") )
clear( "arrow" ) ; next()
message( "TutorialInterfaceTabs4" ) ; arrow( getGuiTarget( "menu_buildings_btn" ), "leftUp", "38x24" ) ; wait_for( "okOnMessage" )
clear( "arrow" ) ; action( setTab("quests") ) ; next()
message( "TutorialInterfaceResources" ) ; arrow( getGuiTarget( "counter_image_SeaShells", "leftUp", "78x64" ) ; wait_for( "okOnMessage" )
clear( "arrow" ) ; next()
message( "TutorialInterfaceHappiness" ) ; arrow( getGuiTarget( "happiness_image", "leftUp", "32x48" ) ; wait_for( "okOnMessage" )
clear( "arrow" ) ; next()
message( "TutorialContinue" ) ; wait_for( "okOnMessage" )
wait_for( continue() )
wait_for( wait() )
freeze() ; next()
message( "TutorialEnd" ) ; wait_for( "okOnMessage" )
action( end() )
