public static void GetInteractionsPrefix(Profession __instance, HumanAI human, List <InteractionRestricted> list) { //If the colonist has the specialization "Build" enabled, adds Construct and Deconstruct //to the list of available interactions if (__instance.HasSpecialization("build")) { list.Add(new InteractionRestricted(Interaction.Construct, __instance.priority * 20)); list.Add(new InteractionRestricted(Interaction.Deconstruct, __instance.priority * 20)); } }