@sf-kmods/kdataforgejs-cli 2026.4.19 → 2026.4.20
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/README.md +15 -2
- package/dist/cli.js +3 -1
- package/dist/commands/gameData.js +4 -3
- package/dist/commands/sync.js +2 -0
- package/dist/types/configTypes.js +74 -0
- package/dist/types/contentTypes.js +152 -0
- package/dist/types/organize.js +4 -2
- package/package.json +4 -2
- package/schemas/actor-selector.schema.yml +39 -0
- package/schemas/asset.schema.yml +27 -0
- package/schemas/building.schema.yml +16 -0
- package/schemas/category_reorder.schema.yml +41 -0
- package/schemas/cdo.schema.yml +92 -0
- package/schemas/class.schema.yml +27 -0
- package/schemas/common.schema.yml +543 -0
- package/schemas/config.schema.yml +208 -0
- package/schemas/curve.schema.yml +59 -0
- package/schemas/dataasset.schema.yml +33 -0
- package/schemas/eventrule.schema.yml +47 -0
- package/schemas/gametag.schema.yml +24 -0
- package/schemas/item.schema.yml +16 -0
- package/schemas/localization.schema.yml +27 -0
- package/schemas/mam.schema.yml +5 -0
- package/schemas/pack.schema.yml +60 -0
- package/schemas/recipe.schema.yml +26 -0
- package/schemas/research.schema.yml +76 -0
- package/schemas/resource.schema.yml +16 -0
- package/schemas/resourcenode.schema.yml +117 -0
- package/schemas/schematic.schema.yml +75 -0
- package/schemas/sinkpoints.schema.yml +29 -0
- package/schemas/sound.schema.yml +45 -0
- package/schemas/sublevel.schema.yml +16 -0
- package/schemas/unlock.schema.yml +21 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/resourcenode.schema.yml
|
|
3
|
+
x-kdf-type: resourcenode
|
|
4
|
+
title: KDataForge resource node placement, removal and appearance
|
|
5
|
+
allOf:
|
|
6
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/documentBase
|
|
7
|
+
- type: object
|
|
8
|
+
anyOf:
|
|
9
|
+
- required: [remove]
|
|
10
|
+
- required: [add]
|
|
11
|
+
- required: [replace]
|
|
12
|
+
- required: [visuals]
|
|
13
|
+
- required: [hideMeshes]
|
|
14
|
+
allOf:
|
|
15
|
+
- if:
|
|
16
|
+
required: [meshActorsPerTick]
|
|
17
|
+
then:
|
|
18
|
+
anyOf:
|
|
19
|
+
- required: [visuals]
|
|
20
|
+
- required: [hideMeshes]
|
|
21
|
+
properties:
|
|
22
|
+
type: { const: resourcenode }
|
|
23
|
+
visuals:
|
|
24
|
+
type: array
|
|
25
|
+
minItems: 1
|
|
26
|
+
items:
|
|
27
|
+
$ref: '#/$defs/visualRule'
|
|
28
|
+
hideMeshes:
|
|
29
|
+
type: array
|
|
30
|
+
minItems: 1
|
|
31
|
+
items: { type: string, minLength: 1, pattern: '\S' }
|
|
32
|
+
meshActorsPerTick:
|
|
33
|
+
type: integer
|
|
34
|
+
minimum: 1
|
|
35
|
+
maximum: 1024
|
|
36
|
+
default: 1
|
|
37
|
+
add:
|
|
38
|
+
type: array
|
|
39
|
+
minItems: 1
|
|
40
|
+
items:
|
|
41
|
+
$ref: '#/$defs/addition'
|
|
42
|
+
replace:
|
|
43
|
+
type: array
|
|
44
|
+
minItems: 1
|
|
45
|
+
items:
|
|
46
|
+
$ref: '#/$defs/replacement'
|
|
47
|
+
remove:
|
|
48
|
+
type: array
|
|
49
|
+
minItems: 1
|
|
50
|
+
items:
|
|
51
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/resourceNodeRemoval
|
|
52
|
+
unevaluatedProperties: false
|
|
53
|
+
$defs:
|
|
54
|
+
visualRule:
|
|
55
|
+
type: object
|
|
56
|
+
additionalProperties: false
|
|
57
|
+
required: [resource, materials]
|
|
58
|
+
properties:
|
|
59
|
+
resource: { type: string, minLength: 1, pattern: '\S' }
|
|
60
|
+
materials:
|
|
61
|
+
type: array
|
|
62
|
+
minItems: 1
|
|
63
|
+
maxItems: 64
|
|
64
|
+
items:
|
|
65
|
+
type: object
|
|
66
|
+
additionalProperties: false
|
|
67
|
+
required: [slot, material]
|
|
68
|
+
properties:
|
|
69
|
+
slot: { type: integer, minimum: 0, maximum: 63 }
|
|
70
|
+
material: { type: string, minLength: 1, pattern: '\S' }
|
|
71
|
+
vector:
|
|
72
|
+
type: array
|
|
73
|
+
minItems: 3
|
|
74
|
+
maxItems: 3
|
|
75
|
+
items: { type: number }
|
|
76
|
+
placement:
|
|
77
|
+
type: object
|
|
78
|
+
required: [id, resource, position]
|
|
79
|
+
properties:
|
|
80
|
+
id: { type: string, minLength: 1 }
|
|
81
|
+
resource: { type: string, minLength: 1 }
|
|
82
|
+
fromResource: { type: string, minLength: 1 }
|
|
83
|
+
position: { $ref: '#/$defs/vector' }
|
|
84
|
+
rotation: { $ref: '#/$defs/vector' }
|
|
85
|
+
purity: { enum: [Impure, Normal, Pure] }
|
|
86
|
+
checkRange: { type: number, exclusiveMinimum: 0, maximum: 100000, default: 500 }
|
|
87
|
+
allowToMove: { type: boolean, default: true }
|
|
88
|
+
preventOverlap: { type: boolean, default: false }
|
|
89
|
+
overlapClass: { type: string, minLength: 1, default: /Script/FactoryGame.FGResourceNodeBase }
|
|
90
|
+
mesh: { type: string, minLength: 1 }
|
|
91
|
+
material: { type: string, minLength: 1 }
|
|
92
|
+
materials:
|
|
93
|
+
type: array
|
|
94
|
+
maxItems: 64
|
|
95
|
+
items:
|
|
96
|
+
oneOf:
|
|
97
|
+
- { type: string, minLength: 1 }
|
|
98
|
+
- { type: 'null' }
|
|
99
|
+
not:
|
|
100
|
+
required: [material, materials]
|
|
101
|
+
addition:
|
|
102
|
+
allOf:
|
|
103
|
+
- $ref: '#/$defs/placement'
|
|
104
|
+
- type: object
|
|
105
|
+
properties:
|
|
106
|
+
reuseExisting: { type: boolean, default: true }
|
|
107
|
+
unevaluatedProperties: false
|
|
108
|
+
replacement:
|
|
109
|
+
allOf:
|
|
110
|
+
- $ref: '#/$defs/placement'
|
|
111
|
+
- type: object
|
|
112
|
+
properties:
|
|
113
|
+
fromResource: { type: string, minLength: 1 }
|
|
114
|
+
radius: { type: number, exclusiveMinimum: 0, maximum: 100000 }
|
|
115
|
+
not:
|
|
116
|
+
required: [radius, checkRange]
|
|
117
|
+
unevaluatedProperties: false
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/schematic.schema.yml
|
|
3
|
+
x-kdf-type: schematic
|
|
4
|
+
title: KDataForge schematics
|
|
5
|
+
$defs:
|
|
6
|
+
entry:
|
|
7
|
+
type: object
|
|
8
|
+
additionalProperties: false
|
|
9
|
+
properties:
|
|
10
|
+
id:
|
|
11
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/token
|
|
12
|
+
class:
|
|
13
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
14
|
+
parent:
|
|
15
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
16
|
+
register: { type: boolean }
|
|
17
|
+
properties:
|
|
18
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/properties
|
|
19
|
+
unlocks:
|
|
20
|
+
type: array
|
|
21
|
+
items:
|
|
22
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/instancedObject
|
|
23
|
+
dependencies:
|
|
24
|
+
type: array
|
|
25
|
+
items:
|
|
26
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/instancedObject
|
|
27
|
+
recipes:
|
|
28
|
+
type: array
|
|
29
|
+
items:
|
|
30
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
31
|
+
schematics:
|
|
32
|
+
type: array
|
|
33
|
+
items:
|
|
34
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
35
|
+
handSlots: { type: integer, minimum: 1 }
|
|
36
|
+
inventorySlots: { type: integer, minimum: 1 }
|
|
37
|
+
scannableResources:
|
|
38
|
+
type: array
|
|
39
|
+
items:
|
|
40
|
+
type: object
|
|
41
|
+
additionalProperties: false
|
|
42
|
+
required: [resource]
|
|
43
|
+
properties:
|
|
44
|
+
resource:
|
|
45
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
46
|
+
nodeType:
|
|
47
|
+
enum: [Node, FrackingSatellite, FrackingCore, Geyser, Deposit]
|
|
48
|
+
default: Node
|
|
49
|
+
oneOf:
|
|
50
|
+
- required: [id]
|
|
51
|
+
not: { required: [class] }
|
|
52
|
+
- required: [class]
|
|
53
|
+
not: { required: [id] }
|
|
54
|
+
allOf:
|
|
55
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/documentBase
|
|
56
|
+
- type: object
|
|
57
|
+
properties:
|
|
58
|
+
type: { const: schematic }
|
|
59
|
+
remove:
|
|
60
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/contentRemoval
|
|
61
|
+
anyOf:
|
|
62
|
+
- required: [schematics]
|
|
63
|
+
properties:
|
|
64
|
+
schematics:
|
|
65
|
+
type: array
|
|
66
|
+
minItems: 1
|
|
67
|
+
items:
|
|
68
|
+
$ref: '#/$defs/entry'
|
|
69
|
+
- required: [remove]
|
|
70
|
+
properties:
|
|
71
|
+
schematics:
|
|
72
|
+
not:
|
|
73
|
+
type: array
|
|
74
|
+
minItems: 1
|
|
75
|
+
unevaluatedProperties: false
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/sinkpoints.schema.yml
|
|
3
|
+
x-kdf-type: sinkpoints
|
|
4
|
+
title: KDataForge sink points
|
|
5
|
+
allOf:
|
|
6
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/documentBase
|
|
7
|
+
- type: object
|
|
8
|
+
required: [entries]
|
|
9
|
+
properties:
|
|
10
|
+
type: { const: sinkpoints }
|
|
11
|
+
track: { enum: [Default, Exploration], default: Default }
|
|
12
|
+
entries:
|
|
13
|
+
type: array
|
|
14
|
+
minItems: 1
|
|
15
|
+
items:
|
|
16
|
+
type: object
|
|
17
|
+
required: [points]
|
|
18
|
+
allOf:
|
|
19
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/scopeFilters
|
|
20
|
+
properties:
|
|
21
|
+
item:
|
|
22
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
23
|
+
points: { type: integer, minimum: -2147483648, maximum: 2147483647 }
|
|
24
|
+
overridden: { type: integer, minimum: -2147483648, maximum: 2147483647 }
|
|
25
|
+
anyOf:
|
|
26
|
+
- required: [item]
|
|
27
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/hasScopeFilter
|
|
28
|
+
unevaluatedProperties: false
|
|
29
|
+
unevaluatedProperties: false
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/sound.schema.yml
|
|
3
|
+
x-kdf-type: sound
|
|
4
|
+
title: KDataForge Wwise sounds
|
|
5
|
+
description: Import pack-relative PCM16 WAV/FLAC files as Wwise audio events, including ADA voice-over. Finite 2D sounds, mono/stereo, 8000-192000 Hz, maximum 64 MiB encoded and decoded.
|
|
6
|
+
allOf:
|
|
7
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/documentBase
|
|
8
|
+
- type: object
|
|
9
|
+
required: [sounds]
|
|
10
|
+
properties:
|
|
11
|
+
type: { const: sound }
|
|
12
|
+
sounds:
|
|
13
|
+
type: array
|
|
14
|
+
minItems: 1
|
|
15
|
+
description: Generated UAkAudioEvent assets. Reference by ID in the same pack or /KDataForge/GenAssets/<PackRef>.Gen_<PackRef>_<Id> across packs.
|
|
16
|
+
items:
|
|
17
|
+
type: object
|
|
18
|
+
additionalProperties: false
|
|
19
|
+
required: [id, file]
|
|
20
|
+
properties:
|
|
21
|
+
id:
|
|
22
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/token
|
|
23
|
+
description: Stable generated audio event ID; shares the asset namespace with images, curves and data assets.
|
|
24
|
+
file:
|
|
25
|
+
type: string
|
|
26
|
+
minLength: 1
|
|
27
|
+
pattern: '\.([Ww][Aa][Vv]|[Ff][Ll][Aa][Cc])$'
|
|
28
|
+
description: Path relative to pack root. PCM16 mono/stereo WAV or native FLAC, 8000-192000 Hz, at most 64 MiB encoded and decoded. FLAC requires a known nonzero frame count. Ogg FLAC and 24-bit FLAC are unsupported. Path and symbolic links must stay inside pack. MP3, OGG, float WAV, loops and spatial attenuation are unsupported.
|
|
29
|
+
name:
|
|
30
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
31
|
+
pattern: '\S'
|
|
32
|
+
description: Optional display name for the local Audio settings entry. Runtime falls back to `<id> volume`.
|
|
33
|
+
description:
|
|
34
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
35
|
+
pattern: '\S'
|
|
36
|
+
description: Optional display description for the local Audio settings entry.
|
|
37
|
+
category:
|
|
38
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
39
|
+
pattern: '\S'
|
|
40
|
+
description: Optional Audio section category. FactoryGame exposes Audio plus one subcategory level, so runtime flattens this with subCategory.
|
|
41
|
+
subCategory:
|
|
42
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/nonEmptyString
|
|
43
|
+
pattern: '\S'
|
|
44
|
+
description: Optional Audio section subcategory. FactoryGame exposes Audio plus one subcategory level, so runtime flattens this with category.
|
|
45
|
+
unevaluatedProperties: false
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/sublevel.schema.yml
|
|
3
|
+
x-kdf-type: sublevel
|
|
4
|
+
title: KDataForge sublevel blockers
|
|
5
|
+
allOf:
|
|
6
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/documentBase
|
|
7
|
+
- type: object
|
|
8
|
+
required: [block]
|
|
9
|
+
properties:
|
|
10
|
+
type: { const: sublevel }
|
|
11
|
+
block:
|
|
12
|
+
type: array
|
|
13
|
+
minItems: 1
|
|
14
|
+
items:
|
|
15
|
+
$ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/sublevelBlockEntry
|
|
16
|
+
unevaluatedProperties: false
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
$id: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/unlock.schema.yml
|
|
3
|
+
x-kdf-type: unlock
|
|
4
|
+
title: KDataForge unlock classes
|
|
5
|
+
allOf:
|
|
6
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/documentBase
|
|
7
|
+
- type: object
|
|
8
|
+
required: [unlocks]
|
|
9
|
+
properties:
|
|
10
|
+
type: { const: unlock }
|
|
11
|
+
unlocks:
|
|
12
|
+
type: array
|
|
13
|
+
minItems: 1
|
|
14
|
+
items:
|
|
15
|
+
allOf:
|
|
16
|
+
- $ref: https://raw.githubusercontent.com/Satisfactory-KMods/KDataForge-Linter/main/src/kdataforge_linter/schemas/common.schema.yml#/$defs/generatedEntry
|
|
17
|
+
- if:
|
|
18
|
+
required: [id]
|
|
19
|
+
then:
|
|
20
|
+
required: [parent]
|
|
21
|
+
unevaluatedProperties: false
|