warfactoryracine/gameData/Regions/spatial_distribution_patterns.json
StillHammer fd1ec4f503 Implement complete world generation system with geological simulation and resource distribution
## World Generation Pipeline
- Add comprehensive 7-phase geological simulation (4.6 billion years)
- Implement WindRegions-based climate system with ITCZ zones
- Create 18 biome types with scientific classification parameters
- Establish Phase 7 budget assignment and natural feature placement

## Resource System Architecture
- Add 70+ natural features across 8 categories (geological, water, forest, volcanic, etc.)
- Implement complete resource-to-feature mapping for all game materials
- Create individual resource files for metals (iron, copper, gold, uranium, etc.)
- Add comprehensive cross-referencing between features and game resources

## Biome Integration System
- Design scalable blacklist + frequent biomes compatibility system
- Implement mass-based feature selection with geological strength requirements
- Add 5 spatial distribution patterns (concentrated, uniform, ring, clustered, gradient)
- Create region-based feature placement with biome-aware filtering

## Documentation and Architecture
- Add detailed geological and climate simulation system documentation
- Update project overview with world generation achievements
- Establish JSON-driven configuration system for all generation parameters
- Create comprehensive system for Phase 8 integration readiness

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 17:19:01 +08:00

73 lines
2.3 KiB
JSON

{
"region_density_patterns": {
"version": "2.0",
"description": "Density distribution patterns within resource regions - randomly assigned per region",
"available_patterns": [
"concentrated",
"uniform",
"ring",
"clustered",
"gradient"
],
"pattern_definitions": {
"concentrated": {
"description": "High feature density near region center, low at edges",
"density_center": 1.0,
"density_edge": 0.2,
"effective_radius_percent": 50,
"use_cases": "Rich ore bodies, primary deposits"
},
"uniform": {
"description": "Equal feature density throughout entire region",
"density_center": 1.0,
"density_edge": 1.0,
"effective_radius_percent": 100,
"use_cases": "Sedimentary layers, widespread deposits"
},
"ring": {
"description": "Feature density concentrated in annular zone",
"density_center": 0.1,
"density_ring_start": 0.6,
"density_ring_peak": 1.0,
"density_edge": 0.3,
"use_cases": "Contact metamorphism, intrusion margins"
},
"clustered": {
"description": "Multiple high-density sub-zones within region",
"cluster_count": {"min": 2, "max": 4},
"density_in_cluster": 1.0,
"density_between_clusters": 0.2,
"use_cases": "Pod formations, scattered deposits"
},
"gradient": {
"description": "Smooth density decrease from center to edge",
"density_center": 1.0,
"density_edge": 0.4,
"gradient_function": "logarithmic",
"use_cases": "Diffusion halos, weathering profiles"
}
},
"pattern_assignment": {
"method": "random_selection",
"equal_probability": true,
"description": "Each region gets a random pattern from available_patterns"
},
"feature_placement_workflow": {
"1": "Region created with random pattern",
"2": "Pattern determines density distribution within region",
"3": "For each tile needing feature placement:",
"4": " - Check region mass (strength)",
"5": " - Check local biome",
"6": " - Select compatible feature based on mass + biome",
"7": " - Place feature if density allows"
}
}
}