hoi4-agent-tools 4.8.0 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/hoi4_agent_tools/core/index.js +28 -0
  3. package/dist/hoi4_agent_tools/decision/service.js +39 -2
  4. package/dist/hoi4_agent_tools/event/queries.js +25 -2
  5. package/dist/hoi4_agent_tools/event/service.js +66 -11
  6. package/dist/hoi4_agent_tools/impact/service.js +15 -0
  7. package/dist/hoi4_agent_tools/map/appearance-validation.js +14 -2
  8. package/dist/hoi4_agent_tools/map/geography/resolve.js +3 -2
  9. package/dist/hoi4_agent_tools/map/tool-operations.js +41 -0
  10. package/dist/hoi4_agent_tools/map/world-edge.js +117 -15
  11. package/dist/hoi4_agent_tools/map/world.js +158 -34
  12. package/dist/hoi4_agent_tools/mcp/server/argument-errors.js +57 -9
  13. package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +1 -1
  14. package/dist/hoi4_agent_tools/mcp/server/request-lifecycle.js +1 -1
  15. package/dist/hoi4_agent_tools/mcp/tools/analysis.js +4 -2
  16. package/dist/hoi4_agent_tools/mcp/tools/event.js +13 -0
  17. package/dist/hoi4_agent_tools/mcp/tools/gui.js +1 -1
  18. package/dist/hoi4_agent_tools/mcp/tools/reference.js +25 -0
  19. package/dist/hoi4_agent_tools/reference/error-log.js +35 -1
  20. package/dist/hoi4_agent_tools/reference/operations.js +141 -14
  21. package/dist/hoi4_agent_tools/reference/script-validation.js +113 -2
  22. package/dist/hoi4_agent_tools/schemas/ideas.js +4 -4
  23. package/dist/hoi4_agent_tools/schemas/map.js +32 -4
  24. package/dist/hoi4_agent_tools/schemas/script-validation.js +8 -1
  25. package/dist/hoi4_agent_tools/schemas/system.js +157 -0
  26. package/dist/hoi4_agent_tools/system/inspect.js +55 -0
  27. package/dist/hoi4_agent_tools/version.js +1 -1
  28. package/docs/analysis.md +2 -2
  29. package/docs/events.md +1 -1
  30. package/docs/map.md +19 -8
  31. package/docs/tools.md +49 -43
  32. package/engine/README.md +9 -0
  33. package/engine/bin/darwin-arm64/hoi4-engine +0 -0
  34. package/engine/bin/linux-arm64/hoi4-engine +0 -0
  35. package/engine/bin/linux-x64/hoi4-engine +0 -0
  36. package/engine/bin/manifest.json +8 -8
  37. package/engine/bin/win32-x64/hoi4-engine.exe +0 -0
  38. package/npm-shrinkwrap.json +2 -2
  39. package/package.json +1 -1
  40. package/schemas/configuration.schema.json +1 -1
  41. package/schemas/continuous-focus-palette.schema.json +1 -1
  42. package/schemas/custom-weighted-pool.schema.json +1 -1
  43. package/schemas/decision-inspect-input.schema.json +1 -1
  44. package/schemas/error-log-input.schema.json +1 -1
  45. package/schemas/event-feature-manifest.schema.json +1 -1
  46. package/schemas/focus-plan.schema.json +1 -1
  47. package/schemas/focus-planning-sidecar.schema.json +1 -1
  48. package/schemas/geography-model.schema.json +1 -1
  49. package/schemas/gui-animation-source.schema.json +1 -1
  50. package/schemas/gui-helper.schema.json +1 -1
  51. package/schemas/gui-scenario.schema.json +1 -1
  52. package/schemas/helper-expansion-request.schema.json +1 -1
  53. package/schemas/helper-expansion-summary.schema.json +1 -1
  54. package/schemas/impact-inspect-input.schema.json +1 -1
  55. package/schemas/map-operation.schema.json +165 -101
  56. package/schemas/mechanic-test-input.schema.json +1 -1
  57. package/schemas/mod-index-input.schema.json +1 -1
  58. package/schemas/operation-result.schema.json +1 -1
  59. package/schemas/package-check-input.schema.json +1 -1
  60. package/schemas/package-manifest.schema.json +1 -1
  61. package/schemas/probability-analysis-result.schema.json +1 -1
  62. package/schemas/probability-compare-input.schema.json +1 -1
  63. package/schemas/probability-evaluate-input.schema.json +1 -1
  64. package/schemas/probability-inspect-input.schema.json +1 -1
  65. package/schemas/probability-render-input.schema.json +1 -1
  66. package/schemas/probability-scenario-set.schema.json +1 -1
  67. package/schemas/probability-sequence-input.schema.json +1 -1
  68. package/schemas/probability-simulate-input.schema.json +1 -1
  69. package/schemas/probability-sweep-input.schema.json +1 -1
  70. package/schemas/reference-context-input.schema.json +1 -1
  71. package/schemas/reference-read-input.schema.json +1 -1
  72. package/schemas/reference-search-input.schema.json +1 -1
  73. package/schemas/reference-sheets.schema.json +1 -1
  74. package/schemas/scenario-suite.schema.json +1 -1
  75. package/schemas/scenario-test-input.schema.json +1 -1
  76. package/schemas/script-validate-input.schema.json +1 -1
  77. package/schemas/shared-scenario.schema.json +1 -1
  78. package/schemas/source-lookup-input.schema.json +1 -1
  79. package/server.json +2 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.8.0/schemas/map-operation.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.9.0/schemas/map-operation.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "oneOf": [
5
5
  {
@@ -1002,34 +1002,34 @@
1002
1002
  "$ref": "#/$defs/__schema225"
1003
1003
  },
1004
1004
  "ambientFrame": {
1005
- "$ref": "#/$defs/__schema230"
1005
+ "$ref": "#/$defs/__schema235"
1006
1006
  },
1007
1007
  "look": {
1008
- "$ref": "#/$defs/__schema232"
1008
+ "$ref": "#/$defs/__schema237"
1009
1009
  },
1010
1010
  "colormap": {
1011
- "$ref": "#/$defs/__schema233"
1011
+ "$ref": "#/$defs/__schema238"
1012
1012
  },
1013
1013
  "partition": {
1014
- "$ref": "#/$defs/__schema236"
1014
+ "$ref": "#/$defs/__schema241"
1015
1015
  },
1016
1016
  "development": {
1017
- "$ref": "#/$defs/__schema237"
1017
+ "$ref": "#/$defs/__schema242"
1018
1018
  },
1019
1019
  "autoStraits": {
1020
- "$ref": "#/$defs/__schema239"
1020
+ "$ref": "#/$defs/__schema244"
1021
1021
  },
1022
1022
  "partitionTuning": {
1023
- "$ref": "#/$defs/__schema243"
1023
+ "$ref": "#/$defs/__schema248"
1024
1024
  },
1025
1025
  "borderQuality": {
1026
- "$ref": "#/$defs/__schema253"
1026
+ "$ref": "#/$defs/__schema258"
1027
1027
  },
1028
1028
  "borderTargets": {
1029
- "$ref": "#/$defs/__schema254"
1029
+ "$ref": "#/$defs/__schema259"
1030
1030
  },
1031
1031
  "replaceBaseGame": {
1032
- "$ref": "#/$defs/__schema255"
1032
+ "$ref": "#/$defs/__schema260"
1033
1033
  }
1034
1034
  },
1035
1035
  "required": [
@@ -1063,19 +1063,19 @@
1063
1063
  "maxItems": 1000,
1064
1064
  "type": "array",
1065
1065
  "items": {
1066
- "$ref": "#/$defs/__schema257"
1066
+ "$ref": "#/$defs/__schema262"
1067
1067
  }
1068
1068
  },
1069
1069
  "readOnlySources": {
1070
1070
  "default": "refuse",
1071
1071
  "description": "override copies game or dependency files that need the change into the mod.",
1072
- "$ref": "#/$defs/__schema262"
1072
+ "$ref": "#/$defs/__schema267"
1073
1073
  },
1074
1074
  "pathPrefixes": {
1075
1075
  "maxItems": 32,
1076
1076
  "type": "array",
1077
1077
  "items": {
1078
- "$ref": "#/$defs/__schema263"
1078
+ "$ref": "#/$defs/__schema268"
1079
1079
  }
1080
1080
  }
1081
1081
  },
@@ -1110,7 +1110,7 @@
1110
1110
  "maxItems": 3,
1111
1111
  "type": "array",
1112
1112
  "items": {
1113
- "$ref": "#/$defs/__schema264"
1113
+ "$ref": "#/$defs/__schema269"
1114
1114
  }
1115
1115
  },
1116
1116
  "stateIds": {
@@ -1131,13 +1131,13 @@
1131
1131
  "maxItems": 10000,
1132
1132
  "type": "array",
1133
1133
  "items": {
1134
- "$ref": "#/$defs/__schema265"
1134
+ "$ref": "#/$defs/__schema270"
1135
1135
  }
1136
1136
  },
1137
1137
  "mode": {
1138
1138
  "default": "missing",
1139
1139
  "description": "missing adds only absent positions; replace rewrites them for the selection.",
1140
- "$ref": "#/$defs/__schema266"
1140
+ "$ref": "#/$defs/__schema271"
1141
1141
  }
1142
1142
  },
1143
1143
  "required": [
@@ -1169,7 +1169,7 @@
1169
1169
  "mode": {
1170
1170
  "default": "connect",
1171
1171
  "description": "connect adds a supply node to each selected state without one and links unconnected nodes by railway; replace rebuilds the whole network.",
1172
- "$ref": "#/$defs/__schema267"
1172
+ "$ref": "#/$defs/__schema272"
1173
1173
  },
1174
1174
  "railwayLevel": {
1175
1175
  "default": 1,
@@ -1200,22 +1200,22 @@
1200
1200
  "$ref": "#/$defs/__schema1"
1201
1201
  },
1202
1202
  "kind": {
1203
- "$ref": "#/$defs/__schema268"
1203
+ "$ref": "#/$defs/__schema273"
1204
1204
  },
1205
1205
  "entity": {
1206
- "$ref": "#/$defs/__schema269"
1206
+ "$ref": "#/$defs/__schema274"
1207
1207
  },
1208
1208
  "fromId": {
1209
- "$ref": "#/$defs/__schema270"
1209
+ "$ref": "#/$defs/__schema275"
1210
1210
  },
1211
1211
  "toId": {
1212
- "$ref": "#/$defs/__schema271"
1212
+ "$ref": "#/$defs/__schema276"
1213
1213
  },
1214
1214
  "collision": {
1215
- "$ref": "#/$defs/__schema272"
1215
+ "$ref": "#/$defs/__schema277"
1216
1216
  },
1217
1217
  "renameLocalisation": {
1218
- "$ref": "#/$defs/__schema273"
1218
+ "$ref": "#/$defs/__schema278"
1219
1219
  }
1220
1220
  },
1221
1221
  "required": [
@@ -1468,7 +1468,7 @@
1468
1468
  "minLength": 1
1469
1469
  },
1470
1470
  "occurrence": {
1471
- "$ref": "#/$defs/__schema274"
1471
+ "$ref": "#/$defs/__schema279"
1472
1472
  }
1473
1473
  },
1474
1474
  "required": [
@@ -1549,7 +1549,7 @@
1549
1549
  "minLength": 1
1550
1550
  },
1551
1551
  "occurrence": {
1552
- "$ref": "#/$defs/__schema274"
1552
+ "$ref": "#/$defs/__schema279"
1553
1553
  }
1554
1554
  },
1555
1555
  "required": [
@@ -1591,7 +1591,7 @@
1591
1591
  "maximum": 9007199254740991
1592
1592
  },
1593
1593
  "occurrence": {
1594
- "$ref": "#/$defs/__schema274"
1594
+ "$ref": "#/$defs/__schema279"
1595
1595
  }
1596
1596
  },
1597
1597
  "required": [
@@ -1672,7 +1672,7 @@
1672
1672
  "maximum": 9007199254740991
1673
1673
  },
1674
1674
  "occurrence": {
1675
- "$ref": "#/$defs/__schema274"
1675
+ "$ref": "#/$defs/__schema279"
1676
1676
  }
1677
1677
  },
1678
1678
  "required": [
@@ -1714,7 +1714,7 @@
1714
1714
  "type": "string"
1715
1715
  },
1716
1716
  "occurrence": {
1717
- "$ref": "#/$defs/__schema274"
1717
+ "$ref": "#/$defs/__schema279"
1718
1718
  }
1719
1719
  },
1720
1720
  "required": [
@@ -1787,7 +1787,7 @@
1787
1787
  "type": "string"
1788
1788
  },
1789
1789
  "occurrence": {
1790
- "$ref": "#/$defs/__schema274"
1790
+ "$ref": "#/$defs/__schema279"
1791
1791
  }
1792
1792
  },
1793
1793
  "required": [
@@ -5414,7 +5414,7 @@
5414
5414
  "type": "object",
5415
5415
  "properties": {
5416
5416
  "mode": {
5417
- "description": "sea-band (default when edge is given) clears land from the east and west edges and the poles to open sea; rim ends land at the seam in an impassable snow range with impassable adjacencies across the seam; none keeps the picture and warns about land cut by the wrapping seam.",
5417
+ "description": "sea-band (default when edge is given) clears land from the east and west edges and the poles to open sea; rim ends land at the seam in an impassable snow range with impassable adjacencies across the seam, but sea at the seam stays sailable; wall fills rimPx at the east and west edges with land over the full height, in impassable states, so nothing crosses the seam by land or sea; none keeps the picture and warns about land cut by the wrapping seam.",
5418
5418
  "$ref": "#/$defs/__schema226"
5419
5419
  },
5420
5420
  "bandPx": {
@@ -5422,12 +5422,16 @@
5422
5422
  "$ref": "#/$defs/__schema227"
5423
5423
  },
5424
5424
  "polarPx": {
5425
- "description": "North and south sea band in pixels; default 64, at most a quarter of the height.",
5425
+ "description": "North and south sea band in pixels; default 64, at most a quarter of the height. 0 lets land reach the top and bottom edges.",
5426
5426
  "$ref": "#/$defs/__schema228"
5427
5427
  },
5428
5428
  "rimPx": {
5429
- "description": "Rim range width in pixels for mode rim; default 160, at most a quarter of the width.",
5429
+ "description": "Rim range or wall width in pixels for mode rim or wall; default 160 for rim and 48 for wall, at most a quarter of the width. The inner edge of the wall is ragged between 60% and 100% of it.",
5430
5430
  "$ref": "#/$defs/__schema229"
5431
+ },
5432
+ "wallTerrain": {
5433
+ "description": "Mode wall only: the look of the wall. auto (default) takes, for each row, the terrain of the nearest land the wall meets on that side, or snow toward the poles and mountain elsewhere where it meets only water, smoothed along the edge. A list of {y0, y1, kind} segments (rows counted from the top, inclusive) sets it by rows; uncovered rows fall back to auto.",
5434
+ "$ref": "#/$defs/__schema230"
5431
5435
  }
5432
5436
  },
5433
5437
  "additionalProperties": false
@@ -5437,6 +5441,7 @@
5437
5441
  "enum": [
5438
5442
  "sea-band",
5439
5443
  "rim",
5444
+ "wall",
5440
5445
  "none"
5441
5446
  ]
5442
5447
  },
@@ -5456,13 +5461,72 @@
5456
5461
  "maximum": 2048
5457
5462
  },
5458
5463
  "__schema230": {
5459
- "description": "Write the base map's north and south frame borders and logo frame into ambient_object.txt, placed for the world size. Off by default.",
5460
- "$ref": "#/$defs/__schema231"
5464
+ "anyOf": [
5465
+ {
5466
+ "type": "string",
5467
+ "const": "auto"
5468
+ },
5469
+ {
5470
+ "minItems": 1,
5471
+ "maxItems": 256,
5472
+ "type": "array",
5473
+ "items": {
5474
+ "$ref": "#/$defs/__schema231"
5475
+ }
5476
+ }
5477
+ ]
5461
5478
  },
5462
5479
  "__schema231": {
5463
- "type": "boolean"
5480
+ "type": "object",
5481
+ "properties": {
5482
+ "y0": {
5483
+ "$ref": "#/$defs/__schema232"
5484
+ },
5485
+ "y1": {
5486
+ "$ref": "#/$defs/__schema233"
5487
+ },
5488
+ "kind": {
5489
+ "$ref": "#/$defs/__schema234"
5490
+ }
5491
+ },
5492
+ "required": [
5493
+ "y0",
5494
+ "y1",
5495
+ "kind"
5496
+ ],
5497
+ "additionalProperties": false
5464
5498
  },
5465
5499
  "__schema232": {
5500
+ "type": "integer",
5501
+ "minimum": 0,
5502
+ "maximum": 16384
5503
+ },
5504
+ "__schema233": {
5505
+ "type": "integer",
5506
+ "minimum": 0,
5507
+ "maximum": 16384
5508
+ },
5509
+ "__schema234": {
5510
+ "type": "string",
5511
+ "enum": [
5512
+ "snow",
5513
+ "mountain",
5514
+ "hills",
5515
+ "desert",
5516
+ "forest",
5517
+ "plains",
5518
+ "marsh",
5519
+ "jungle"
5520
+ ]
5521
+ },
5522
+ "__schema235": {
5523
+ "description": "Write the base map's north and south frame borders and logo frame into ambient_object.txt, placed for the world size. Off by default.",
5524
+ "$ref": "#/$defs/__schema236"
5525
+ },
5526
+ "__schema236": {
5527
+ "type": "boolean"
5528
+ },
5529
+ "__schema237": {
5466
5530
  "type": "string",
5467
5531
  "enum": [
5468
5532
  "vanilla-temperate",
@@ -5472,28 +5536,28 @@
5472
5536
  ],
5473
5537
  "description": "Colour palette set for the calibrated land colour map: the base game, a greener fertile palette, a drier arid palette, or custom with colormap.palette. Setting it selects the calibrated colour map."
5474
5538
  },
5475
- "__schema233": {
5539
+ "__schema238": {
5476
5540
  "type": "object",
5477
5541
  "properties": {
5478
5542
  "profile": {
5479
5543
  "description": "calibrated writes a dark, varied colour map calibrated to the base game; legacy keeps the original flat tints. Defaults to calibrated when look is set, otherwise legacy.",
5480
- "$ref": "#/$defs/__schema234"
5544
+ "$ref": "#/$defs/__schema239"
5481
5545
  },
5482
5546
  "palette": {
5483
5547
  "description": "Class colours for look custom: the intended colour map value of each class.",
5484
- "$ref": "#/$defs/__schema235"
5548
+ "$ref": "#/$defs/__schema240"
5485
5549
  }
5486
5550
  },
5487
5551
  "additionalProperties": false
5488
5552
  },
5489
- "__schema234": {
5553
+ "__schema239": {
5490
5554
  "type": "string",
5491
5555
  "enum": [
5492
5556
  "calibrated",
5493
5557
  "legacy"
5494
5558
  ]
5495
5559
  },
5496
- "__schema235": {
5560
+ "__schema240": {
5497
5561
  "type": "object",
5498
5562
  "properties": {
5499
5563
  "plains": {
@@ -5535,7 +5599,7 @@
5535
5599
  },
5536
5600
  "additionalProperties": false
5537
5601
  },
5538
- "__schema236": {
5602
+ "__schema241": {
5539
5603
  "type": "string",
5540
5604
  "enum": [
5541
5605
  "legacy",
@@ -5543,114 +5607,114 @@
5543
5607
  ],
5544
5608
  "description": "legacy (default) keeps the warped Voronoi provinces and breadth-first clusters, so a seed gives the same world as before; feature-aware cuts provinces along rivers, ridges, steep slopes and shores, sizes them by terrain, fertility and coast, and clusters states and regions along natural lines. A world given a geography defaults to feature-aware."
5545
5609
  },
5546
- "__schema237": {
5610
+ "__schema242": {
5547
5611
  "type": "object",
5548
5612
  "properties": {
5549
5613
  "model": {
5550
5614
  "description": "geography (default for a geography world) plans ports, population, state categories, infrastructure, factories, resources, victory points, names and railway costs from the model: fertility, rivers, the coast, passes, ranges and sites. legacy keeps the random economy.",
5551
- "$ref": "#/$defs/__schema238"
5615
+ "$ref": "#/$defs/__schema243"
5552
5616
  }
5553
5617
  },
5554
5618
  "additionalProperties": false
5555
5619
  },
5556
- "__schema238": {
5620
+ "__schema243": {
5557
5621
  "type": "string",
5558
5622
  "enum": [
5559
5623
  "geography",
5560
5624
  "legacy"
5561
5625
  ]
5562
5626
  },
5563
- "__schema239": {
5627
+ "__schema244": {
5564
5628
  "anyOf": [
5565
5629
  {
5566
- "$ref": "#/$defs/__schema240"
5630
+ "$ref": "#/$defs/__schema245"
5567
5631
  },
5568
5632
  {
5569
- "$ref": "#/$defs/__schema241"
5633
+ "$ref": "#/$defs/__schema246"
5570
5634
  }
5571
5635
  ],
5572
5636
  "description": "Also write a sea crossing for every channel narrower than maxGapPx that one sea province fills between two landmasses and that the model does not declare as a strait. Needs a geography."
5573
5637
  },
5574
- "__schema240": {
5638
+ "__schema245": {
5575
5639
  "type": "boolean"
5576
5640
  },
5577
- "__schema241": {
5641
+ "__schema246": {
5578
5642
  "type": "object",
5579
5643
  "properties": {
5580
5644
  "maxGapPx": {
5581
5645
  "description": "Widest channel written as a crossing, in pixels; default 24 (about 170 km).",
5582
- "$ref": "#/$defs/__schema242"
5646
+ "$ref": "#/$defs/__schema247"
5583
5647
  }
5584
5648
  },
5585
5649
  "additionalProperties": false
5586
5650
  },
5587
- "__schema242": {
5651
+ "__schema247": {
5588
5652
  "type": "integer",
5589
5653
  "minimum": 4,
5590
5654
  "maximum": 96
5591
5655
  },
5592
- "__schema243": {
5656
+ "__schema248": {
5593
5657
  "description": "Size bands and strengths of the feature-aware partition; refused with partition legacy.",
5594
- "$ref": "#/$defs/__schema244"
5658
+ "$ref": "#/$defs/__schema249"
5595
5659
  },
5596
- "__schema244": {
5660
+ "__schema249": {
5597
5661
  "type": "object",
5598
5662
  "properties": {
5599
5663
  "landArea": {
5600
5664
  "description": "Typical land province area in pixels by ground. Defaults follow landProvincePixels (0.35, 1, 2.2 and 3.4 times, scaled so the mean stays landProvincePixels). fertile must not exceed hills, nor hills mountain.",
5601
- "$ref": "#/$defs/__schema245"
5665
+ "$ref": "#/$defs/__schema250"
5602
5666
  },
5603
5667
  "seaArea": {
5604
5668
  "description": "Sea province area in pixels near a coast and on the open sea. Defaults follow seaProvincePixels (0.5 and 2.4 times, scaled so the mean stays seaProvincePixels).",
5605
- "$ref": "#/$defs/__schema247"
5669
+ "$ref": "#/$defs/__schema252"
5606
5670
  },
5607
5671
  "provincesPerState": {
5608
5672
  "description": "[smallest, largest] land provinces per state; the preferred size is the geometric mean.",
5609
- "$ref": "#/$defs/__schema248"
5673
+ "$ref": "#/$defs/__schema253"
5610
5674
  },
5611
5675
  "regionSize": {
5612
5676
  "description": "[smallest, largest] land provinces per strategic region.",
5613
- "$ref": "#/$defs/__schema249"
5677
+ "$ref": "#/$defs/__schema254"
5614
5678
  },
5615
5679
  "barrierStrength": {
5616
5680
  "description": "How strongly borders are pulled onto natural lines, 0 to 60; default 20.",
5617
- "$ref": "#/$defs/__schema250"
5681
+ "$ref": "#/$defs/__schema255"
5618
5682
  },
5619
5683
  "minProvincePixels": {
5620
5684
  "description": "No province is planned smaller than this; default 40. The engine floor is 8.",
5621
- "$ref": "#/$defs/__schema251"
5685
+ "$ref": "#/$defs/__schema256"
5622
5686
  },
5623
5687
  "narrowStraitPx": {
5624
5688
  "description": "A sea channel at most this wide gets two sea provinces across it; default 24.",
5625
- "$ref": "#/$defs/__schema252"
5689
+ "$ref": "#/$defs/__schema257"
5626
5690
  }
5627
5691
  },
5628
5692
  "additionalProperties": false
5629
5693
  },
5630
- "__schema245": {
5694
+ "__schema250": {
5631
5695
  "type": "object",
5632
5696
  "properties": {
5633
5697
  "fertile": {
5634
- "$ref": "#/$defs/__schema246"
5698
+ "$ref": "#/$defs/__schema251"
5635
5699
  },
5636
5700
  "hills": {
5637
- "$ref": "#/$defs/__schema246"
5701
+ "$ref": "#/$defs/__schema251"
5638
5702
  },
5639
5703
  "mountain": {
5640
- "$ref": "#/$defs/__schema246"
5704
+ "$ref": "#/$defs/__schema251"
5641
5705
  },
5642
5706
  "waste": {
5643
- "$ref": "#/$defs/__schema246"
5707
+ "$ref": "#/$defs/__schema251"
5644
5708
  }
5645
5709
  },
5646
5710
  "additionalProperties": false
5647
5711
  },
5648
- "__schema246": {
5712
+ "__schema251": {
5649
5713
  "type": "integer",
5650
5714
  "minimum": 20,
5651
5715
  "maximum": 50000
5652
5716
  },
5653
- "__schema247": {
5717
+ "__schema252": {
5654
5718
  "type": "object",
5655
5719
  "properties": {
5656
5720
  "coastal": {
@@ -5666,7 +5730,7 @@
5666
5730
  },
5667
5731
  "additionalProperties": false
5668
5732
  },
5669
- "__schema248": {
5733
+ "__schema253": {
5670
5734
  "type": "array",
5671
5735
  "prefixItems": [
5672
5736
  {
@@ -5684,7 +5748,7 @@
5684
5748
  "minItems": 2,
5685
5749
  "maxItems": 2
5686
5750
  },
5687
- "__schema249": {
5751
+ "__schema254": {
5688
5752
  "type": "array",
5689
5753
  "prefixItems": [
5690
5754
  {
@@ -5702,37 +5766,37 @@
5702
5766
  "minItems": 2,
5703
5767
  "maxItems": 2
5704
5768
  },
5705
- "__schema250": {
5769
+ "__schema255": {
5706
5770
  "type": "number",
5707
5771
  "minimum": 0,
5708
5772
  "maximum": 60
5709
5773
  },
5710
- "__schema251": {
5774
+ "__schema256": {
5711
5775
  "type": "integer",
5712
5776
  "minimum": 20,
5713
5777
  "maximum": 2000
5714
5778
  },
5715
- "__schema252": {
5779
+ "__schema257": {
5716
5780
  "type": "integer",
5717
5781
  "minimum": 4,
5718
5782
  "maximum": 64
5719
5783
  },
5720
- "__schema253": {
5784
+ "__schema258": {
5721
5785
  "description": "Measure how well the new world’s province, state, region and country borders follow rivers, slopes and shores. enforce blocks the write below the targets and needs the feature-aware partition; omitted measures nothing.",
5722
5786
  "$ref": "#/$defs/__schema27"
5723
5787
  },
5724
- "__schema254": {
5788
+ "__schema259": {
5725
5789
  "$ref": "#/$defs/__schema28"
5726
5790
  },
5727
- "__schema255": {
5791
+ "__schema260": {
5728
5792
  "default": true,
5729
5793
  "description": "Add replace_path for the base game states, countries, units, strategic regions, supply areas and bookmarks to descriptor.mod.",
5730
- "$ref": "#/$defs/__schema256"
5794
+ "$ref": "#/$defs/__schema261"
5731
5795
  },
5732
- "__schema256": {
5796
+ "__schema261": {
5733
5797
  "type": "boolean"
5734
5798
  },
5735
- "__schema257": {
5799
+ "__schema262": {
5736
5800
  "type": "object",
5737
5801
  "properties": {
5738
5802
  "from": {
@@ -5743,13 +5807,13 @@
5743
5807
  "to": {
5744
5808
  "anyOf": [
5745
5809
  {
5746
- "$ref": "#/$defs/__schema258"
5810
+ "$ref": "#/$defs/__schema263"
5747
5811
  },
5748
5812
  {
5749
- "$ref": "#/$defs/__schema259"
5813
+ "$ref": "#/$defs/__schema264"
5750
5814
  },
5751
5815
  {
5752
- "$ref": "#/$defs/__schema261"
5816
+ "$ref": "#/$defs/__schema266"
5753
5817
  }
5754
5818
  ],
5755
5819
  "description": "One ID replaces; several IDs copy the referencing assignment once per ID; null removes it."
@@ -5761,40 +5825,40 @@
5761
5825
  ],
5762
5826
  "additionalProperties": false
5763
5827
  },
5764
- "__schema258": {
5828
+ "__schema263": {
5765
5829
  "type": "integer",
5766
5830
  "minimum": 0,
5767
5831
  "maximum": 9007199254740991
5768
5832
  },
5769
- "__schema259": {
5833
+ "__schema264": {
5770
5834
  "minItems": 1,
5771
5835
  "maxItems": 16,
5772
5836
  "type": "array",
5773
5837
  "items": {
5774
- "$ref": "#/$defs/__schema260"
5838
+ "$ref": "#/$defs/__schema265"
5775
5839
  }
5776
5840
  },
5777
- "__schema260": {
5841
+ "__schema265": {
5778
5842
  "type": "integer",
5779
5843
  "minimum": 0,
5780
5844
  "maximum": 9007199254740991
5781
5845
  },
5782
- "__schema261": {
5846
+ "__schema266": {
5783
5847
  "type": "null"
5784
5848
  },
5785
- "__schema262": {
5849
+ "__schema267": {
5786
5850
  "type": "string",
5787
5851
  "enum": [
5788
5852
  "refuse",
5789
5853
  "override"
5790
5854
  ]
5791
5855
  },
5792
- "__schema263": {
5856
+ "__schema268": {
5793
5857
  "type": "string",
5794
5858
  "minLength": 1,
5795
5859
  "maxLength": 256
5796
5860
  },
5797
- "__schema264": {
5861
+ "__schema269": {
5798
5862
  "type": "string",
5799
5863
  "enum": [
5800
5864
  "buildings",
@@ -5802,30 +5866,30 @@
5802
5866
  "weather"
5803
5867
  ]
5804
5868
  },
5805
- "__schema265": {
5869
+ "__schema270": {
5806
5870
  "type": "integer",
5807
5871
  "exclusiveMinimum": 0,
5808
5872
  "maximum": 9007199254740991
5809
5873
  },
5810
- "__schema266": {
5874
+ "__schema271": {
5811
5875
  "type": "string",
5812
5876
  "enum": [
5813
5877
  "missing",
5814
5878
  "replace"
5815
5879
  ]
5816
5880
  },
5817
- "__schema267": {
5881
+ "__schema272": {
5818
5882
  "type": "string",
5819
5883
  "enum": [
5820
5884
  "connect",
5821
5885
  "replace"
5822
5886
  ]
5823
5887
  },
5824
- "__schema268": {
5888
+ "__schema273": {
5825
5889
  "type": "string",
5826
5890
  "const": "renumber_map_entity"
5827
5891
  },
5828
- "__schema269": {
5892
+ "__schema274": {
5829
5893
  "type": "string",
5830
5894
  "enum": [
5831
5895
  "province",
@@ -5833,17 +5897,17 @@
5833
5897
  "strategic-region"
5834
5898
  ]
5835
5899
  },
5836
- "__schema270": {
5900
+ "__schema275": {
5837
5901
  "type": "integer",
5838
5902
  "minimum": 0,
5839
5903
  "maximum": 9007199254740991
5840
5904
  },
5841
- "__schema271": {
5905
+ "__schema276": {
5842
5906
  "type": "integer",
5843
5907
  "minimum": 0,
5844
5908
  "maximum": 9007199254740991
5845
5909
  },
5846
- "__schema272": {
5910
+ "__schema277": {
5847
5911
  "default": "swap",
5848
5912
  "type": "string",
5849
5913
  "enum": [
@@ -5851,11 +5915,11 @@
5851
5915
  "reject"
5852
5916
  ]
5853
5917
  },
5854
- "__schema273": {
5918
+ "__schema278": {
5855
5919
  "default": true,
5856
5920
  "type": "boolean"
5857
5921
  },
5858
- "__schema274": {
5922
+ "__schema279": {
5859
5923
  "type": "integer",
5860
5924
  "minimum": 0,
5861
5925
  "maximum": 9007199254740991