message( "BeginTutorial" ) ; wait_for( "okOrCancelOnMessage" ) ; disable_btns("menu_inventory_btn", "menu_potions_btn", "menu_quests_btn", "menu_village_btn")
message( "LocTutorial2Map1" ) ; wait_for( "okOnMessage" )
wait_for( clickOn("Hardpoint_01")  ) ; disable_clicks("Hardpoint_01") ; arrow( getHardpointTarget( "Hardpoint_01" ), "leftUp", "0x0" )
enable_clicks() ; clear("arrow") ; next()
disable_clicks("all") ; disable_btns("menu_quests_btn", "build_button_right", "gui_build_WoodProcess", "gui_build_House", "gui_build_FoodProcess", "gui_build_StoneProcess", "gui_build_Storage", "gui_build_Totem") ; next()
wait_for( onButton("gui_build_FoodProcess2") ) ; arrow( getGuiTarget( "gui_build_FoodProcess2" ), "leftDown", "48x72" )
disable_btns("gui_build_FoodProcess2") ; enable_btns("build_button_right") ; next()
clear( "arrow" ) ; next()
wait_for( onButton("build_button_right") ) ; arrow( getGuiTarget( "build_button_right" ), "leftDown", "72x72" )
clear( "arrow" ) ; next()
enable_clicks() ; action( toggleBuild() ) ; disable_btns("menu_inventory_btn", "menu_potions_btn", "menu_quests_btn", "menu_village_btn") ; next()
next()
message( "LocTutorial2Hint1" ) ; wait_for( "okOnMessage" )
message( "LocTutorial2Map2" ) ; wait_for( "okOnMessage" )
wait_for( clickOn( "Tower" ) ) ; disable_clicks( "Tower" ) ; arrow( getInteractableTarget( "Tower" ), "leftUp", "0x0" )
enable_clicks() ; clear( "arrow" ); next()
disable_btns("blueprints_ok_button", "House_tab_button", "WoodProcess_tab_button", "FoodProcess_tab_button", "StoneProcess_tab_button", "Storage_tab_button", "Totem_tab_button") ; next()
wait_for( onButton("FoodProcess2_tab_button") ) ; arrow( getGuiTarget( "FoodProcess2_tab_button" ), "leftUp", "96x32" )
clear( "arrow" ) ; disable_btns("FoodProcess2_tab_button"); next()
wait_for( onButton("blueprints_selector_level_02") ) ; arrow( getGuiTarget( "blueprints_selector_level_02" ), "leftUp", "72x72" )
clear( "arrow" ) ; next()
enable_btns("blueprints_ok_button", "House_tab_button", "WoodProcess_tab_button", "FoodProcess_tab_button", "FoodProcess2_tab_button", "StoneProcess_tab_button", "Storage_tab_button", "Totem_tab_button") ; next()
action( toggleBlueprints() ) ; next()
next()
message( "LocTutorial2Map3" ) ; wait_for( "okOnMessage" )
disable_btns("menu_inventory_btn", "menu_potions_btn", "menu_quests_btn", "menu_village_btn") ; next()
wait_for( clickOn("Hardpoint_01")  ) ; disable_clicks("Hardpoint_01") ; arrow( getHardpointTarget( "Hardpoint_01" ), "leftUp", "0x0" )
enable_clicks() ; clear("arrow") ; next()
disable_clicks("all") ; disable_btns("upgrades_button_right", "menu_quests_btn") ; next()
wait_for( onButton("upgrades_button_left") ) ; arrow( getGuiTarget( "upgrades_button_left" ), "leftDown", "44x128" )
clear( "arrow" ) ; next()
enable_clicks() ; action( toggleUpgrade() ) ; disable_btns("menu_inventory_btn", "menu_potions_btn", "menu_quests_btn", "menu_village_btn") ; next()
next()
message( "LocTutorial2Map4" ) ; wait_for( "okOnMessage" )
message( "LocTutorial2Map5" ) ; wait_for( "okOnMessage" )
wait_for( clickOn("Market")  ) ; disable_clicks("Market") ; arrow( getInteractableTarget( "Market" ), "leftUp", "0x0" )
enable_clicks() ; clear("arrow") ; next()
message( "LocTutorial2Map6" ) ; wait_for( "okOnMessage" )
action( toggleMarket() )
message( "TutorialContinue" ) ; wait_for( "okOnMessage" )
enable_btns("menu_inventory_btn", "menu_potions_btn", "menu_quests_btn", "menu_village_btn") ; next()
wait_for( continue() )
message( "TutorialEnd" ) ; wait_for( "okOnMessage" )
freeze() ; next()
action( end() )