protected MovedRecipe(string key, ICollection <EmProperty> definitions) : base(key, definitions) { oldPath = (EmProperty <string>)Properties[OldPathKey]; newPath = (EmProperty <string>)Properties[NewPathKey]; hidden = (EmYesNo)Properties[HiddenKey]; copied = (EmYesNo)Properties[CopyKey]; }
protected CustomFabricator(string key, ICollection <EmProperty> definitions) : base(key, definitions) { model = (EmProperty <ModelTypes>)Properties[ModelKey]; colortint = (EmColorRGB)Properties[ColorTintKey]; allowedInBase = (EmYesNo)Properties[AllowedInBaseKey]; allowedInCyclops = (EmYesNo)Properties[AllowedInCyclopsKey]; this.CustomCraftingTabs = (EmPropertyCollectionList <CfCustomCraftingTab>)Properties[CfCustomCraftingTabListKey]; this.MovedRecipes = (EmPropertyCollectionList <CfMovedRecipe>)Properties[CfMovedRecipeListKey]; this.AddedRecipes = (EmPropertyCollectionList <CfAddedRecipe>)Properties[CfAddedRecipeListKey]; this.AliasRecipes = (EmPropertyCollectionList <CfAliasRecipe>)Properties[CfAliasRecipeListKey]; this.CustomFoods = (EmPropertyCollectionList <CfCustomFood>)Properties[CfCustomFoodListKey]; path.Optional = true; }
public CustomCraft2Config(string key, ICollection <EmProperty> definitions) : base(key, definitions) { debugLogging = (EmYesNo)Properties[DebugLogsKey]; }