-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Therkelsen/develop
First release PR Added compats for: AR-15 / M16 stuff AWM HK416 MP5K SVD Did NOT do compats for all the AK stuff. Might do it at another time.
- Loading branch information
Showing
10 changed files
with
1,224 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Validate JSON Files | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.json' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
validate-json: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 # Update to use Node.js 20 | ||
|
||
- name: Install jq | ||
run: sudo apt-get update && sudo apt-get install -y jq | ||
|
||
- name: Find and validate JSON files | ||
run: | | ||
find . -name "*.json" -type f | while read file; do | ||
echo "Validating $file" | ||
jq . "$file" > /dev/null 2>&1 | ||
if [ $? -ne 0 ]; then | ||
echo "Invalid JSON syntax in $file" | ||
exit 1 | ||
fi | ||
echo "Successfully validated $file" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"nothing_here_yet": { | ||
"ItemID": "nothing_here_yet", | ||
"Name": "maybe_ill_add_it_later", | ||
"ModType": "", | ||
"VerticalRecoil": 0, | ||
"HorizontalRecoil": 0, | ||
"Dispersion": 0, | ||
"CameraRecoil": 0, | ||
"AimSpeed": 0, | ||
"Ergonomics": 0, | ||
"Accuracy": 0, | ||
"HasShoulderContact": true, | ||
"BlocksFolding": false, | ||
"AutoROF": 0, | ||
"SemiROF": 0, | ||
"ModMalfunctionChance": 0, | ||
"StockAllowADS": false, | ||
"ConflictingItems": [], | ||
"Weight": 0, | ||
"DurabilityBurnModificator": 0, | ||
"LoyaltyLevel": 0, | ||
"Price": 0 | ||
} | ||
} |
Oops, something went wrong.