mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
- Fixed core issue where cells.pop and burg.population were both being counted - Changed aggregation logic across all modules to use either burg OR cell population, never both - If cell has burg: count only burg population (represents all people in that area) - If cell has no burg: count only cells.pop (represents scattered population) Files modified: - modules/burgs-and-states.js: Fixed state population aggregation - modules/ui/provinces-editor.js: Fixed province population aggregation - modules/dynamic/editors/cultures-editor.js: Fixed culture population aggregation - modules/dynamic/editors/religions-editor.js: Fixed religion population aggregation - modules/ui/biomes-editor.js: Fixed biome population aggregation - modules/ui/zones-editor.js: Fixed zone population calculations (2 locations) - modules/military-generator.js: Redesigned military generation to use only burg populations Military system changes: - Removed rural military generation (all forces now come from settlements) - Only burgs with 500+ people can maintain military forces - Military strength based on actual burg population (2.5% mobilization rate) Result: Population totals now consistent across all CSV exports (~2M total vs previous 40x discrepancy) |
||
|---|---|---|
| .. | ||
| 3d.js | ||
| ai-generator.js | ||
| battle-screen.js | ||
| biomes-editor.js | ||
| burg-editor.js | ||
| burgs-overview.js | ||
| coastline-editor.js | ||
| diplomacy-editor.js | ||
| editors.js | ||
| elevation-profile.js | ||
| emblems-editor.js | ||
| general.js | ||
| heightmap-editor.js | ||
| hotkeys.js | ||
| ice-editor.js | ||
| labels-editor.js | ||
| lakes-editor.js | ||
| layers.js | ||
| markers-editor.js | ||
| markers-overview.js | ||
| measurers.js | ||
| military-overview.js | ||
| namesbase-editor.js | ||
| notes-editor.js | ||
| options.js | ||
| provinces-editor.js | ||
| regiment-editor.js | ||
| regiments-overview.js | ||
| relief-editor.js | ||
| rivers-creator.js | ||
| rivers-editor.js | ||
| rivers-overview.js | ||
| route-group-editor.js | ||
| routes-creator.js | ||
| routes-editor.js | ||
| routes-overview.js | ||
| style-presets.js | ||
| style.js | ||
| submap-tool.js | ||
| temperature-graph.js | ||
| tools.js | ||
| transform-tool.js | ||
| units-editor.js | ||
| world-configurator.js | ||
| zones-editor.js | ||