Ejemplo n.º 1
0
        private static void Knights_ResearchComplete(object sender, ResearchCompleteEventArgs e)
        {
            PatrolTool.GivePlayerPatrolTool(e.Manager.Player);

            RecipeStorage.GetPlayerStorage(e.Manager.Player)
            .SetRecipeAvailability(PatrolTool.PatrolFlag.name, true, ItemFactory.JOB_CRAFTER);
        }
Ejemplo n.º 2
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        PatrolTool window = (PatrolTool)GetWindow(typeof(PatrolTool));

        window.Show();
    }