public static void OnLoad() { Strings.Add("STRINGS.BUILDINGS.PREFABS.EGGCRITTERSURPLUS.NAME", EggCritterSurplusConfig.DisplayName); Strings.Add("STRINGS.BUILDINGS.PREFABS.EGGCRITTERSURPLUS.DESC", EggCritterSurplusConfig.Description); Strings.Add("STRINGS.BUILDINGS.PREFABS.EGGCRITTERSURPLUS.EFFECT", EggCritterSurplusConfig.Effect); TechHelper.AddBuildingToPlanScreen(TechHelper.Food, EggCritterSurplusConfig.Id); TechHelper.AddBuildingToTechnology(TechHelper.RanchingTech, EggCritterSurplusConfig.Id); }
public static void OnLoad() { TUNING.STORAGEFILTERS.BAGABLE_CREATURES.AddRange(TUNING.STORAGEFILTERS.SWIMMING_CREATURES); // makes all critters deliverable to dropoff point Strings.Add("STRINGS.BUILDINGS.PREFABS.EGGCRITTERSURPLUS.NAME", EggCritterSurplusConfig.DisplayName); Strings.Add("STRINGS.BUILDINGS.PREFABS.EGGCRITTERSURPLUS.DESC", EggCritterSurplusConfig.Description); Strings.Add("STRINGS.BUILDINGS.PREFABS.EGGCRITTERSURPLUS.EFFECT", EggCritterSurplusConfig.Effect); //TechHelper.AddBuildingStrings(EggCritterSurplusConfig.Id, EggCritterSurplusConfig.DisplayName, EggCritterSurplusConfig.Description, EggCritterSurplusConfig.Effect); TechHelper.AddBuildingToPlanScreen(EggCritterSurplusConfig.Id, PlanScreens.Food); TechHelper.AddOnLoad.Add(new TechContainer(EggCritterSurplusConfig.Id, TechGroups.Ranching)); }