MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / getTutorialSteps

Function getTutorialSteps

src/tutorials/tutorial_firststeps_main.js:2–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1//TL First Steps#0
2function getTutorialSteps()
3{
4 return [
5 function() {
6 tutorial.text = qsTr("Welcome to the Mod Organizer Tutorial! This will guide you through the most common "
7 + "features of MO2.\n\n"
8 + "It is highly recommended for first-time users to complete the tutorial from beginning "
9 + "to end to properly demonstrate key components of the tool.")
10 waitForClick()
11 },
12
13 function() {
14 tutorial.text = qsTr("Before we continue with the step-by-step tutorial, here are a few ways you can receive "
15 + "help with Mod Organizer.")
16 waitForClick()
17 },
18
19 function() {
20 tutorial.text = qsTr("The highlighted button will display potential problems detected with your setup and may "
21 + "suggest solutions. (Click it and then close the window to proceed.)")
22 if (tutorialControl.waitForAction("actionNotifications")) {
23 tutorial.text += qsTr("\n\nIt appears you have one now, however you can hold off on clearing it until after "
24 + "completing the tutorial.")
25 highlightAction("actionNotifications", true)
26 } else {
27 highlightAction("actionNotifications", false)
28 waitForClick()
29 }
30 },
31
32 function() {
33 console.log("next")
34 tutorial.text = qsTr("This button contains additional information about the application, links to other sources "
35 + "of help, and further tutorials. (Open the menu to proceed.)")
36 if (tutorialControl.waitForAction("actionHelp")) {
37 highlightAction("actionHelp", true)
38 } else {
39 console.error("help button broken")
40 waitForClick()
41 }
42 },
43
44 function() {
45 unhighlight()
46 tutorial.text = qsTr("Finally, there are tooltips and extra information available all across Mod Organizer. If "
47 + "there is a control you don't understand, please try hovering over it for a short "
48 + "description. Alternatively, you can use \"Help on UI\" from the Help menu to click on "
49 + "some controls and get a comprehensive explanation.")
50 waitForClick()
51 },
52
53 function() {
54 tutorial.text = qsTr("This list displays all mods installed through MO2. It also displays installed DLCs and "
55 + "any 'unmanaged' mods installed outside MO2. You have limited control over those.")
56 highlightItem("modList", false)
57 waitForClick()
58 },
59
60 function() {

Callers

nothing calls this directly

Calls 7

waitForClickFunction · 0.85
highlightActionFunction · 0.85
unhighlightFunction · 0.85
highlightItemFunction · 0.85
logMethod · 0.80
connectMethod · 0.80
disconnectMethod · 0.80

Tested by

no test coverage detected