Skip to content

Commit

Permalink
dump mod to json
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Aug 30, 2024
1 parent d32d1ba commit 115554e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _transformers/modimport.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ fs.readdirSync("mods").forEach((mod) => {
const strippedMod = structuredClone(modFile);
delete strippedMod.meta._backup;
strippedMod.maps = [];
fs.writeJSONSync(`${OUTPUT_DIR}/simplemods/${mod}.rairmod`, strippedMod);
fs.writeJSONSync(`${OUTPUT_DIR}/simplemods/${mod}.json`, strippedMod);
});
2 changes: 1 addition & 1 deletion mods/BaseGameContent.rairmod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "BaseGameContent",
"author": "Seiyria",
"version": 1,
"savedAt": 1724962465289
"savedAt": 1725019950906
},
"npcs": [
{
Expand Down

0 comments on commit 115554e

Please sign in to comment.