public static void ReplaceInteraction(RabbitHole hospital) { if (hospital.Guid != RabbitHoleType.Hospital) { return; } hospital.RemoveInteractionByType(sOldSingleton); foreach (InteractionObjectPair pair in hospital.Interactions) { if (pair.InteractionDefinition.GetType() == Singleton.GetType()) { return; } } hospital.AddInteraction(Singleton); }
private static void AddGameObjInteractions(RabbitHole obj) { obj.AddInteraction(EnableMenus.Singleton, true); obj.AddInteraction(EnableBiteMark.Singleton, true); obj.AddInteraction(EnableBlood.Singleton, true); obj.AddInteraction(EnableConversion.Singleton, true); obj.AddInteraction(EnableThirst.Singleton, true); obj.AddInteraction(EnableNotification.Singleton, true); obj.AddInteraction(EnableSparkle.Singleton, true); obj.AddInteraction(Credits.Singleton, true); obj.AddInteraction(HowToUninstall.Singleton, true); obj.AddInteraction(EnableBathroomCleaning.Singleton, true); obj.AddInteraction(Reset.Singleton, true); obj.AddInteraction(Debug.Singleton, true); }
private static void AddInteractionsToHospitals(RabbitHole obj) { obj.AddInteraction(GetBlood.Singleton, true); }