public static void Postfix(AssignableSlots __instance) { __instance.Add(new OwnableSlot("RockCrusher", "RockCrusher")); __instance.Add(new OwnableSlot("ClothingFabricator", "ClothingFabricator")); __instance.Add(new OwnableSlot("ManualGenerator", "ManualGenerator")); __instance.Add(new OwnableSlot("Polymerizer", "Polymerizer")); __instance.Add(new OwnableSlot("OilRefinery", "OilRefinery")); __instance.Add(new OwnableSlot("MetalRefinery", "MetalRefinery")); __instance.Add(new OwnableSlot("GlassForge", "GlassForge")); __instance.Add(new OwnableSlot("SuitFabricator", "SuitFabricator")); __instance.Add(new OwnableSlot("SupermaterialRefinery", "SupermaterialRefinery")); __instance.Add(new OwnableSlot("MicrobeMusher", "MicrobeMusher")); __instance.Add(new OwnableSlot("GourmetCookingStation", "GourmetCookingStation")); __instance.Add(new OwnableSlot("EggCracker", "EggCracker")); __instance.Add(new OwnableSlot("CookingStation", "CookingStation")); __instance.Add(new OwnableSlot("Apothecary", "Apothecary")); }
public override void Initialize() { base.Initialize(); Urges = new Urges(); AssignableSlots = new AssignableSlots(); StateMachineCategories = new StateMachineCategories(); Personalities = new Personalities(); Faces = new Faces(); Shirts = new Shirts(); Expressions = new Expressions(Root); Thoughts = new Thoughts(Root); Deaths = new Deaths(Root); StatusItemCategories = new StatusItemCategories(Root); Techs = new Techs(Root); Techs.Load(researchTreeFile); TechTreeTitles = new TechTreeTitles(Root); TechTreeTitles.Load(researchTreeFile); TechItems = new TechItems(Root); Accessories = new Accessories(Root); AccessorySlots = new AccessorySlots(Root, null, null, null); ScheduleBlockTypes = new ScheduleBlockTypes(Root); ScheduleGroups = new ScheduleGroups(Root); RoomTypeCategories = new RoomTypeCategories(Root); RoomTypes = new RoomTypes(Root); ArtifactDropRates = new ArtifactDropRates(Root); SpaceDestinationTypes = new SpaceDestinationTypes(Root); Diseases = new Diseases(Root); Sicknesses = new Database.Sicknesses(Root); SkillPerks = new SkillPerks(Root); SkillGroups = new SkillGroups(Root); Skills = new Skills(Root); ColonyAchievements = new ColonyAchievements(Root); MiscStatusItems = new MiscStatusItems(Root); CreatureStatusItems = new CreatureStatusItems(Root); BuildingStatusItems = new BuildingStatusItems(Root); ChoreTypes = new ChoreTypes(Root); Effect effect = new Effect("CenterOfAttention", DUPLICANTS.MODIFIERS.CENTEROFATTENTION.NAME, DUPLICANTS.MODIFIERS.CENTEROFATTENTION.TOOLTIP, 0f, true, true, false, null, 0f, null); effect.Add(new AttributeModifier("StressDelta", -0.008333334f, DUPLICANTS.MODIFIERS.CENTEROFATTENTION.NAME, false, false, true)); effects.Add(effect); CollectResources(Root, ResourceTable); }