public static List <DialogEvent> InitDialogs()
        {
            List <DialogEvent> events = new List <DialogEvent>();

            // Write new dialog events here

            // Wait for Module Activation
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           WaitScreen,
                           MoveOnboarding
                           ));

            /*
             * events.Add(new DialogEvent(
             *  Dialogs.CreateListString(),
             *  Step10,
             *  WidenView
             * ));
             *
             * events.Add(new DialogEvent(
             *  Dialogs.CreateListString(),
             *  Step15,
             *  ActionShowUi
             * ));
             */
            return(events);

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("Noise", "Noise2", "FirstContact", "FirstContact2"),
                           Step20,
                           ExitFirstPart
                           ));

            // Step 50

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("IntroTutorial"),
                           Step50,
                           End_Of_Step50
                           ));



            // Step 60 Verif water

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step60_Water_Active,
                           End_Of_Step60_Water_Ok
                           ));
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step60_Water_NotActive,
                           End_Of_Step60_Water_Ko
                           ));

            // Step 65 Activ water
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AskActivateWater"),
                           Step65_Water_Active,
                           End_Of_Step65_Water_Active
                           ));

            // Step 68 Remind water
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("RemindActivateWater"),
                           Step68_Water_NotActive,
                           End_Of_Step68_Water_NotActive
                           ));
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step68_Water_Active,
                           End_Of_Step68_Water_Active
                           ));

            // Step 70 Verif potatoes

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step70_Potatoes_Active,
                           End_Of_Step70_Potatoes_Ok
                           ));
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step70_Potatoes_NotActive,
                           End_Of_Step70_Potatoes_Ko
                           ));

            // Step 75 Activ potatoes
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AskActivatePotatoes"),
                           Step75_Potatoes_Active,
                           End_Of_Step75_Potatoes_Active
                           ));

            // Step 78 Remind potatoes
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step78_Potatoes_Active,
                           End_Of_Step78_Potatoes_Active
                           ));
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("RemindActivatePotatoes"),
                           Step78_Potatoes_NotActive,
                           End_Of_Step78_Potatoes_NotActive
                           ));

            // Step 80 Verif electricity

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step80_Generato_Active,
                           End_Of_Step80_Electricity_Ok
                           ));
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step80_Generator_NotActive,
                           End_Of_Step80_Electricity_Ko
                           ));
            // Step 85 Activ electricity
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AskActivateGenerator"),
                           Step85_Generator_Active,
                           End_Of_Step85_Electrictiy_Active
                           ));
            // Step 88 Remind electricity
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("RemindActivateGenerator"),
                           Step88_Generator_NotActive,
                           End_Of_Step88_Electrictiy_NotActive
                           ));
            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step88_Generator_Active,
                           End_Of_Step88_Electrictiy_Active
                           ));

            // Step 90 All active
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AllActive"),
                           Step90_All_Active,
                           End_Of_Step90_All_Active
                           ));


            // Step 140 IntroModuleOff
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("IntroModuleOff"),
                           Step140IntroModuleOff,
                           End_Of_Step140
                           ));


            /*
             *
             */

            return(events);
        }
Esempio n. 2
0
        public static List <DialogEvent> InitDialogs()
        {
            List <DialogEvent> events = new List <DialogEvent>();


            // Step 500 BeforeMarsStorm
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("BeforeMarsStorm"),
                           TestStormIn,
                           TestStormOut
                           ));

            return(events);

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("BeforeMarsStorm"),
                           Step500,
                           End_Of_Step500
                           ));

            // Step 530 MarsStorm

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step530,
                           End_Of_Step530
                           ));
            // Step 550 Repair
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("IntroRepair"),
                           Step550,
                           End_Of_Step550
                           ));
            // Step 580 Repair
            events.Add(new DialogEvent(
                           Dialogs.CreateListString("RepairEnd"),
                           Step580,
                           End_Of_Step580
                           ));

            // Step 600 BeforeEclipse

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("BeforeEclipse"),
                           Step600,
                           End_Of_Step600
                           ));
            // Step 650 BeforeEclipse

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step650,
                           End_Of_Step650
                           ));

            // Step 700 BeforeWaterKo

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("BeforeWaterKO"),
                           Step700,
                           End_Of_Step700
                           ));
            // Step 750 WaterKo

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step750,
                           End_Of_Step750
                           ));
            // Step 800 AvertUpgradePotatoes

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AvertUpgradePotatoes"),
                           Step800
                           ));
            // Step 850 AvertUpgradeWater

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AvertUpgradeWater"),
                           Step850
                           ));
            // Step 900 AvertUpgradeElectricity

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("AvertUpgradeElectricity"),
                           Step900
                           ));

            // Step 910 Drop1

            events.Add(new DialogEvent(
                           Dialogs.CreateListString("Drop1"),
                           Step910,
                           End_Of_Step910
                           ));

            // Step 920 Drop2

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step920,
                           End_Of_Step920
                           ));

            // Step 930 Drop3

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step930,
                           End_Of_Step930
                           ));
            // Step 940 Drop4

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step940,
                           End_Of_Step940
                           ));
            // Step 950 Drop5

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step950,
                           End_Of_Step950
                           ));

            // Step 1000 PlayerDead

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step1000,
                           Dialogs.TriggerGameOver
                           ));

            // Step 2000 PlayerVictory

            events.Add(new DialogEvent(
                           Dialogs.CreateListString(),
                           Step2000,
                           Dialogs.TriggerVictory
                           ));

            return(events);
        }