/// <summary> /// Adds an extra Junimo to the goodbye dance, as the number of Junimos added is otherwise hardcoded. /// </summary> public static bool StartGoodbyeDance_Prefix(CommunityCenter __instance) { try { if (!Bundles.IsCommunityCentreKitchenEnabledByHost()) { return(true); } Bundles.DrawStarInCommunityCentre(__instance); var junimo = __instance.getJunimoForArea(Bundles.CommunityCentreAreaNumber); junimo.Position = new Vector2(22f, 12f) * 64f; junimo.stayStill(); junimo.faceDirection(1); junimo.fadeBack(); junimo.IsInvisible = false; junimo.setAlpha(1f); junimo.sayGoodbye(); } catch (Exception e) { Log.E($"Error in {nameof(StartGoodbyeDance_Prefix)}: {e}"); } return(true); }