From ea8cafea2b0e524483b336f27b0904a95f2d1b37 Mon Sep 17 00:00:00 2001 From: 6d486f49 <76097bcc@gmail.com> Date: Tue, 26 May 2026 12:01:58 -0400 Subject: [PATCH] More data collection and thinking --- docs/.obsidian/workspace.json | 165 +++++--------------- docs/Build Calculator Concerns.md | 15 ++ docs/Building Calculator.md | 2 + docs/Collect Data.md | 2 + docs/Common Building Data.md | 246 ++++++++++++++++++++++++++++++ 5 files changed, 303 insertions(+), 127 deletions(-) create mode 100644 docs/Build Calculator Concerns.md create mode 100644 docs/Common Building Data.md diff --git a/docs/.obsidian/workspace.json b/docs/.obsidian/workspace.json index 9a2384c..dff4d87 100644 --- a/docs/.obsidian/workspace.json +++ b/docs/.obsidian/workspace.json @@ -4,130 +4,41 @@ "type": "split", "children": [ { - "id": "654bd275305d6536", - "type": "split", + "id": "330f0f204ec3f22e", + "type": "tabs", "children": [ { - "id": "330f0f204ec3f22e", - "type": "tabs", - "dimension": 66.04987932421561, - "children": [ - { - "id": "7a5b3ed118d43e9a", - "type": "leaf", - "pinned": true, - "state": { - "type": "markdown", - "state": { - "file": "Overview.md", - "mode": "source", - "source": false - }, - "pinned": true, - "icon": "lucide-file", - "title": "Overview" - } + "id": "7a5b3ed118d43e9a", + "type": "leaf", + "pinned": true, + "state": { + "type": "markdown", + "state": { + "file": "Overview.md", + "mode": "source", + "source": false }, - { - "id": "a152291798e86a03", - "type": "leaf", - "state": { - "type": "canvas", - "state": { - "file": "_Plan.canvas", - "viewState": { - "x": -2348.621950408076, - "y": 7.869358821353444, - "zoom": -1.2248009278071696 - } - }, - "icon": "lucide-layout-dashboard", - "title": "_Plan" - } - }, - { - "id": "d1497805c26b4f39", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Collect Data.md", - "mode": "source", - "source": false - }, - "icon": "lucide-file", - "title": "Collect Data" - } - }, - { - "id": "da338990aba2f814", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Governor Data.md", - "mode": "source", - "source": false - }, - "icon": "lucide-file", - "title": "Governor Data" - } - }, - { - "id": "1c5c0981268a9a26", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "agent.md.md", - "mode": "source", - "source": false - }, - "icon": "lucide-file", - "title": "agent.md" - } - } - ], - "currentTab": 3 + "pinned": true, + "icon": "lucide-file", + "title": "Overview" + } }, { - "id": "0d0bf6ef8ed6d192", - "type": "tabs", - "dimension": 33.95012067578439, - "children": [ - { - "id": "f194521fa12ddca8", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Load Game Data Into Build Calculator.md", - "mode": "source", - "source": false - }, - "icon": "lucide-file", - "title": "Load Game Data Into Build Calculator" - } + "id": "1f3540dfe0e8bf81", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "Common Building Data.md", + "mode": "source", + "source": false }, - { - "id": "e5e16e6e5f534f54", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Province Improvement Data.md", - "mode": "source", - "source": false - }, - "icon": "lucide-file", - "title": "Province Improvement Data" - } - } - ], - "currentTab": 1 + "icon": "lucide-file", + "title": "Common Building Data" + } } ], - "direction": "horizontal" + "currentTab": 1 } ], "direction": "vertical" @@ -299,15 +210,19 @@ "bases:Create new base": false } }, - "active": "da338990aba2f814", + "active": "1f3540dfe0e8bf81", "lastOpenFiles": [ - "Province Improvement Data.md", - "Governor Data.md", + "Common Building Data.md", "Collect Data.md", - "agent.md.md", - "Document Raw Data and Turn it into Class Data.md", - "_Tasks Kanban.base", "_Plan.canvas", + "Build Calculator Concerns.md", + "Building Calculator.md", + "_Tasks Kanban.base", + "agent.md.md", + "Building Data Tables.md", + "Governor Data.md", + "Province Improvement Data.md", + "Document Raw Data and Turn it into Class Data.md", "Overview.md", "Play Architect culture and find out what Monuments are.md", "Magic Material Data.md", @@ -324,10 +239,6 @@ "Terrain Data.md", "Throne City.md", "Test Automation.md", - "Building Stats Reference.md", - "@raw-data.md", - "Equipment Calculator.md", - "Learning Pages.md", - "Home Page.md" + "Building Stats Reference.md" ] } \ No newline at end of file diff --git a/docs/Build Calculator Concerns.md b/docs/Build Calculator Concerns.md new file mode 100644 index 0000000..e0576b8 --- /dev/null +++ b/docs/Build Calculator Concerns.md @@ -0,0 +1,15 @@ + +I do not what the build calculator to just be a 1 for 1 creation of the game, that just seems silly and pointless. + +The issue is the amount of randomness in the game. We can ignore that, but there is a sheer amount of randomness that we cannot ignore it all, like even in the research of what we can build at any given time, which can be randomized by Tome RNG. + +We can preplan things a bit, so we could end up with a percent chance we have the technology each turn and a random percentage value of how possible the build is based on RNG. + +We can do Tome RNG, pretty easily, but what about specific resources? Do we care about percentage of getting a magic material. Do I assign a weight and cost for that action? + +Maybe instead of actions, I also do plans. Like "Plan to make a city" and "Plan to make a output" when assumed turn times and costs built in. + +What's the absolute prototype of the calculator I can make? Just buildings, and ignore: province improvements, tomes, governors. + +I DO NOT WANT people to manager turns. The calculator should handle the earliest turn. So obvious actions are, build building, build unit, scout with unit, attack with army. + diff --git a/docs/Building Calculator.md b/docs/Building Calculator.md index 33af9dd..f5871e8 100644 --- a/docs/Building Calculator.md +++ b/docs/Building Calculator.md @@ -1,3 +1,5 @@ +[[Build Calculator Concerns]] + - Draft - Food - Knowledge diff --git a/docs/Collect Data.md b/docs/Collect Data.md index 7d911a2..ee70c5e 100644 --- a/docs/Collect Data.md +++ b/docs/Collect Data.md @@ -11,6 +11,8 @@ status: Working On - [[Governor Data]] - Building Data +- [[Common Building Data]] + - Tome Data - Research Data diff --git a/docs/Common Building Data.md b/docs/Common Building Data.md new file mode 100644 index 0000000..22f5bf7 --- /dev/null +++ b/docs/Common Building Data.md @@ -0,0 +1,246 @@ +Common building that can be built by any action. Some common buildings are swapped out for specific culture buildings if the chosen leader matches said culture. + +# Schema + + + + +# Raw Data + + +{| class="mildtable sortable" +! class="unsortable" width=1% | !! width=10% | Name !! width=5% | Category +! class="unsortable" width=30% | Effects +! width=15% | Requirements !! width=10% | Cost !! width=10% | Boost !! width=10% | Source +|- id="Store House" +| [[File:Building foragers_market.png|48px]] || Store House || {{icon|food|24px}} +| +10 {{icon|food|21px}} Food income +| Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|forester|21px}} Forester +| General +|- id="Granary" +| [[File:Building granary.png|48px]] || Granary || {{icon|food|24px}} +| +20 {{icon|food|21px}} Food income +| Requires Store House +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|forester|21px}} Foresters +| General +|- id="Estate Hall" +| [[File:Building estate_hall.png|48px]] || Estate Hall || {{icon|food|24px}} +| +30 {{icon|food|21px}} Food income +| Requires 2 {{icon|farm|21px}} Farms.
Requires Granary or equivalent +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|forester|21px}} Foresters +| General +|- id="Farmers' Guild" +| [[File:Building farmers_guild.png|48px]] || Farmers' Guild || {{icon|food|24px}} +| +10 {{icon|food|21px}} Food income per {{icon|farm|21px}} Farm
This city produces +30% {{icon|food|21px}} Food income. +| Requires 4 {{icon|farm|21px}} Farms
Only 1 Guild allowed per city.
Requires Estate Hall +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 4 {{icon|forester|21px}} Foresters +| General +|- id="Workshop" +| [[File:Building workshop.png|48px]] || Workshop || {{icon|production|24px}}
{{icon|draft|24px}} +| +10 {{icon|production|21px}} Production income
+5 {{icon|draft|21px}} Draft income +| Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|farm|21px}} Farm +| General +|- id="Stonemason" +| [[File:Building stonemason.png|48px]] || Stonemason || {{icon|production|24px}} +| +15 {{icon|production|21px}} Production income +| Requires Workshop or equivalent +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|farm|21px}} Farms +| General +|- id="Masonic Hall" +| [[File:Building masonic_hall.png|48px]] || Masonic Hall || {{icon|production|24px}} +| +20 {{icon|production|21px}} Production income +| Requires 2:{{icon|quarry|21px}} Quarries
Requires Stonemason or equivalent +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|farm|21px}} Farms +| General +|- id="Workers' Guild" +| [[File:Building workers_guild.png|48px]] || Workers' Guild || {{icon|production|24px}} +| +10 {{icon|fort health|21px}}Fortification Health
+10 {{icon|production|21px}} Production income per {{icon|quarry|21px}} Quarry +| Requires 4 {{icon|quarry|21px}} Quarries to unlock
Only 1 Guild allowed per city.
Requires Masonic Hall +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 4 {{icon|farm|21px}} Farms +| General +|- id="Blacksmith" +| [[File:Building blacksmith.png|48px]] || Blacksmith || {{icon|draft|24px}} +| +20 {{icon|draft|21px}} Draft income
+1 [[File:Medal PMA.png|Starting rank|21px]] Starting Rank to every Tier 1 unit +| Requires Workshop or equivalent +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|quarry|21px}} Quarries +| General +|- id="Armory" +| [[File:Building armory.png|48px]] || Armory || {{icon|draft|24px}} +| +30 {{icon|draft|21px}} Draft income
+1 [[File:Medal PMA.png|Starting rank|21px]] Starting Rank to every Tier 1 and Tier 2 unit +| Requires 2 {{icon|forester|21px}} Foresters
Requires Blacksmith or equivalent +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|quarry|21px}} Quarries +| General +|- id="Smiths' Guild" +| [[File:Building smiths_guild.png|48px]] || Smiths' Guild || {{icon|draft|24px}} +| +1 [[File:Medal PMA.png|Starting rank|21px]] Starting Rank to every Tier 1, Tier 2 and Tier 3 units.
Per {{icon|forester|21px}} Forester: +| Requires 4 {{icon|forester|21px}} Foresters
Only 1 Guild allowed per city.
Requires Armory +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 4 {{icon|quarry|21px}} Quarries +| General +|- id="Vendor" +| [[File:Building vendor.png|48px]] || Vendor || {{icon|gold|24px}} +| +10 {{icon|gold|21px}} Gold income +| Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|farm|21px}} Farm +| General +|- id="Market" +| [[File:Building market.png|48px]] || Market || {{icon|gold|24px}} +| +15 {{icon|gold|21px}} Gold income +| Requires Vendor +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|farm|21px}} Farms +| General +|- id="Mint" +| [[File:Building mint.png|48px]] || Mint || {{icon|gold|24px}} +| +20 {{icon|gold|21px}} Gold income +| Requires 1 {{icon|mine|21px}} Mine
Requires Market or equivalent +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|farm|21px}} Farms +| General +|- id="Merchants' Guild" +| [[File:Building merchants_guild.png|48px]] || Merchants' Guild || {{icon|gold|24px}} +| +10 {{icon|gold|21px}} Gold income per {{icon|mine|21px}} Mine +| Requires 2 {{icon|mine|21px}} Mines
Only 1 Guild allowed per city.
Requires Mint +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 4 {{icon|farm|21px}} Farms +| General +|- id="Library" +| [[File:Building library.png|48px]] || Library || {{icon|knowledge|24px}} +| +10 {{icon|knowledge|21px}} Knowledge income +| Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|forester|21px}} Forester +| General +|- id="Arcane Institute" +| [[File:Building arcane_institute.png|48px]] || Arcane Institute || {{icon|knowledge|24px}} +| +15 {{icon|knowledge|21px}} Knowledge income +| Requires Library +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 1 {{icon|forester|21px}} Forester
Build 1 {{icon|quarry|21px}} Quarry +| General +|- id="Academy" +| [[File:Building academy.png|48px]] || Academy || {{icon|knowledge|24px}} +| +20 {{icon|knowledge|21px}} Knowledge income +| Requires 1 {{icon|research post|21px}} Research Post
Requires Arcane Institute or equivalent +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 1 {{icon|forester|21px}} Forester
Build 2 {{icon|quarry|21px}} Quarries +| General +|- id="Scholars' Guild" +| [[File:Building scholars_guild.png|48px]] || Scholars' Guild || {{icon|knowledge|24px}} +| +10 {{icon|knowledge|21px}} Knowledge income per {{icon|research post|21px}} Research Post +| Requires 2 {{icon|research post|21px}} Research Posts
Only 1 Guild allowed per city.
Requires Academy +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 2 {{icon|forester|21px}} Foresters
Build 2 {{icon|quarry|21px}} Quarries +| General +|- id="Shrine" +| [[File:Building shrine.png|48px]] || Shrine || {{icon|mana|24px}} +| +10 {{icon|mana|21px}} Mana income +| Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|quarry|21px}} Quarry +| General +|- id="Mana Obelisk" +| [[File:Building mana_obelisk.png|48px]] || Mana Obelisk || {{icon|mana|24px}} +| +15 {{icon|mana|21px}} Mana income +| Requires Shrine +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|quarry|21px}} Quarries +| General +|- id="Monolith" +| [[File:Building monolith.png|48px]] || Monolith || {{icon|mana|24px}} +| +20 {{icon|mana|21px}} Mana income +| Requires 1 {{icon|conduit|21px}} Conduit
Requires Mana Obelisk or equivalent +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|quarry|21px}} Quarries +| General +|- id="Mages' Guild" +| [[File:Building mages_guild.png|48px]] || Mages' Guild || {{icon|mana|24px}} +| +10 {{icon|mana|21px}} Mana income per {{icon|conduit|21px}} Conduit +| Requires 2 {{icon|conduit|21px}} Conduits
Only 1 Guild allowed per city.
Requires Monolith +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 4 {{icon|quarry|21px}} Quarries +| General +|- id="Shipyard" +| [[File:Building shipyard.png|48px]] || Shipyard || {{icon|gold|24px}} +| +10 {{icon|gold|21px}} Gold income +| Requires 1 Water province to unlock
Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|forester|21px}} Forester +| General +|- id="Fishmonger" +| [[File:Building fishmonger.png|48px]] || Fishmonger || {{icon|food|24px}} +| +15 {{icon|food|21px}} Food income +| Requires 2 Water provinces to unlock
Requires Shipyard +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|forester|21px}} Foresters +| General +|- id="Grand Wharf" +| [[File:Building grand_wharf.png|48px]] || Grand Wharf || {{icon|production|24px}} +| +20 {{icon|production|21px}} Production income +| Requires 3 Water provinces to unlock
Requires Fishmonger +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|forester|21px}} Foresters +| General +|- id="Seafarers' Guild" +| [[File:Building seafarers_guild.png|48px]] || Seafarers' Guild || +| Per Coast or Underground Lake province: +| Requires 4 Water provinces to unlock
Only 1 Guild allowed per city.
Requires Grand Wharf +| 750 {{icon|production|21px}} 280 {{icon|gold|21px}} +| Build 4 {{icon|forester|21px}} Foresters +| General +|- id="Mineral Extractor" +| [[File:Building mineral extractor.png|48px]] || Mineral Extractor || {{icon|gold|24px}} +| +5 {{icon|gold|21px}} Gold income
+5 {{icon|mana|21px}} Mana income +| Requires 1 Lava province to unlock
Requires Town Hall I: Town Center +| 130 {{icon|production|21px}} 60 {{icon|gold|21px}} +| Build 1 {{icon|quarry|21px}} Quarry +| General +|- id="Basalt Excavation" +| [[File:Building basalt excavation.png|48px]] || Basalt Excavation || {{icon|production|24px}} +| +15 {{icon|production|21px}} Production income +| Requires 2 Lava provinces to unlock
Requires Mineral Extractor +| 250 {{icon|production|21px}} 100 {{icon|gold|21px}} +| Build 2 {{icon|quarry|21px}} Quarries +| General +|- id="Obsidian Weaponsmith" +| [[File:Building obsidian weaponsmith.png|48px]] || Obsidian Weaponsmith || {{icon|draft|24px}} +| +20 {{icon|draft|21px}} Draft income +| Requires 3 Lava provinces to unlock
Requires Basalt Excavation +| 450 {{icon|production|21px}} 170 {{icon|gold|21px}} +| Build 3 {{icon|quarry|21px}} Quarries +| General +|- id="Volcanologists' Guild" +| [[File:Building volcanologists_guild.png|48px]] || Volcanologists' Guild || +| Per annexed province with Lava