Beispiel #1
0
        protected override OptionResult Run(GameHitParameters <GameObject> parameters)
        {
            Common.StringBuilder msg = new Common.StringBuilder("");
            BakeryController.RestockDisplay(mTarget as CraftersConsignmentDisplay, out msg);

            Common.DebugWriteLog(msg);

            Common.Notify(Common.Localize("General:Success"));

            return(OptionResult.SuccessClose);
        }
Beispiel #2
0
        public void OnWorldLoadFinished()
        {
            kDebugging = Settings.Debugging;

            Settings.ValidateObjects();

            BakeryController.UnlockRecipes();

            BakeryController.InitInteractions();

            new Common.AlarmTask(5, DaysOfTheWeek.All, GenerateGoodies);
        }
Beispiel #3
0
 protected override void OnPerform()
 {
     BakeryController.RefillDisplays();
 }