Adde some explanations in the code

This commit is contained in:
Shabakur 2022-12-27 14:54:47 +01:00
parent 1f865320b0
commit e8f9f94130
8 changed files with 17 additions and 8 deletions

View file

@ -20,6 +20,9 @@ namespace RJW_Genes
}
//Modified code from https://gitgud.io/lutepickle/rjw_menstruation/-/tree/main/1.4/source/RJW_Menstruation/RJW_Menstruation
//Summary//
//Adds our own partpreferences to rjw's list. Our partpreferences are under Interactions.GenesPartKindUsageRule
//
private static void AddtoIPartPreferenceRule()
{
List<IPartPreferenceRule> partPreferenceRules = Unprivater.GetProtectedValue<List<IPartPreferenceRule>>("_partKindUsageRules", typeof(PartPreferenceDetectorService));