public IronElementType() { _elementType = ElementType.Type.RESSOURCE_IRON; _name = ElementType.GetTypeName(_elementType); _isRessources = true; _hasLevelEnable = false; var select = Random.Next(1, 5); _imagePath = "pack://application:,,,/Resources/Images/resource_iron_" + select.ToString() + ".png"; _detailImagePath = "pack://application:,,,/Resources/Images/menu_iron.png"; _elementInfo = "Each Iron Mine gains 50% for the first adjacent iron node, then 40% for each after that. The Iron Mine's production efficiency can then be increased up to 75% by an adjacent Foundry, and up to 30% by each adjacent Cottage."; // Bonus linked to iron _elementProductionBonus = new ElementProductionBonus(0, 0, 0, 0); _elementProductionBonus.IsRessourcesBonus = true; _elementProductionBonus.FirstBonus = 50; _elementProductionBonus.SecondBonus = 40; }
public ForestElementType() { _elementType = ElementType.Type.RESSOURCE_FOREST; _name = ElementType.GetTypeName(_elementType); _isRessources = true; _hasLevelEnable = false; var select = Random.Next(1, 5); _imagePath = "pack://application:,,,/Resources/Images/resource_wood_" + select + ".png"; _detailImagePath = "pack://application:,,,/Resources/Images/menu_forest.png"; _elementInfo = "Each Woodcutter's Hut gains 50% production efficiency from the first adjacent wood node, then 40% for each after that. The Woodcutter's Hut production efficiency can then be further increased up to 75% by an adjacent Sawmill, and up to 30% by each adjacent Cottage."; // Bonus linked to Forest _elementProductionBonus = new ElementProductionBonus(0, 0, 0, 0); _elementProductionBonus.IsRessourcesBonus = true; _elementProductionBonus.FirstBonus = 50; _elementProductionBonus.SecondBonus = 40; }