hoi4-agent-tools 4.8.0 → 4.10.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.
- package/CHANGELOG.md +21 -0
- package/dist/hoi4_agent_tools/core/index.js +28 -0
- package/dist/hoi4_agent_tools/decision/service.js +39 -2
- package/dist/hoi4_agent_tools/event/graph.js +16 -2
- package/dist/hoi4_agent_tools/event/queries.js +25 -2
- package/dist/hoi4_agent_tools/event/service.js +66 -11
- package/dist/hoi4_agent_tools/event/source-analysis.js +35 -16
- package/dist/hoi4_agent_tools/impact/service.js +15 -0
- package/dist/hoi4_agent_tools/map/appearance-validation.js +14 -2
- package/dist/hoi4_agent_tools/map/gameplay/reachability.js +81 -0
- package/dist/hoi4_agent_tools/map/geography/resolve.js +6 -2
- package/dist/hoi4_agent_tools/map/operations.js +8 -0
- package/dist/hoi4_agent_tools/map/partition-tuning.js +2 -1
- package/dist/hoi4_agent_tools/map/reference-world.js +17 -3
- package/dist/hoi4_agent_tools/map/relief/painted-relief.js +143 -0
- package/dist/hoi4_agent_tools/map/relief/terrain-synthesis.js +13 -0
- package/dist/hoi4_agent_tools/map/tool-operations.js +41 -0
- package/dist/hoi4_agent_tools/map/world-edge.js +117 -15
- package/dist/hoi4_agent_tools/map/world.js +243 -34
- package/dist/hoi4_agent_tools/mcp/server/argument-errors.js +57 -9
- package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +1 -1
- package/dist/hoi4_agent_tools/mcp/server/request-lifecycle.js +1 -1
- package/dist/hoi4_agent_tools/mcp/tools/analysis.js +4 -2
- package/dist/hoi4_agent_tools/mcp/tools/event.js +13 -0
- package/dist/hoi4_agent_tools/mcp/tools/gui.js +1 -1
- package/dist/hoi4_agent_tools/mcp/tools/reference.js +25 -0
- package/dist/hoi4_agent_tools/probability/model.js +4 -4
- package/dist/hoi4_agent_tools/probability/operations.js +6 -0
- package/dist/hoi4_agent_tools/probability/service.js +23 -0
- package/dist/hoi4_agent_tools/reference/error-log.js +35 -1
- package/dist/hoi4_agent_tools/reference/operations.js +141 -14
- package/dist/hoi4_agent_tools/reference/script-validation.js +113 -2
- package/dist/hoi4_agent_tools/schemas/geography.js +5 -0
- package/dist/hoi4_agent_tools/schemas/ideas.js +4 -4
- package/dist/hoi4_agent_tools/schemas/map.js +61 -4
- package/dist/hoi4_agent_tools/schemas/script-validation.js +8 -1
- package/dist/hoi4_agent_tools/schemas/system.js +157 -0
- package/dist/hoi4_agent_tools/system/inspect.js +55 -0
- package/dist/hoi4_agent_tools/version.js +1 -1
- package/docs/analysis.md +2 -2
- package/docs/events.md +1 -1
- package/docs/map.md +31 -17
- package/docs/probability.md +1 -1
- package/docs/research/probability-adapter-evidence.md +15 -2
- package/docs/tools.md +49 -43
- package/engine/README.md +9 -0
- package/engine/bin/darwin-arm64/hoi4-engine +0 -0
- package/engine/bin/linux-arm64/hoi4-engine +0 -0
- package/engine/bin/linux-x64/hoi4-engine +0 -0
- package/engine/bin/manifest.json +8 -8
- package/engine/bin/win32-x64/hoi4-engine.exe +0 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/schemas/configuration.schema.json +1 -1
- package/schemas/continuous-focus-palette.schema.json +1 -1
- package/schemas/custom-weighted-pool.schema.json +1 -1
- package/schemas/decision-inspect-input.schema.json +1 -1
- package/schemas/error-log-input.schema.json +1 -1
- package/schemas/event-feature-manifest.schema.json +1 -1
- package/schemas/focus-plan.schema.json +1 -1
- package/schemas/focus-planning-sidecar.schema.json +1 -1
- package/schemas/geography-model.schema.json +4 -1
- package/schemas/gui-animation-source.schema.json +1 -1
- package/schemas/gui-helper.schema.json +1 -1
- package/schemas/gui-scenario.schema.json +1 -1
- package/schemas/helper-expansion-request.schema.json +1 -1
- package/schemas/helper-expansion-summary.schema.json +1 -1
- package/schemas/impact-inspect-input.schema.json +1 -1
- package/schemas/map-operation.schema.json +234 -111
- package/schemas/mechanic-test-input.schema.json +1 -1
- package/schemas/mod-index-input.schema.json +1 -1
- package/schemas/operation-result.schema.json +1 -1
- package/schemas/package-check-input.schema.json +1 -1
- package/schemas/package-manifest.schema.json +1 -1
- package/schemas/probability-analysis-result.schema.json +1 -1
- package/schemas/probability-compare-input.schema.json +1 -1
- package/schemas/probability-evaluate-input.schema.json +1 -1
- package/schemas/probability-inspect-input.schema.json +1 -1
- package/schemas/probability-render-input.schema.json +1 -1
- package/schemas/probability-scenario-set.schema.json +1 -1
- package/schemas/probability-sequence-input.schema.json +1 -1
- package/schemas/probability-simulate-input.schema.json +1 -1
- package/schemas/probability-sweep-input.schema.json +1 -1
- package/schemas/reference-context-input.schema.json +1 -1
- package/schemas/reference-read-input.schema.json +1 -1
- package/schemas/reference-search-input.schema.json +1 -1
- package/schemas/reference-sheets.schema.json +1 -1
- package/schemas/scenario-suite.schema.json +1 -1
- package/schemas/scenario-test-input.schema.json +1 -1
- package/schemas/script-validate-input.schema.json +1 -1
- package/schemas/shared-scenario.schema.json +1 -1
- package/schemas/source-lookup-input.schema.json +1 -1
- package/server.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.0/schemas/map-operation.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
@@ -999,37 +999,37 @@
|
|
|
999
999
|
"$ref": "#/$defs/__schema221"
|
|
1000
1000
|
},
|
|
1001
1001
|
"edge": {
|
|
1002
|
-
"$ref": "#/$defs/
|
|
1002
|
+
"$ref": "#/$defs/__schema227"
|
|
1003
1003
|
},
|
|
1004
1004
|
"ambientFrame": {
|
|
1005
|
-
"$ref": "#/$defs/
|
|
1005
|
+
"$ref": "#/$defs/__schema237"
|
|
1006
1006
|
},
|
|
1007
1007
|
"look": {
|
|
1008
|
-
"$ref": "#/$defs/
|
|
1008
|
+
"$ref": "#/$defs/__schema239"
|
|
1009
1009
|
},
|
|
1010
1010
|
"colormap": {
|
|
1011
|
-
"$ref": "#/$defs/
|
|
1011
|
+
"$ref": "#/$defs/__schema240"
|
|
1012
1012
|
},
|
|
1013
1013
|
"partition": {
|
|
1014
|
-
"$ref": "#/$defs/
|
|
1014
|
+
"$ref": "#/$defs/__schema243"
|
|
1015
1015
|
},
|
|
1016
1016
|
"development": {
|
|
1017
|
-
"$ref": "#/$defs/
|
|
1017
|
+
"$ref": "#/$defs/__schema244"
|
|
1018
1018
|
},
|
|
1019
1019
|
"autoStraits": {
|
|
1020
|
-
"$ref": "#/$defs/
|
|
1020
|
+
"$ref": "#/$defs/__schema246"
|
|
1021
1021
|
},
|
|
1022
1022
|
"partitionTuning": {
|
|
1023
|
-
"$ref": "#/$defs/
|
|
1023
|
+
"$ref": "#/$defs/__schema250"
|
|
1024
1024
|
},
|
|
1025
1025
|
"borderQuality": {
|
|
1026
|
-
"$ref": "#/$defs/
|
|
1026
|
+
"$ref": "#/$defs/__schema261"
|
|
1027
1027
|
},
|
|
1028
1028
|
"borderTargets": {
|
|
1029
|
-
"$ref": "#/$defs/
|
|
1029
|
+
"$ref": "#/$defs/__schema262"
|
|
1030
1030
|
},
|
|
1031
1031
|
"replaceBaseGame": {
|
|
1032
|
-
"$ref": "#/$defs/
|
|
1032
|
+
"$ref": "#/$defs/__schema263"
|
|
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/
|
|
1066
|
+
"$ref": "#/$defs/__schema265"
|
|
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/
|
|
1072
|
+
"$ref": "#/$defs/__schema270"
|
|
1073
1073
|
},
|
|
1074
1074
|
"pathPrefixes": {
|
|
1075
1075
|
"maxItems": 32,
|
|
1076
1076
|
"type": "array",
|
|
1077
1077
|
"items": {
|
|
1078
|
-
"$ref": "#/$defs/
|
|
1078
|
+
"$ref": "#/$defs/__schema271"
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
},
|
|
@@ -1110,7 +1110,7 @@
|
|
|
1110
1110
|
"maxItems": 3,
|
|
1111
1111
|
"type": "array",
|
|
1112
1112
|
"items": {
|
|
1113
|
-
"$ref": "#/$defs/
|
|
1113
|
+
"$ref": "#/$defs/__schema272"
|
|
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/
|
|
1134
|
+
"$ref": "#/$defs/__schema273"
|
|
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/
|
|
1140
|
+
"$ref": "#/$defs/__schema274"
|
|
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/
|
|
1172
|
+
"$ref": "#/$defs/__schema275"
|
|
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/
|
|
1203
|
+
"$ref": "#/$defs/__schema276"
|
|
1204
1204
|
},
|
|
1205
1205
|
"entity": {
|
|
1206
|
-
"$ref": "#/$defs/
|
|
1206
|
+
"$ref": "#/$defs/__schema277"
|
|
1207
1207
|
},
|
|
1208
1208
|
"fromId": {
|
|
1209
|
-
"$ref": "#/$defs/
|
|
1209
|
+
"$ref": "#/$defs/__schema278"
|
|
1210
1210
|
},
|
|
1211
1211
|
"toId": {
|
|
1212
|
-
"$ref": "#/$defs/
|
|
1212
|
+
"$ref": "#/$defs/__schema279"
|
|
1213
1213
|
},
|
|
1214
1214
|
"collision": {
|
|
1215
|
-
"$ref": "#/$defs/
|
|
1215
|
+
"$ref": "#/$defs/__schema280"
|
|
1216
1216
|
},
|
|
1217
1217
|
"renameLocalisation": {
|
|
1218
|
-
"$ref": "#/$defs/
|
|
1218
|
+
"$ref": "#/$defs/__schema281"
|
|
1219
1219
|
}
|
|
1220
1220
|
},
|
|
1221
1221
|
"required": [
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
"minLength": 1
|
|
1469
1469
|
},
|
|
1470
1470
|
"occurrence": {
|
|
1471
|
-
"$ref": "#/$defs/
|
|
1471
|
+
"$ref": "#/$defs/__schema282"
|
|
1472
1472
|
}
|
|
1473
1473
|
},
|
|
1474
1474
|
"required": [
|
|
@@ -1549,7 +1549,7 @@
|
|
|
1549
1549
|
"minLength": 1
|
|
1550
1550
|
},
|
|
1551
1551
|
"occurrence": {
|
|
1552
|
-
"$ref": "#/$defs/
|
|
1552
|
+
"$ref": "#/$defs/__schema282"
|
|
1553
1553
|
}
|
|
1554
1554
|
},
|
|
1555
1555
|
"required": [
|
|
@@ -1591,7 +1591,7 @@
|
|
|
1591
1591
|
"maximum": 9007199254740991
|
|
1592
1592
|
},
|
|
1593
1593
|
"occurrence": {
|
|
1594
|
-
"$ref": "#/$defs/
|
|
1594
|
+
"$ref": "#/$defs/__schema282"
|
|
1595
1595
|
}
|
|
1596
1596
|
},
|
|
1597
1597
|
"required": [
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
"maximum": 9007199254740991
|
|
1673
1673
|
},
|
|
1674
1674
|
"occurrence": {
|
|
1675
|
-
"$ref": "#/$defs/
|
|
1675
|
+
"$ref": "#/$defs/__schema282"
|
|
1676
1676
|
}
|
|
1677
1677
|
},
|
|
1678
1678
|
"required": [
|
|
@@ -1714,7 +1714,7 @@
|
|
|
1714
1714
|
"type": "string"
|
|
1715
1715
|
},
|
|
1716
1716
|
"occurrence": {
|
|
1717
|
-
"$ref": "#/$defs/
|
|
1717
|
+
"$ref": "#/$defs/__schema282"
|
|
1718
1718
|
}
|
|
1719
1719
|
},
|
|
1720
1720
|
"required": [
|
|
@@ -1787,7 +1787,7 @@
|
|
|
1787
1787
|
"type": "string"
|
|
1788
1788
|
},
|
|
1789
1789
|
"occurrence": {
|
|
1790
|
-
"$ref": "#/$defs/
|
|
1790
|
+
"$ref": "#/$defs/__schema282"
|
|
1791
1791
|
}
|
|
1792
1792
|
},
|
|
1793
1793
|
"required": [
|
|
@@ -3464,6 +3464,7 @@
|
|
|
3464
3464
|
"enum": [
|
|
3465
3465
|
"sea",
|
|
3466
3466
|
"land",
|
|
3467
|
+
"impassable_mountain",
|
|
3467
3468
|
"plains",
|
|
3468
3469
|
"forest",
|
|
3469
3470
|
"desert",
|
|
@@ -4305,6 +4306,9 @@
|
|
|
4305
4306
|
}
|
|
4306
4307
|
},
|
|
4307
4308
|
"additionalProperties": false
|
|
4309
|
+
},
|
|
4310
|
+
"impassable": {
|
|
4311
|
+
"type": "boolean"
|
|
4308
4312
|
}
|
|
4309
4313
|
},
|
|
4310
4314
|
"required": [
|
|
@@ -5393,6 +5397,10 @@
|
|
|
5393
5397
|
"detail": {
|
|
5394
5398
|
"description": "Full-resolution roughness of the terrain, 0 to 1; default 0.5.",
|
|
5395
5399
|
"$ref": "#/$defs/__schema224"
|
|
5400
|
+
},
|
|
5401
|
+
"painted": {
|
|
5402
|
+
"description": "With a reference picture and a geography model: raise the relief toward the painted mountain, hills and volcano classes before the rivers are routed, blurred over falloffPx so slopes stay natural. Peaks are 0 to 1 on the range relief scale (defaults mountain 0.82, hills 0.27, volcano 0.9, near the base game; impassable land 0.95, which is raised even when this is off). Off by default.",
|
|
5403
|
+
"$ref": "#/$defs/__schema225"
|
|
5396
5404
|
}
|
|
5397
5405
|
},
|
|
5398
5406
|
"additionalProperties": false
|
|
@@ -5411,58 +5419,164 @@
|
|
|
5411
5419
|
"maximum": 1
|
|
5412
5420
|
},
|
|
5413
5421
|
"__schema225": {
|
|
5422
|
+
"anyOf": [
|
|
5423
|
+
{
|
|
5424
|
+
"type": "boolean"
|
|
5425
|
+
},
|
|
5426
|
+
{
|
|
5427
|
+
"type": "object",
|
|
5428
|
+
"properties": {
|
|
5429
|
+
"falloffPx": {
|
|
5430
|
+
"description": "Blur radius of class edges in pixels; default 24.",
|
|
5431
|
+
"$ref": "#/$defs/__schema226"
|
|
5432
|
+
},
|
|
5433
|
+
"mountainPeak": {
|
|
5434
|
+
"type": "number",
|
|
5435
|
+
"minimum": 0,
|
|
5436
|
+
"maximum": 1
|
|
5437
|
+
},
|
|
5438
|
+
"hillsPeak": {
|
|
5439
|
+
"type": "number",
|
|
5440
|
+
"minimum": 0,
|
|
5441
|
+
"maximum": 1
|
|
5442
|
+
},
|
|
5443
|
+
"volcanoPeak": {
|
|
5444
|
+
"type": "number",
|
|
5445
|
+
"minimum": 0,
|
|
5446
|
+
"maximum": 1
|
|
5447
|
+
},
|
|
5448
|
+
"impassablePeak": {
|
|
5449
|
+
"type": "number",
|
|
5450
|
+
"minimum": 0,
|
|
5451
|
+
"maximum": 1
|
|
5452
|
+
}
|
|
5453
|
+
},
|
|
5454
|
+
"additionalProperties": false
|
|
5455
|
+
}
|
|
5456
|
+
]
|
|
5457
|
+
},
|
|
5458
|
+
"__schema226": {
|
|
5459
|
+
"type": "integer",
|
|
5460
|
+
"minimum": 2,
|
|
5461
|
+
"maximum": 256
|
|
5462
|
+
},
|
|
5463
|
+
"__schema227": {
|
|
5414
5464
|
"type": "object",
|
|
5415
5465
|
"properties": {
|
|
5416
5466
|
"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.",
|
|
5418
|
-
"$ref": "#/$defs/
|
|
5467
|
+
"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.",
|
|
5468
|
+
"$ref": "#/$defs/__schema228"
|
|
5419
5469
|
},
|
|
5420
5470
|
"bandPx": {
|
|
5421
5471
|
"description": "East and west sea band in pixels; default max(192, 4% of the width), at most a quarter of the width.",
|
|
5422
|
-
"$ref": "#/$defs/
|
|
5472
|
+
"$ref": "#/$defs/__schema229"
|
|
5423
5473
|
},
|
|
5424
5474
|
"polarPx": {
|
|
5425
|
-
"description": "North and south sea band in pixels; default 64, at most a quarter of the height.",
|
|
5426
|
-
"$ref": "#/$defs/
|
|
5475
|
+
"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.",
|
|
5476
|
+
"$ref": "#/$defs/__schema230"
|
|
5427
5477
|
},
|
|
5428
5478
|
"rimPx": {
|
|
5429
|
-
"description": "Rim range width in pixels for mode rim; default 160, at most a quarter of the width.",
|
|
5430
|
-
"$ref": "#/$defs/
|
|
5479
|
+
"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.",
|
|
5480
|
+
"$ref": "#/$defs/__schema231"
|
|
5481
|
+
},
|
|
5482
|
+
"wallTerrain": {
|
|
5483
|
+
"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.",
|
|
5484
|
+
"$ref": "#/$defs/__schema232"
|
|
5431
5485
|
}
|
|
5432
5486
|
},
|
|
5433
5487
|
"additionalProperties": false
|
|
5434
5488
|
},
|
|
5435
|
-
"
|
|
5489
|
+
"__schema228": {
|
|
5436
5490
|
"type": "string",
|
|
5437
5491
|
"enum": [
|
|
5438
5492
|
"sea-band",
|
|
5439
5493
|
"rim",
|
|
5494
|
+
"wall",
|
|
5440
5495
|
"none"
|
|
5441
5496
|
]
|
|
5442
5497
|
},
|
|
5443
|
-
"
|
|
5498
|
+
"__schema229": {
|
|
5444
5499
|
"type": "integer",
|
|
5445
5500
|
"minimum": 8,
|
|
5446
5501
|
"maximum": 2048
|
|
5447
5502
|
},
|
|
5448
|
-
"
|
|
5503
|
+
"__schema230": {
|
|
5449
5504
|
"type": "integer",
|
|
5450
5505
|
"minimum": 0,
|
|
5451
5506
|
"maximum": 1024
|
|
5452
5507
|
},
|
|
5453
|
-
"
|
|
5508
|
+
"__schema231": {
|
|
5454
5509
|
"type": "integer",
|
|
5455
5510
|
"minimum": 16,
|
|
5456
5511
|
"maximum": 2048
|
|
5457
5512
|
},
|
|
5458
|
-
"
|
|
5513
|
+
"__schema232": {
|
|
5514
|
+
"anyOf": [
|
|
5515
|
+
{
|
|
5516
|
+
"type": "string",
|
|
5517
|
+
"const": "auto"
|
|
5518
|
+
},
|
|
5519
|
+
{
|
|
5520
|
+
"minItems": 1,
|
|
5521
|
+
"maxItems": 256,
|
|
5522
|
+
"type": "array",
|
|
5523
|
+
"items": {
|
|
5524
|
+
"$ref": "#/$defs/__schema233"
|
|
5525
|
+
}
|
|
5526
|
+
}
|
|
5527
|
+
]
|
|
5528
|
+
},
|
|
5529
|
+
"__schema233": {
|
|
5530
|
+
"type": "object",
|
|
5531
|
+
"properties": {
|
|
5532
|
+
"y0": {
|
|
5533
|
+
"$ref": "#/$defs/__schema234"
|
|
5534
|
+
},
|
|
5535
|
+
"y1": {
|
|
5536
|
+
"$ref": "#/$defs/__schema235"
|
|
5537
|
+
},
|
|
5538
|
+
"kind": {
|
|
5539
|
+
"$ref": "#/$defs/__schema236"
|
|
5540
|
+
}
|
|
5541
|
+
},
|
|
5542
|
+
"required": [
|
|
5543
|
+
"y0",
|
|
5544
|
+
"y1",
|
|
5545
|
+
"kind"
|
|
5546
|
+
],
|
|
5547
|
+
"additionalProperties": false
|
|
5548
|
+
},
|
|
5549
|
+
"__schema234": {
|
|
5550
|
+
"type": "integer",
|
|
5551
|
+
"minimum": 0,
|
|
5552
|
+
"maximum": 16384
|
|
5553
|
+
},
|
|
5554
|
+
"__schema235": {
|
|
5555
|
+
"type": "integer",
|
|
5556
|
+
"minimum": 0,
|
|
5557
|
+
"maximum": 16384
|
|
5558
|
+
},
|
|
5559
|
+
"__schema236": {
|
|
5560
|
+
"type": "string",
|
|
5561
|
+
"enum": [
|
|
5562
|
+
"snow",
|
|
5563
|
+
"mountain",
|
|
5564
|
+
"hills",
|
|
5565
|
+
"desert",
|
|
5566
|
+
"forest",
|
|
5567
|
+
"plains",
|
|
5568
|
+
"marsh",
|
|
5569
|
+
"jungle"
|
|
5570
|
+
]
|
|
5571
|
+
},
|
|
5572
|
+
"__schema237": {
|
|
5459
5573
|
"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/
|
|
5574
|
+
"$ref": "#/$defs/__schema238"
|
|
5461
5575
|
},
|
|
5462
|
-
"
|
|
5576
|
+
"__schema238": {
|
|
5463
5577
|
"type": "boolean"
|
|
5464
5578
|
},
|
|
5465
|
-
"
|
|
5579
|
+
"__schema239": {
|
|
5466
5580
|
"type": "string",
|
|
5467
5581
|
"enum": [
|
|
5468
5582
|
"vanilla-temperate",
|
|
@@ -5472,28 +5586,28 @@
|
|
|
5472
5586
|
],
|
|
5473
5587
|
"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
5588
|
},
|
|
5475
|
-
"
|
|
5589
|
+
"__schema240": {
|
|
5476
5590
|
"type": "object",
|
|
5477
5591
|
"properties": {
|
|
5478
5592
|
"profile": {
|
|
5479
5593
|
"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/
|
|
5594
|
+
"$ref": "#/$defs/__schema241"
|
|
5481
5595
|
},
|
|
5482
5596
|
"palette": {
|
|
5483
5597
|
"description": "Class colours for look custom: the intended colour map value of each class.",
|
|
5484
|
-
"$ref": "#/$defs/
|
|
5598
|
+
"$ref": "#/$defs/__schema242"
|
|
5485
5599
|
}
|
|
5486
5600
|
},
|
|
5487
5601
|
"additionalProperties": false
|
|
5488
5602
|
},
|
|
5489
|
-
"
|
|
5603
|
+
"__schema241": {
|
|
5490
5604
|
"type": "string",
|
|
5491
5605
|
"enum": [
|
|
5492
5606
|
"calibrated",
|
|
5493
5607
|
"legacy"
|
|
5494
5608
|
]
|
|
5495
5609
|
},
|
|
5496
|
-
"
|
|
5610
|
+
"__schema242": {
|
|
5497
5611
|
"type": "object",
|
|
5498
5612
|
"properties": {
|
|
5499
5613
|
"plains": {
|
|
@@ -5535,7 +5649,7 @@
|
|
|
5535
5649
|
},
|
|
5536
5650
|
"additionalProperties": false
|
|
5537
5651
|
},
|
|
5538
|
-
"
|
|
5652
|
+
"__schema243": {
|
|
5539
5653
|
"type": "string",
|
|
5540
5654
|
"enum": [
|
|
5541
5655
|
"legacy",
|
|
@@ -5543,114 +5657,118 @@
|
|
|
5543
5657
|
],
|
|
5544
5658
|
"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
5659
|
},
|
|
5546
|
-
"
|
|
5660
|
+
"__schema244": {
|
|
5547
5661
|
"type": "object",
|
|
5548
5662
|
"properties": {
|
|
5549
5663
|
"model": {
|
|
5550
5664
|
"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/
|
|
5665
|
+
"$ref": "#/$defs/__schema245"
|
|
5552
5666
|
}
|
|
5553
5667
|
},
|
|
5554
5668
|
"additionalProperties": false
|
|
5555
5669
|
},
|
|
5556
|
-
"
|
|
5670
|
+
"__schema245": {
|
|
5557
5671
|
"type": "string",
|
|
5558
5672
|
"enum": [
|
|
5559
5673
|
"geography",
|
|
5560
5674
|
"legacy"
|
|
5561
5675
|
]
|
|
5562
5676
|
},
|
|
5563
|
-
"
|
|
5677
|
+
"__schema246": {
|
|
5564
5678
|
"anyOf": [
|
|
5565
5679
|
{
|
|
5566
|
-
"$ref": "#/$defs/
|
|
5680
|
+
"$ref": "#/$defs/__schema247"
|
|
5567
5681
|
},
|
|
5568
5682
|
{
|
|
5569
|
-
"$ref": "#/$defs/
|
|
5683
|
+
"$ref": "#/$defs/__schema248"
|
|
5570
5684
|
}
|
|
5571
5685
|
],
|
|
5572
5686
|
"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
5687
|
},
|
|
5574
|
-
"
|
|
5688
|
+
"__schema247": {
|
|
5575
5689
|
"type": "boolean"
|
|
5576
5690
|
},
|
|
5577
|
-
"
|
|
5691
|
+
"__schema248": {
|
|
5578
5692
|
"type": "object",
|
|
5579
5693
|
"properties": {
|
|
5580
5694
|
"maxGapPx": {
|
|
5581
5695
|
"description": "Widest channel written as a crossing, in pixels; default 24 (about 170 km).",
|
|
5582
|
-
"$ref": "#/$defs/
|
|
5696
|
+
"$ref": "#/$defs/__schema249"
|
|
5583
5697
|
}
|
|
5584
5698
|
},
|
|
5585
5699
|
"additionalProperties": false
|
|
5586
5700
|
},
|
|
5587
|
-
"
|
|
5701
|
+
"__schema249": {
|
|
5588
5702
|
"type": "integer",
|
|
5589
5703
|
"minimum": 4,
|
|
5590
5704
|
"maximum": 96
|
|
5591
5705
|
},
|
|
5592
|
-
"
|
|
5706
|
+
"__schema250": {
|
|
5593
5707
|
"description": "Size bands and strengths of the feature-aware partition; refused with partition legacy.",
|
|
5594
|
-
"$ref": "#/$defs/
|
|
5708
|
+
"$ref": "#/$defs/__schema251"
|
|
5595
5709
|
},
|
|
5596
|
-
"
|
|
5710
|
+
"__schema251": {
|
|
5597
5711
|
"type": "object",
|
|
5598
5712
|
"properties": {
|
|
5599
5713
|
"landArea": {
|
|
5600
5714
|
"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/
|
|
5715
|
+
"$ref": "#/$defs/__schema252"
|
|
5602
5716
|
},
|
|
5603
5717
|
"seaArea": {
|
|
5604
5718
|
"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/
|
|
5719
|
+
"$ref": "#/$defs/__schema254"
|
|
5720
|
+
},
|
|
5721
|
+
"lakeArea": {
|
|
5722
|
+
"description": "Lake province area in pixels; default 6000. A lake no larger than this stays one province.",
|
|
5723
|
+
"$ref": "#/$defs/__schema255"
|
|
5606
5724
|
},
|
|
5607
5725
|
"provincesPerState": {
|
|
5608
5726
|
"description": "[smallest, largest] land provinces per state; the preferred size is the geometric mean.",
|
|
5609
|
-
"$ref": "#/$defs/
|
|
5727
|
+
"$ref": "#/$defs/__schema256"
|
|
5610
5728
|
},
|
|
5611
5729
|
"regionSize": {
|
|
5612
5730
|
"description": "[smallest, largest] land provinces per strategic region.",
|
|
5613
|
-
"$ref": "#/$defs/
|
|
5731
|
+
"$ref": "#/$defs/__schema257"
|
|
5614
5732
|
},
|
|
5615
5733
|
"barrierStrength": {
|
|
5616
5734
|
"description": "How strongly borders are pulled onto natural lines, 0 to 60; default 20.",
|
|
5617
|
-
"$ref": "#/$defs/
|
|
5735
|
+
"$ref": "#/$defs/__schema258"
|
|
5618
5736
|
},
|
|
5619
5737
|
"minProvincePixels": {
|
|
5620
5738
|
"description": "No province is planned smaller than this; default 40. The engine floor is 8.",
|
|
5621
|
-
"$ref": "#/$defs/
|
|
5739
|
+
"$ref": "#/$defs/__schema259"
|
|
5622
5740
|
},
|
|
5623
5741
|
"narrowStraitPx": {
|
|
5624
5742
|
"description": "A sea channel at most this wide gets two sea provinces across it; default 24.",
|
|
5625
|
-
"$ref": "#/$defs/
|
|
5743
|
+
"$ref": "#/$defs/__schema260"
|
|
5626
5744
|
}
|
|
5627
5745
|
},
|
|
5628
5746
|
"additionalProperties": false
|
|
5629
5747
|
},
|
|
5630
|
-
"
|
|
5748
|
+
"__schema252": {
|
|
5631
5749
|
"type": "object",
|
|
5632
5750
|
"properties": {
|
|
5633
5751
|
"fertile": {
|
|
5634
|
-
"$ref": "#/$defs/
|
|
5752
|
+
"$ref": "#/$defs/__schema253"
|
|
5635
5753
|
},
|
|
5636
5754
|
"hills": {
|
|
5637
|
-
"$ref": "#/$defs/
|
|
5755
|
+
"$ref": "#/$defs/__schema253"
|
|
5638
5756
|
},
|
|
5639
5757
|
"mountain": {
|
|
5640
|
-
"$ref": "#/$defs/
|
|
5758
|
+
"$ref": "#/$defs/__schema253"
|
|
5641
5759
|
},
|
|
5642
5760
|
"waste": {
|
|
5643
|
-
"$ref": "#/$defs/
|
|
5761
|
+
"$ref": "#/$defs/__schema253"
|
|
5644
5762
|
}
|
|
5645
5763
|
},
|
|
5646
5764
|
"additionalProperties": false
|
|
5647
5765
|
},
|
|
5648
|
-
"
|
|
5766
|
+
"__schema253": {
|
|
5649
5767
|
"type": "integer",
|
|
5650
5768
|
"minimum": 20,
|
|
5651
5769
|
"maximum": 50000
|
|
5652
5770
|
},
|
|
5653
|
-
"
|
|
5771
|
+
"__schema254": {
|
|
5654
5772
|
"type": "object",
|
|
5655
5773
|
"properties": {
|
|
5656
5774
|
"coastal": {
|
|
@@ -5666,7 +5784,12 @@
|
|
|
5666
5784
|
},
|
|
5667
5785
|
"additionalProperties": false
|
|
5668
5786
|
},
|
|
5669
|
-
"
|
|
5787
|
+
"__schema255": {
|
|
5788
|
+
"type": "integer",
|
|
5789
|
+
"minimum": 20,
|
|
5790
|
+
"maximum": 200000
|
|
5791
|
+
},
|
|
5792
|
+
"__schema256": {
|
|
5670
5793
|
"type": "array",
|
|
5671
5794
|
"prefixItems": [
|
|
5672
5795
|
{
|
|
@@ -5684,7 +5807,7 @@
|
|
|
5684
5807
|
"minItems": 2,
|
|
5685
5808
|
"maxItems": 2
|
|
5686
5809
|
},
|
|
5687
|
-
"
|
|
5810
|
+
"__schema257": {
|
|
5688
5811
|
"type": "array",
|
|
5689
5812
|
"prefixItems": [
|
|
5690
5813
|
{
|
|
@@ -5702,37 +5825,37 @@
|
|
|
5702
5825
|
"minItems": 2,
|
|
5703
5826
|
"maxItems": 2
|
|
5704
5827
|
},
|
|
5705
|
-
"
|
|
5828
|
+
"__schema258": {
|
|
5706
5829
|
"type": "number",
|
|
5707
5830
|
"minimum": 0,
|
|
5708
5831
|
"maximum": 60
|
|
5709
5832
|
},
|
|
5710
|
-
"
|
|
5833
|
+
"__schema259": {
|
|
5711
5834
|
"type": "integer",
|
|
5712
5835
|
"minimum": 20,
|
|
5713
5836
|
"maximum": 2000
|
|
5714
5837
|
},
|
|
5715
|
-
"
|
|
5838
|
+
"__schema260": {
|
|
5716
5839
|
"type": "integer",
|
|
5717
5840
|
"minimum": 4,
|
|
5718
5841
|
"maximum": 64
|
|
5719
5842
|
},
|
|
5720
|
-
"
|
|
5843
|
+
"__schema261": {
|
|
5721
5844
|
"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
5845
|
"$ref": "#/$defs/__schema27"
|
|
5723
5846
|
},
|
|
5724
|
-
"
|
|
5847
|
+
"__schema262": {
|
|
5725
5848
|
"$ref": "#/$defs/__schema28"
|
|
5726
5849
|
},
|
|
5727
|
-
"
|
|
5850
|
+
"__schema263": {
|
|
5728
5851
|
"default": true,
|
|
5729
5852
|
"description": "Add replace_path for the base game states, countries, units, strategic regions, supply areas and bookmarks to descriptor.mod.",
|
|
5730
|
-
"$ref": "#/$defs/
|
|
5853
|
+
"$ref": "#/$defs/__schema264"
|
|
5731
5854
|
},
|
|
5732
|
-
"
|
|
5855
|
+
"__schema264": {
|
|
5733
5856
|
"type": "boolean"
|
|
5734
5857
|
},
|
|
5735
|
-
"
|
|
5858
|
+
"__schema265": {
|
|
5736
5859
|
"type": "object",
|
|
5737
5860
|
"properties": {
|
|
5738
5861
|
"from": {
|
|
@@ -5743,13 +5866,13 @@
|
|
|
5743
5866
|
"to": {
|
|
5744
5867
|
"anyOf": [
|
|
5745
5868
|
{
|
|
5746
|
-
"$ref": "#/$defs/
|
|
5869
|
+
"$ref": "#/$defs/__schema266"
|
|
5747
5870
|
},
|
|
5748
5871
|
{
|
|
5749
|
-
"$ref": "#/$defs/
|
|
5872
|
+
"$ref": "#/$defs/__schema267"
|
|
5750
5873
|
},
|
|
5751
5874
|
{
|
|
5752
|
-
"$ref": "#/$defs/
|
|
5875
|
+
"$ref": "#/$defs/__schema269"
|
|
5753
5876
|
}
|
|
5754
5877
|
],
|
|
5755
5878
|
"description": "One ID replaces; several IDs copy the referencing assignment once per ID; null removes it."
|
|
@@ -5761,40 +5884,40 @@
|
|
|
5761
5884
|
],
|
|
5762
5885
|
"additionalProperties": false
|
|
5763
5886
|
},
|
|
5764
|
-
"
|
|
5887
|
+
"__schema266": {
|
|
5765
5888
|
"type": "integer",
|
|
5766
5889
|
"minimum": 0,
|
|
5767
5890
|
"maximum": 9007199254740991
|
|
5768
5891
|
},
|
|
5769
|
-
"
|
|
5892
|
+
"__schema267": {
|
|
5770
5893
|
"minItems": 1,
|
|
5771
5894
|
"maxItems": 16,
|
|
5772
5895
|
"type": "array",
|
|
5773
5896
|
"items": {
|
|
5774
|
-
"$ref": "#/$defs/
|
|
5897
|
+
"$ref": "#/$defs/__schema268"
|
|
5775
5898
|
}
|
|
5776
5899
|
},
|
|
5777
|
-
"
|
|
5900
|
+
"__schema268": {
|
|
5778
5901
|
"type": "integer",
|
|
5779
5902
|
"minimum": 0,
|
|
5780
5903
|
"maximum": 9007199254740991
|
|
5781
5904
|
},
|
|
5782
|
-
"
|
|
5905
|
+
"__schema269": {
|
|
5783
5906
|
"type": "null"
|
|
5784
5907
|
},
|
|
5785
|
-
"
|
|
5908
|
+
"__schema270": {
|
|
5786
5909
|
"type": "string",
|
|
5787
5910
|
"enum": [
|
|
5788
5911
|
"refuse",
|
|
5789
5912
|
"override"
|
|
5790
5913
|
]
|
|
5791
5914
|
},
|
|
5792
|
-
"
|
|
5915
|
+
"__schema271": {
|
|
5793
5916
|
"type": "string",
|
|
5794
5917
|
"minLength": 1,
|
|
5795
5918
|
"maxLength": 256
|
|
5796
5919
|
},
|
|
5797
|
-
"
|
|
5920
|
+
"__schema272": {
|
|
5798
5921
|
"type": "string",
|
|
5799
5922
|
"enum": [
|
|
5800
5923
|
"buildings",
|
|
@@ -5802,30 +5925,30 @@
|
|
|
5802
5925
|
"weather"
|
|
5803
5926
|
]
|
|
5804
5927
|
},
|
|
5805
|
-
"
|
|
5928
|
+
"__schema273": {
|
|
5806
5929
|
"type": "integer",
|
|
5807
5930
|
"exclusiveMinimum": 0,
|
|
5808
5931
|
"maximum": 9007199254740991
|
|
5809
5932
|
},
|
|
5810
|
-
"
|
|
5933
|
+
"__schema274": {
|
|
5811
5934
|
"type": "string",
|
|
5812
5935
|
"enum": [
|
|
5813
5936
|
"missing",
|
|
5814
5937
|
"replace"
|
|
5815
5938
|
]
|
|
5816
5939
|
},
|
|
5817
|
-
"
|
|
5940
|
+
"__schema275": {
|
|
5818
5941
|
"type": "string",
|
|
5819
5942
|
"enum": [
|
|
5820
5943
|
"connect",
|
|
5821
5944
|
"replace"
|
|
5822
5945
|
]
|
|
5823
5946
|
},
|
|
5824
|
-
"
|
|
5947
|
+
"__schema276": {
|
|
5825
5948
|
"type": "string",
|
|
5826
5949
|
"const": "renumber_map_entity"
|
|
5827
5950
|
},
|
|
5828
|
-
"
|
|
5951
|
+
"__schema277": {
|
|
5829
5952
|
"type": "string",
|
|
5830
5953
|
"enum": [
|
|
5831
5954
|
"province",
|
|
@@ -5833,17 +5956,17 @@
|
|
|
5833
5956
|
"strategic-region"
|
|
5834
5957
|
]
|
|
5835
5958
|
},
|
|
5836
|
-
"
|
|
5959
|
+
"__schema278": {
|
|
5837
5960
|
"type": "integer",
|
|
5838
5961
|
"minimum": 0,
|
|
5839
5962
|
"maximum": 9007199254740991
|
|
5840
5963
|
},
|
|
5841
|
-
"
|
|
5964
|
+
"__schema279": {
|
|
5842
5965
|
"type": "integer",
|
|
5843
5966
|
"minimum": 0,
|
|
5844
5967
|
"maximum": 9007199254740991
|
|
5845
5968
|
},
|
|
5846
|
-
"
|
|
5969
|
+
"__schema280": {
|
|
5847
5970
|
"default": "swap",
|
|
5848
5971
|
"type": "string",
|
|
5849
5972
|
"enum": [
|
|
@@ -5851,11 +5974,11 @@
|
|
|
5851
5974
|
"reject"
|
|
5852
5975
|
]
|
|
5853
5976
|
},
|
|
5854
|
-
"
|
|
5977
|
+
"__schema281": {
|
|
5855
5978
|
"default": true,
|
|
5856
5979
|
"type": "boolean"
|
|
5857
5980
|
},
|
|
5858
|
-
"
|
|
5981
|
+
"__schema282": {
|
|
5859
5982
|
"type": "integer",
|
|
5860
5983
|
"minimum": 0,
|
|
5861
5984
|
"maximum": 9007199254740991
|