Skip to content

Commit 646ee04

Browse files
committed
fix: document quality field
1 parent a2af2df commit 646ee04

File tree

5 files changed

+1146
-541
lines changed

5 files changed

+1146
-541
lines changed

models/ShipComponentQuality.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "number",
3+
"format": "integer",
4+
"description": "The overall quality of the component, which determines the quality of the component. High quality components return more ships parts and ship plating when a ship is scrapped. But also require more of these parts to repair. This is transparent to the player, as the parts are bought from/sold to the marketplace."
5+
}

models/ShipEngine.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
},
3434
"requirements": {
3535
"$ref": "./ShipRequirements.json"
36+
},
37+
"quality": {
38+
"$ref": "./ShipComponentQuality.json"
3639
}
3740
},
3841
"required": [
@@ -42,6 +45,7 @@
4245
"integrity",
4346
"description",
4447
"speed",
45-
"requirements"
48+
"requirements",
49+
"quality"
4650
]
4751
}

models/ShipFrame.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
},
5555
"requirements": {
5656
"$ref": "./ShipRequirements.json"
57+
},
58+
"quality": {
59+
"$ref": "./ShipComponentQuality.json"
5760
}
5861
},
5962
"required": [
@@ -65,6 +68,7 @@
6568
"moduleSlots",
6669
"mountingPoints",
6770
"fuelCapacity",
68-
"requirements"
71+
"requirements",
72+
"quality"
6973
]
7074
}

models/ShipReactor.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
},
3535
"requirements": {
3636
"$ref": "./ShipRequirements.json"
37+
},
38+
"quality": {
39+
"$ref": "./ShipComponentQuality.json"
3740
}
3841
},
3942
"required": [
@@ -43,6 +46,7 @@
4346
"integrity",
4447
"description",
4548
"powerOutput",
46-
"requirements"
49+
"requirements",
50+
"quality"
4751
]
4852
}

0 commit comments

Comments
 (0)