Пример #1
0
    public void InitTaskBoardPlan()
    {
        Company.AddEffectToCompanyScore(
            "Agilität",
            "Neues Artefakt: Taskboard",
            10);

        var taskboard = InteractibleManager.TaskboardInteractible;

        taskboard.gameObject.SetActive(true);
        taskboard.Stuff.SetActive(false);

        //a bit hacky, but: multiple times to increase the change the npcs go there
        InteractibleManager.AddToNpcInteractibles(taskboard);
        InteractibleManager.AddToNpcInteractibles(taskboard);
        InteractibleManager.AddToNpcInteractibles(taskboard);
        InteractibleManager.AddToNpcInteractibles(taskboard);

        for (int i = 0; i < taskboard.TaskBoardScreen.TodoLane.MaxTasks; i++)
        {
            taskboard.TaskBoardScreen.CreateNewTask();
        }

        BonusTaskProvider.EnqueuePlayerWorkTask("Lokalen Testserver neustarten", 100, 10);
        BonusTaskProvider.EnqueueTaskboardTask(3);
        BonusTaskProvider.EnqueueReachProgressTask(5000, 20);
    }
Пример #2
0
    public void InitDailyScrumPlan()
    {
        Company.AddEffectToCompanyScore(
            "Agilität",
            "Neues Meeting: Daily Scrum",
            10);

        Clock.SetAlarm(new TimeStamp(10, 30, 0), CallForDailyScrum, true);

        BonusTaskProvider.EnqueueReachProgressTask(600, 5);
        BonusTaskProvider.EnqueuePlayerWorkTask("E-Mails beantworten", 30, 10);
        BonusTaskProvider.EnqueueImpedimentsTask(5);
        BonusTaskProvider.EnqueuePlayerWorkTask("Neue Lizenzschlüssel einkaufen", 100, 10);
    }