public static bool Prefix(IdeoFoundation_Deity __instance) { if (__instance.ideo.culture.defName.StartsWith("OG_")) { DeityUtility.GenerateSpecificDeities(__instance); return false; } return true; } }