ISSUE: - Previous effects removal script incorrectly deleted commas when removing effects objects - This caused JSON syntax errors throughout all game mode data files - Files had orphaned commas on separate lines and missing commas between properties FIXED: - Added comma restoration scripts (fix-commas.js, clean-orphaned-commas.js) - Restored proper comma placement after preview/type/text properties - Removed orphaned commas that were left on their own lines - Fixed property separation in choice arrays and step objects VERIFIED: - All game mode data files now pass Node.js syntax checking - trainingGameData.js: Valid syntax - humiliationGameData.js: Valid syntax - dressUpGameData.js: Valid syntax - enduranceGameData.js: Valid syntax Game mode data files are now syntactically correct and functional. |
||
|---|---|---|
| .. | ||
| clean-orphaned-commas.js | ||
| fix-commas.js | ||
| fix-gamemanager.js | ||
| remove-effects.js | ||
| scenario-extractor.js | ||