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); }
public void OnWorldLoadFinished() { kDebugging = Settings.Debugging; Settings.ValidateObjects(); BakeryController.UnlockRecipes(); BakeryController.InitInteractions(); new Common.AlarmTask(5, DaysOfTheWeek.All, GenerateGoodies); }
protected override void OnPerform() { BakeryController.RefillDisplays(); }