diff --git a/AOW4/Data/ResourceNode.cs b/AOW4/Data/ResourceNode.cs new file mode 100644 index 0000000..001d151 --- /dev/null +++ b/AOW4/Data/ResourceNode.cs @@ -0,0 +1,18 @@ +namespace AOW4.Data; + +public class ResourceNode +{ + public string Name { get; set; } = string.Empty; + public string? Description { get; set; } + public int? IncreaseFood { get; set; } + public int? IncreaseProduction { get; set; } + public int? IncreaseGold { get; set; } + public int? IncreaseMana { get; set; } + public int? IncreaseKnowledge { get; set; } + public bool ForceEnableFarm { get; set; } + public bool ForceEnableMine { get; set; } + public bool ForceEnableQuarry { get; set; } + public bool ForceEnableConduit { get; set; } + public bool ForceEnableResearchPost { get; set; } + public bool ForceEnableForester { get; set; } +} diff --git a/AOW4/Data/ResourceNodesData.cs b/AOW4/Data/ResourceNodesData.cs new file mode 100644 index 0000000..9ca421c --- /dev/null +++ b/AOW4/Data/ResourceNodesData.cs @@ -0,0 +1,81 @@ +using System.Collections.Generic; + +namespace AOW4.Data; + +public static class ResourceNodesData +{ + public static readonly IReadOnlyList RawData = new List + { + new ResourceNode + { + Name = "Pastures", + Description = "Roaming herds on lush fields.", + IncreaseFood = 10, + ForceEnableFarm = true + }, + new ResourceNode + { + Name = "Oasis", + Description = "A lush oasis full of nutritious food.", + IncreaseFood = 10 + }, + new ResourceNode + { + Name = "Iron Deposit", + Description = "A rich vein full of ore.", + IncreaseProduction = 10, + ForceEnableMine = true, + ForceEnableQuarry = true + }, + new ResourceNode + { + Name = "Gold Vein", + Description = "A large vein of valuable gold.", + IncreaseGold = 10, + ForceEnableMine = true + }, + new ResourceNode + { + Name = "Mana Node", + Description = "Magical currents converge at this location.", + IncreaseMana = 10, + ForceEnableConduit = true, + ForceEnableResearchPost = true + }, + new ResourceNode + { + Name = "Fishing Ground", + Description = "A plentiful source of fish.", + IncreaseFood = 15 + }, + new ResourceNode + { + Name = "Pearl Reef", + Description = "A bloom of valuable pearls.", + IncreaseGold = 7, + IncreaseMana = 7, + ForceEnableMine = true, + ForceEnableConduit = true + }, + new ResourceNode + { + Name = "Chitinous Growths", + Description = "These grotesque growths deposit valuable liquid and ore at unnatural speed.", + IncreaseGold = 30 + }, + new ResourceNode + { + Name = "Monoliths", + Description = "There is writing in an unknown language on these obsidian giants.", + IncreaseKnowledge = 30 + }, + new ResourceNode + { + Name = "Blossom Orchard", + Description = "Eternally blooming trees offering bounty of fruit and wood.", + IncreaseFood = 5, + IncreaseProduction = 5, + ForceEnableForester = true + } + }; +} diff --git a/docs/@raw-data.md b/docs/@raw-data.md deleted file mode 100644 index e69de29..0000000