satisfactory-json
Advanced tools
Comparing version 0.0.53 to 0.0.54
@@ -73,2 +73,3 @@ "use strict"; | ||
SInventory: function (builder) { return ArbitraryStruct_1.transformArbitraryStruct(builder); }, | ||
FFPlotTask: function (builder) { return ArbitraryStruct_1.transformArbitraryStruct(builder); }, | ||
$default: function (builder) { | ||
@@ -75,0 +76,0 @@ return builder.error(function (ctx) { return "Unknown struct property: " + ctx.obj.type; }); |
@@ -48,3 +48,5 @@ "use strict"; | ||
// From Unreal Engine 4.23 on, the culture invariant strings are stored without history. This applies to Satisfactory builds from 140822 on. | ||
builder.if(function (ctx) { return ctx.tmp.buildVersion >= 139650; }, function (builder) { | ||
builder.if(function (ctx) { | ||
return ctx.tmp.buildVersion == 139650 || ctx.tmp.buildVersion >= 140822; | ||
}, function (builder) { | ||
builder.int('hasCultureInvariantString').if(function (ctx) { return ctx.obj.hasCultureInvariantString == 1; }, function (builder) { | ||
@@ -51,0 +53,0 @@ builder.str('cultureInvariantString'); |
{ | ||
"name": "satisfactory-json", | ||
"version": "0.0.53", | ||
"version": "0.0.54", | ||
"description": "Convert Satisfactory save files to JSON and back", | ||
@@ -13,4 +13,4 @@ "author": "ficsit-felix", | ||
"@types/pako": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.14.1", | ||
"@typescript-eslint/parser": "^4.14.1", | ||
"@typescript-eslint/eslint-plugin": "^4.15.1", | ||
"@typescript-eslint/parser": "^4.15.1", | ||
"commander": "^7.0.0", | ||
@@ -17,0 +17,0 @@ "eslint": "^7.16.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
292798
4390