advanced-poe-filter-parser 0.2.6 → 0.2.7

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/lib/parser.js CHANGED
@@ -142,47 +142,47 @@ function peg$parse(input, options) {
142
142
  var peg$c6 = "#";
143
143
  var peg$c7 = "Class";
144
144
  var peg$c8 = "BaseType";
145
- var peg$c9 = "Prophecy";
146
- var peg$c10 = "DropLevel";
147
- var peg$c11 = "ItemLevel";
148
- var peg$c12 = "AreaLevel";
149
- var peg$c13 = "GemLevel";
150
- var peg$c14 = "GemQualityType";
151
- var peg$c15 = "StackSize";
152
- var peg$c16 = "MapTier";
153
- var peg$c17 = "Quality";
154
- var peg$c18 = "LinkedSockets";
155
- var peg$c19 = "Sockets";
156
- var peg$c20 = "SocketGroup";
157
- var peg$c21 = "Rarity";
158
- var peg$c22 = "BaseDefencePercentile";
159
- var peg$c23 = "BaseArmour";
160
- var peg$c24 = "BaseEnergyShield";
161
- var peg$c25 = "BaseEvasion";
162
- var peg$c26 = "BaseWard";
163
- var peg$c27 = "ShaperItem";
164
- var peg$c28 = "ElderItem";
165
- var peg$c29 = "FracturedItem";
166
- var peg$c30 = "SynthesisedItem";
167
- var peg$c31 = "Corrupted";
168
- var peg$c32 = "Mirrored";
169
- var peg$c33 = "Identified";
170
- var peg$c34 = "Scourged";
171
- var peg$c35 = "ShapedMap";
172
- var peg$c36 = "ElderMap";
173
- var peg$c37 = "BlightedMap";
174
- var peg$c38 = "UberBlightedMap";
175
- var peg$c39 = "Height";
176
- var peg$c40 = "Width";
177
- var peg$c41 = "CorruptedMods";
178
- var peg$c42 = "EnchantmentPassiveNum";
179
- var peg$c43 = "HasExplicitMod";
180
- var peg$c44 = "AnyEnchantment";
181
- var peg$c45 = "HasEnchantment";
182
- var peg$c46 = "HasInfluence";
183
- var peg$c47 = "EnchantmentPassiveNode";
184
- var peg$c48 = "AlternateQuality";
185
- var peg$c49 = "Replica";
145
+ var peg$c9 = "DropLevel";
146
+ var peg$c10 = "ItemLevel";
147
+ var peg$c11 = "AreaLevel";
148
+ var peg$c12 = "GemLevel";
149
+ var peg$c13 = "GemQualityType";
150
+ var peg$c14 = "StackSize";
151
+ var peg$c15 = "MapTier";
152
+ var peg$c16 = "Quality";
153
+ var peg$c17 = "LinkedSockets";
154
+ var peg$c18 = "Sockets";
155
+ var peg$c19 = "SocketGroup";
156
+ var peg$c20 = "Rarity";
157
+ var peg$c21 = "BaseDefencePercentile";
158
+ var peg$c22 = "BaseArmour";
159
+ var peg$c23 = "BaseEnergyShield";
160
+ var peg$c24 = "BaseEvasion";
161
+ var peg$c25 = "BaseWard";
162
+ var peg$c26 = "FracturedItem";
163
+ var peg$c27 = "SynthesisedItem";
164
+ var peg$c28 = "Corrupted";
165
+ var peg$c29 = "Mirrored";
166
+ var peg$c30 = "Identified";
167
+ var peg$c31 = "Scourged";
168
+ var peg$c32 = "ShapedMap";
169
+ var peg$c33 = "ElderMap";
170
+ var peg$c34 = "BlightedMap";
171
+ var peg$c35 = "UberBlightedMap";
172
+ var peg$c36 = "Height";
173
+ var peg$c37 = "Width";
174
+ var peg$c38 = "CorruptedMods";
175
+ var peg$c39 = "EnchantmentPassiveNum";
176
+ var peg$c40 = "HasExplicitMod";
177
+ var peg$c41 = "HasEaterOfWorldsImplicit";
178
+ var peg$c42 = "HasSearingExarchImplicit";
179
+ var peg$c43 = "AnyEnchantment";
180
+ var peg$c44 = "HasEnchantment";
181
+ var peg$c45 = "HasInfluence";
182
+ var peg$c46 = "EnchantmentPassiveNode";
183
+ var peg$c47 = "AlternateQuality";
184
+ var peg$c48 = "Replica";
185
+ var peg$c49 = "ArchnemesisMod";
186
186
  var peg$c50 = "None";
187
187
  var peg$c51 = "SetBorderColor";
188
188
  var peg$c52 = "SetTextColor";
@@ -301,47 +301,47 @@ function peg$parse(input, options) {
301
301
  var peg$e7 = peg$classExpectation(["\n"], true, false);
302
302
  var peg$e8 = peg$literalExpectation("Class", false);
303
303
  var peg$e9 = peg$literalExpectation("BaseType", false);
304
- var peg$e10 = peg$literalExpectation("Prophecy", false);
305
- var peg$e11 = peg$literalExpectation("DropLevel", false);
306
- var peg$e12 = peg$literalExpectation("ItemLevel", false);
307
- var peg$e13 = peg$literalExpectation("AreaLevel", false);
308
- var peg$e14 = peg$literalExpectation("GemLevel", false);
309
- var peg$e15 = peg$literalExpectation("GemQualityType", false);
310
- var peg$e16 = peg$literalExpectation("StackSize", false);
311
- var peg$e17 = peg$literalExpectation("MapTier", false);
312
- var peg$e18 = peg$literalExpectation("Quality", false);
313
- var peg$e19 = peg$literalExpectation("LinkedSockets", false);
314
- var peg$e20 = peg$literalExpectation("Sockets", false);
315
- var peg$e21 = peg$literalExpectation("SocketGroup", false);
316
- var peg$e22 = peg$literalExpectation("Rarity", false);
317
- var peg$e23 = peg$literalExpectation("BaseDefencePercentile", false);
318
- var peg$e24 = peg$literalExpectation("BaseArmour", false);
319
- var peg$e25 = peg$literalExpectation("BaseEnergyShield", false);
320
- var peg$e26 = peg$literalExpectation("BaseEvasion", false);
321
- var peg$e27 = peg$literalExpectation("BaseWard", false);
322
- var peg$e28 = peg$literalExpectation("ShaperItem", false);
323
- var peg$e29 = peg$literalExpectation("ElderItem", false);
324
- var peg$e30 = peg$literalExpectation("FracturedItem", false);
325
- var peg$e31 = peg$literalExpectation("SynthesisedItem", false);
326
- var peg$e32 = peg$literalExpectation("Corrupted", false);
327
- var peg$e33 = peg$literalExpectation("Mirrored", false);
328
- var peg$e34 = peg$literalExpectation("Identified", false);
329
- var peg$e35 = peg$literalExpectation("Scourged", false);
330
- var peg$e36 = peg$literalExpectation("ShapedMap", false);
331
- var peg$e37 = peg$literalExpectation("ElderMap", false);
332
- var peg$e38 = peg$literalExpectation("BlightedMap", false);
333
- var peg$e39 = peg$literalExpectation("UberBlightedMap", false);
334
- var peg$e40 = peg$literalExpectation("Height", false);
335
- var peg$e41 = peg$literalExpectation("Width", false);
336
- var peg$e42 = peg$literalExpectation("CorruptedMods", false);
337
- var peg$e43 = peg$literalExpectation("EnchantmentPassiveNum", false);
338
- var peg$e44 = peg$literalExpectation("HasExplicitMod", false);
339
- var peg$e45 = peg$literalExpectation("AnyEnchantment", false);
340
- var peg$e46 = peg$literalExpectation("HasEnchantment", false);
341
- var peg$e47 = peg$literalExpectation("HasInfluence", false);
342
- var peg$e48 = peg$literalExpectation("EnchantmentPassiveNode", false);
343
- var peg$e49 = peg$literalExpectation("AlternateQuality", false);
344
- var peg$e50 = peg$literalExpectation("Replica", false);
304
+ var peg$e10 = peg$literalExpectation("DropLevel", false);
305
+ var peg$e11 = peg$literalExpectation("ItemLevel", false);
306
+ var peg$e12 = peg$literalExpectation("AreaLevel", false);
307
+ var peg$e13 = peg$literalExpectation("GemLevel", false);
308
+ var peg$e14 = peg$literalExpectation("GemQualityType", false);
309
+ var peg$e15 = peg$literalExpectation("StackSize", false);
310
+ var peg$e16 = peg$literalExpectation("MapTier", false);
311
+ var peg$e17 = peg$literalExpectation("Quality", false);
312
+ var peg$e18 = peg$literalExpectation("LinkedSockets", false);
313
+ var peg$e19 = peg$literalExpectation("Sockets", false);
314
+ var peg$e20 = peg$literalExpectation("SocketGroup", false);
315
+ var peg$e21 = peg$literalExpectation("Rarity", false);
316
+ var peg$e22 = peg$literalExpectation("BaseDefencePercentile", false);
317
+ var peg$e23 = peg$literalExpectation("BaseArmour", false);
318
+ var peg$e24 = peg$literalExpectation("BaseEnergyShield", false);
319
+ var peg$e25 = peg$literalExpectation("BaseEvasion", false);
320
+ var peg$e26 = peg$literalExpectation("BaseWard", false);
321
+ var peg$e27 = peg$literalExpectation("FracturedItem", false);
322
+ var peg$e28 = peg$literalExpectation("SynthesisedItem", false);
323
+ var peg$e29 = peg$literalExpectation("Corrupted", false);
324
+ var peg$e30 = peg$literalExpectation("Mirrored", false);
325
+ var peg$e31 = peg$literalExpectation("Identified", false);
326
+ var peg$e32 = peg$literalExpectation("Scourged", false);
327
+ var peg$e33 = peg$literalExpectation("ShapedMap", false);
328
+ var peg$e34 = peg$literalExpectation("ElderMap", false);
329
+ var peg$e35 = peg$literalExpectation("BlightedMap", false);
330
+ var peg$e36 = peg$literalExpectation("UberBlightedMap", false);
331
+ var peg$e37 = peg$literalExpectation("Height", false);
332
+ var peg$e38 = peg$literalExpectation("Width", false);
333
+ var peg$e39 = peg$literalExpectation("CorruptedMods", false);
334
+ var peg$e40 = peg$literalExpectation("EnchantmentPassiveNum", false);
335
+ var peg$e41 = peg$literalExpectation("HasExplicitMod", false);
336
+ var peg$e42 = peg$literalExpectation("HasEaterOfWorldsImplicit", false);
337
+ var peg$e43 = peg$literalExpectation("HasSearingExarchImplicit", false);
338
+ var peg$e44 = peg$literalExpectation("AnyEnchantment", false);
339
+ var peg$e45 = peg$literalExpectation("HasEnchantment", false);
340
+ var peg$e46 = peg$literalExpectation("HasInfluence", false);
341
+ var peg$e47 = peg$literalExpectation("EnchantmentPassiveNode", false);
342
+ var peg$e48 = peg$literalExpectation("AlternateQuality", false);
343
+ var peg$e49 = peg$literalExpectation("Replica", false);
344
+ var peg$e50 = peg$literalExpectation("ArchnemesisMod", false);
345
345
  var peg$e51 = peg$literalExpectation("None", false);
346
346
  var peg$e52 = peg$literalExpectation("SetBorderColor", false);
347
347
  var peg$e53 = peg$literalExpectation("SetTextColor", false);
@@ -1255,87 +1255,87 @@ function peg$parse(input, options) {
1255
1255
  if (s0 === peg$FAILED) {
1256
1256
  s0 = peg$parseconditionBaseType();
1257
1257
  if (s0 === peg$FAILED) {
1258
- s0 = peg$parseconditionProphecy();
1258
+ s0 = peg$parseconditionDropLevel();
1259
1259
  if (s0 === peg$FAILED) {
1260
- s0 = peg$parseconditionDropLevel();
1260
+ s0 = peg$parseconditionItemLevel();
1261
1261
  if (s0 === peg$FAILED) {
1262
- s0 = peg$parseconditionItemLevel();
1262
+ s0 = peg$parseconditionAreaLevel();
1263
1263
  if (s0 === peg$FAILED) {
1264
- s0 = peg$parseconditionAreaLevel();
1264
+ s0 = peg$parseconditionGemLevel();
1265
1265
  if (s0 === peg$FAILED) {
1266
- s0 = peg$parseconditionGemLevel();
1266
+ s0 = peg$parseconditionGemQualityType();
1267
1267
  if (s0 === peg$FAILED) {
1268
- s0 = peg$parseconditionGemQualityType();
1268
+ s0 = peg$parseconditionStackSize();
1269
1269
  if (s0 === peg$FAILED) {
1270
- s0 = peg$parseconditionStackSize();
1270
+ s0 = peg$parseconditionMapTier();
1271
1271
  if (s0 === peg$FAILED) {
1272
- s0 = peg$parseconditionMapTier();
1272
+ s0 = peg$parseconditionQuality();
1273
1273
  if (s0 === peg$FAILED) {
1274
- s0 = peg$parseconditionQuality();
1274
+ s0 = peg$parseconditionLinkedSockets();
1275
1275
  if (s0 === peg$FAILED) {
1276
- s0 = peg$parseconditionLinkedSockets();
1276
+ s0 = peg$parseconditionSockets();
1277
1277
  if (s0 === peg$FAILED) {
1278
- s0 = peg$parseconditionSockets();
1278
+ s0 = peg$parseconditionSocketGroup();
1279
1279
  if (s0 === peg$FAILED) {
1280
- s0 = peg$parseconditionSocketGroup();
1280
+ s0 = peg$parseconditionRarity();
1281
1281
  if (s0 === peg$FAILED) {
1282
- s0 = peg$parseconditionRarity();
1282
+ s0 = peg$parseconditionBaseDefencePercentile();
1283
1283
  if (s0 === peg$FAILED) {
1284
- s0 = peg$parseconditionBaseDefencePercentile();
1284
+ s0 = peg$parseconditionBaseArmour();
1285
1285
  if (s0 === peg$FAILED) {
1286
- s0 = peg$parseconditionBaseArmour();
1286
+ s0 = peg$parseconditionBaseEnergyShield();
1287
1287
  if (s0 === peg$FAILED) {
1288
- s0 = peg$parseconditionBaseEnergyShield();
1288
+ s0 = peg$parseconditionBaseEvasion();
1289
1289
  if (s0 === peg$FAILED) {
1290
- s0 = peg$parseconditionBaseEvasion();
1290
+ s0 = peg$parseconditionBaseWard();
1291
1291
  if (s0 === peg$FAILED) {
1292
- s0 = peg$parseconditionBaseWard();
1292
+ s0 = peg$parseconditionFracturedItem();
1293
1293
  if (s0 === peg$FAILED) {
1294
- s0 = peg$parseconditionShaperItem();
1294
+ s0 = peg$parseconditionSynthesisedItem();
1295
1295
  if (s0 === peg$FAILED) {
1296
- s0 = peg$parseconditionElderItem();
1296
+ s0 = peg$parseconditionCorrupted();
1297
1297
  if (s0 === peg$FAILED) {
1298
- s0 = peg$parseconditionFracturedItem();
1298
+ s0 = peg$parseconditionMirrored();
1299
1299
  if (s0 === peg$FAILED) {
1300
- s0 = peg$parseconditionSynthesisedItem();
1300
+ s0 = peg$parseconditionIdentified();
1301
1301
  if (s0 === peg$FAILED) {
1302
- s0 = peg$parseconditionCorrupted();
1302
+ s0 = peg$parseconditionScourged();
1303
1303
  if (s0 === peg$FAILED) {
1304
- s0 = peg$parseconditionMirrored();
1304
+ s0 = peg$parseconditionShapedMap();
1305
1305
  if (s0 === peg$FAILED) {
1306
- s0 = peg$parseconditionIdentified();
1306
+ s0 = peg$parseconditionElderMap();
1307
1307
  if (s0 === peg$FAILED) {
1308
- s0 = peg$parseconditionScourged();
1308
+ s0 = peg$parseconditionBlightedMap();
1309
1309
  if (s0 === peg$FAILED) {
1310
- s0 = peg$parseconditionShapedMap();
1310
+ s0 = peg$parseconditionUberBlightedMap();
1311
1311
  if (s0 === peg$FAILED) {
1312
- s0 = peg$parseconditionElderMap();
1312
+ s0 = peg$parseconditionHeight();
1313
1313
  if (s0 === peg$FAILED) {
1314
- s0 = peg$parseconditionBlightedMap();
1314
+ s0 = peg$parseconditionWidth();
1315
1315
  if (s0 === peg$FAILED) {
1316
- s0 = peg$parseconditionUberBlightedMap();
1316
+ s0 = peg$parseconditionCorruptedMods();
1317
1317
  if (s0 === peg$FAILED) {
1318
- s0 = peg$parseconditionHeight();
1318
+ s0 = peg$parseconditionEnchantmentPassiveNum();
1319
1319
  if (s0 === peg$FAILED) {
1320
- s0 = peg$parseconditionWidth();
1320
+ s0 = peg$parseconditionHasExplicitMod();
1321
1321
  if (s0 === peg$FAILED) {
1322
- s0 = peg$parseconditionCorruptedMods();
1322
+ s0 = peg$parseconditionHasEaterOfWorldsImplicit();
1323
1323
  if (s0 === peg$FAILED) {
1324
- s0 = peg$parseconditionEnchantmentPassiveNum();
1324
+ s0 = peg$parseconditionHasSearingExarchImplicit();
1325
1325
  if (s0 === peg$FAILED) {
1326
- s0 = peg$parseconditionHasExplicitMod();
1326
+ s0 = peg$parseconditionAnyEnchantment();
1327
1327
  if (s0 === peg$FAILED) {
1328
- s0 = peg$parseconditionAnyEnchantment();
1328
+ s0 = peg$parseconditionHasEnchantment();
1329
1329
  if (s0 === peg$FAILED) {
1330
- s0 = peg$parseconditionHasEnchantment();
1330
+ s0 = peg$parseconditionHasInfluence();
1331
1331
  if (s0 === peg$FAILED) {
1332
- s0 = peg$parseconditionHasInfluence();
1332
+ s0 = peg$parseconditionEnchantmentPassiveNode();
1333
1333
  if (s0 === peg$FAILED) {
1334
- s0 = peg$parseconditionEnchantmentPassiveNode();
1334
+ s0 = peg$parseconditionAlternateQuality();
1335
1335
  if (s0 === peg$FAILED) {
1336
- s0 = peg$parseconditionAlternateQuality();
1336
+ s0 = peg$parseconditionReplica();
1337
1337
  if (s0 === peg$FAILED) {
1338
- s0 = peg$parseconditionReplica();
1338
+ s0 = peg$parseconditionArchnemesisMod();
1339
1339
  }
1340
1340
  }
1341
1341
  }
@@ -1458,7 +1458,7 @@ function peg$parse(input, options) {
1458
1458
  return s0;
1459
1459
  }
1460
1460
 
1461
- function peg$parseconditionProphecy() {
1461
+ function peg$parseconditionDropLevel() {
1462
1462
  var s0, s1, s2, s3;
1463
1463
 
1464
1464
  var rule$expects = function (expected) {
@@ -1467,16 +1467,16 @@ function peg$parse(input, options) {
1467
1467
 
1468
1468
  s0 = peg$currPos;
1469
1469
  rule$expects(peg$e10);
1470
- if (input.substr(peg$currPos, 8) === peg$c9) {
1470
+ if (input.substr(peg$currPos, 9) === peg$c9) {
1471
1471
  s1 = peg$c9;
1472
- peg$currPos += 8;
1472
+ peg$currPos += 9;
1473
1473
  } else {
1474
1474
  s1 = peg$FAILED;
1475
1475
  }
1476
1476
  if (s1 !== peg$FAILED) {
1477
1477
  s2 = peg$parse__();
1478
1478
  if (s2 !== peg$FAILED) {
1479
- s3 = peg$parseconditionValueArray();
1479
+ s3 = peg$parseconditionValueNumber();
1480
1480
  if (s3 !== peg$FAILED) {
1481
1481
  peg$savedPos = s0;
1482
1482
  s0 = peg$f5(s1, s3);
@@ -1496,7 +1496,7 @@ function peg$parse(input, options) {
1496
1496
  return s0;
1497
1497
  }
1498
1498
 
1499
- function peg$parseconditionDropLevel() {
1499
+ function peg$parseconditionItemLevel() {
1500
1500
  var s0, s1, s2, s3;
1501
1501
 
1502
1502
  var rule$expects = function (expected) {
@@ -1534,7 +1534,7 @@ function peg$parse(input, options) {
1534
1534
  return s0;
1535
1535
  }
1536
1536
 
1537
- function peg$parseconditionItemLevel() {
1537
+ function peg$parseconditionAreaLevel() {
1538
1538
  var s0, s1, s2, s3;
1539
1539
 
1540
1540
  var rule$expects = function (expected) {
@@ -1572,7 +1572,7 @@ function peg$parse(input, options) {
1572
1572
  return s0;
1573
1573
  }
1574
1574
 
1575
- function peg$parseconditionAreaLevel() {
1575
+ function peg$parseconditionGemLevel() {
1576
1576
  var s0, s1, s2, s3;
1577
1577
 
1578
1578
  var rule$expects = function (expected) {
@@ -1581,9 +1581,9 @@ function peg$parse(input, options) {
1581
1581
 
1582
1582
  s0 = peg$currPos;
1583
1583
  rule$expects(peg$e13);
1584
- if (input.substr(peg$currPos, 9) === peg$c12) {
1584
+ if (input.substr(peg$currPos, 8) === peg$c12) {
1585
1585
  s1 = peg$c12;
1586
- peg$currPos += 9;
1586
+ peg$currPos += 8;
1587
1587
  } else {
1588
1588
  s1 = peg$FAILED;
1589
1589
  }
@@ -1610,7 +1610,7 @@ function peg$parse(input, options) {
1610
1610
  return s0;
1611
1611
  }
1612
1612
 
1613
- function peg$parseconditionGemLevel() {
1613
+ function peg$parseconditionGemQualityType() {
1614
1614
  var s0, s1, s2, s3;
1615
1615
 
1616
1616
  var rule$expects = function (expected) {
@@ -1619,16 +1619,16 @@ function peg$parse(input, options) {
1619
1619
 
1620
1620
  s0 = peg$currPos;
1621
1621
  rule$expects(peg$e14);
1622
- if (input.substr(peg$currPos, 8) === peg$c13) {
1622
+ if (input.substr(peg$currPos, 14) === peg$c13) {
1623
1623
  s1 = peg$c13;
1624
- peg$currPos += 8;
1624
+ peg$currPos += 14;
1625
1625
  } else {
1626
1626
  s1 = peg$FAILED;
1627
1627
  }
1628
1628
  if (s1 !== peg$FAILED) {
1629
1629
  s2 = peg$parse__();
1630
1630
  if (s2 !== peg$FAILED) {
1631
- s3 = peg$parseconditionValueNumber();
1631
+ s3 = peg$parseconditionValueArray();
1632
1632
  if (s3 !== peg$FAILED) {
1633
1633
  peg$savedPos = s0;
1634
1634
  s0 = peg$f5(s1, s3);
@@ -1648,7 +1648,7 @@ function peg$parse(input, options) {
1648
1648
  return s0;
1649
1649
  }
1650
1650
 
1651
- function peg$parseconditionGemQualityType() {
1651
+ function peg$parseconditionStackSize() {
1652
1652
  var s0, s1, s2, s3;
1653
1653
 
1654
1654
  var rule$expects = function (expected) {
@@ -1657,16 +1657,16 @@ function peg$parse(input, options) {
1657
1657
 
1658
1658
  s0 = peg$currPos;
1659
1659
  rule$expects(peg$e15);
1660
- if (input.substr(peg$currPos, 14) === peg$c14) {
1660
+ if (input.substr(peg$currPos, 9) === peg$c14) {
1661
1661
  s1 = peg$c14;
1662
- peg$currPos += 14;
1662
+ peg$currPos += 9;
1663
1663
  } else {
1664
1664
  s1 = peg$FAILED;
1665
1665
  }
1666
1666
  if (s1 !== peg$FAILED) {
1667
1667
  s2 = peg$parse__();
1668
1668
  if (s2 !== peg$FAILED) {
1669
- s3 = peg$parseconditionValueArray();
1669
+ s3 = peg$parseconditionValueNumber();
1670
1670
  if (s3 !== peg$FAILED) {
1671
1671
  peg$savedPos = s0;
1672
1672
  s0 = peg$f5(s1, s3);
@@ -1686,7 +1686,7 @@ function peg$parse(input, options) {
1686
1686
  return s0;
1687
1687
  }
1688
1688
 
1689
- function peg$parseconditionStackSize() {
1689
+ function peg$parseconditionMapTier() {
1690
1690
  var s0, s1, s2, s3;
1691
1691
 
1692
1692
  var rule$expects = function (expected) {
@@ -1695,9 +1695,9 @@ function peg$parse(input, options) {
1695
1695
 
1696
1696
  s0 = peg$currPos;
1697
1697
  rule$expects(peg$e16);
1698
- if (input.substr(peg$currPos, 9) === peg$c15) {
1698
+ if (input.substr(peg$currPos, 7) === peg$c15) {
1699
1699
  s1 = peg$c15;
1700
- peg$currPos += 9;
1700
+ peg$currPos += 7;
1701
1701
  } else {
1702
1702
  s1 = peg$FAILED;
1703
1703
  }
@@ -1724,7 +1724,7 @@ function peg$parse(input, options) {
1724
1724
  return s0;
1725
1725
  }
1726
1726
 
1727
- function peg$parseconditionMapTier() {
1727
+ function peg$parseconditionQuality() {
1728
1728
  var s0, s1, s2, s3;
1729
1729
 
1730
1730
  var rule$expects = function (expected) {
@@ -1762,7 +1762,7 @@ function peg$parse(input, options) {
1762
1762
  return s0;
1763
1763
  }
1764
1764
 
1765
- function peg$parseconditionQuality() {
1765
+ function peg$parseconditionLinkedSockets() {
1766
1766
  var s0, s1, s2, s3;
1767
1767
 
1768
1768
  var rule$expects = function (expected) {
@@ -1771,9 +1771,9 @@ function peg$parse(input, options) {
1771
1771
 
1772
1772
  s0 = peg$currPos;
1773
1773
  rule$expects(peg$e18);
1774
- if (input.substr(peg$currPos, 7) === peg$c17) {
1774
+ if (input.substr(peg$currPos, 13) === peg$c17) {
1775
1775
  s1 = peg$c17;
1776
- peg$currPos += 7;
1776
+ peg$currPos += 13;
1777
1777
  } else {
1778
1778
  s1 = peg$FAILED;
1779
1779
  }
@@ -1800,7 +1800,7 @@ function peg$parse(input, options) {
1800
1800
  return s0;
1801
1801
  }
1802
1802
 
1803
- function peg$parseconditionLinkedSockets() {
1803
+ function peg$parseconditionSockets() {
1804
1804
  var s0, s1, s2, s3;
1805
1805
 
1806
1806
  var rule$expects = function (expected) {
@@ -1809,9 +1809,9 @@ function peg$parse(input, options) {
1809
1809
 
1810
1810
  s0 = peg$currPos;
1811
1811
  rule$expects(peg$e19);
1812
- if (input.substr(peg$currPos, 13) === peg$c18) {
1812
+ if (input.substr(peg$currPos, 7) === peg$c18) {
1813
1813
  s1 = peg$c18;
1814
- peg$currPos += 13;
1814
+ peg$currPos += 7;
1815
1815
  } else {
1816
1816
  s1 = peg$FAILED;
1817
1817
  }
@@ -1838,7 +1838,7 @@ function peg$parse(input, options) {
1838
1838
  return s0;
1839
1839
  }
1840
1840
 
1841
- function peg$parseconditionSockets() {
1841
+ function peg$parseconditionSocketGroup() {
1842
1842
  var s0, s1, s2, s3;
1843
1843
 
1844
1844
  var rule$expects = function (expected) {
@@ -1847,23 +1847,18 @@ function peg$parse(input, options) {
1847
1847
 
1848
1848
  s0 = peg$currPos;
1849
1849
  rule$expects(peg$e20);
1850
- if (input.substr(peg$currPos, 7) === peg$c19) {
1850
+ if (input.substr(peg$currPos, 11) === peg$c19) {
1851
1851
  s1 = peg$c19;
1852
- peg$currPos += 7;
1852
+ peg$currPos += 11;
1853
1853
  } else {
1854
1854
  s1 = peg$FAILED;
1855
1855
  }
1856
1856
  if (s1 !== peg$FAILED) {
1857
1857
  s2 = peg$parse__();
1858
1858
  if (s2 !== peg$FAILED) {
1859
- s3 = peg$parseconditionValueNumber();
1860
- if (s3 !== peg$FAILED) {
1861
- peg$savedPos = s0;
1862
- s0 = peg$f5(s1, s3);
1863
- } else {
1864
- peg$currPos = s0;
1865
- s0 = peg$FAILED;
1866
- }
1859
+ s3 = peg$parsesocketRGBW();
1860
+ peg$savedPos = s0;
1861
+ s0 = peg$f5(s1, s3);
1867
1862
  } else {
1868
1863
  peg$currPos = s0;
1869
1864
  s0 = peg$FAILED;
@@ -1876,7 +1871,7 @@ function peg$parse(input, options) {
1876
1871
  return s0;
1877
1872
  }
1878
1873
 
1879
- function peg$parseconditionSocketGroup() {
1874
+ function peg$parseconditionRarity() {
1880
1875
  var s0, s1, s2, s3;
1881
1876
 
1882
1877
  var rule$expects = function (expected) {
@@ -1885,18 +1880,23 @@ function peg$parse(input, options) {
1885
1880
 
1886
1881
  s0 = peg$currPos;
1887
1882
  rule$expects(peg$e21);
1888
- if (input.substr(peg$currPos, 11) === peg$c20) {
1883
+ if (input.substr(peg$currPos, 6) === peg$c20) {
1889
1884
  s1 = peg$c20;
1890
- peg$currPos += 11;
1885
+ peg$currPos += 6;
1891
1886
  } else {
1892
1887
  s1 = peg$FAILED;
1893
1888
  }
1894
1889
  if (s1 !== peg$FAILED) {
1895
1890
  s2 = peg$parse__();
1896
1891
  if (s2 !== peg$FAILED) {
1897
- s3 = peg$parsesocketRGBW();
1898
- peg$savedPos = s0;
1899
- s0 = peg$f5(s1, s3);
1892
+ s3 = peg$parseconditionValueRarity();
1893
+ if (s3 !== peg$FAILED) {
1894
+ peg$savedPos = s0;
1895
+ s0 = peg$f5(s1, s3);
1896
+ } else {
1897
+ peg$currPos = s0;
1898
+ s0 = peg$FAILED;
1899
+ }
1900
1900
  } else {
1901
1901
  peg$currPos = s0;
1902
1902
  s0 = peg$FAILED;
@@ -1909,7 +1909,7 @@ function peg$parse(input, options) {
1909
1909
  return s0;
1910
1910
  }
1911
1911
 
1912
- function peg$parseconditionRarity() {
1912
+ function peg$parseconditionBaseDefencePercentile() {
1913
1913
  var s0, s1, s2, s3;
1914
1914
 
1915
1915
  var rule$expects = function (expected) {
@@ -1918,16 +1918,16 @@ function peg$parse(input, options) {
1918
1918
 
1919
1919
  s0 = peg$currPos;
1920
1920
  rule$expects(peg$e22);
1921
- if (input.substr(peg$currPos, 6) === peg$c21) {
1921
+ if (input.substr(peg$currPos, 21) === peg$c21) {
1922
1922
  s1 = peg$c21;
1923
- peg$currPos += 6;
1923
+ peg$currPos += 21;
1924
1924
  } else {
1925
1925
  s1 = peg$FAILED;
1926
1926
  }
1927
1927
  if (s1 !== peg$FAILED) {
1928
1928
  s2 = peg$parse__();
1929
1929
  if (s2 !== peg$FAILED) {
1930
- s3 = peg$parseconditionValueRarity();
1930
+ s3 = peg$parseconditionValueNumber();
1931
1931
  if (s3 !== peg$FAILED) {
1932
1932
  peg$savedPos = s0;
1933
1933
  s0 = peg$f5(s1, s3);
@@ -1947,7 +1947,7 @@ function peg$parse(input, options) {
1947
1947
  return s0;
1948
1948
  }
1949
1949
 
1950
- function peg$parseconditionBaseDefencePercentile() {
1950
+ function peg$parseconditionBaseArmour() {
1951
1951
  var s0, s1, s2, s3;
1952
1952
 
1953
1953
  var rule$expects = function (expected) {
@@ -1956,9 +1956,9 @@ function peg$parse(input, options) {
1956
1956
 
1957
1957
  s0 = peg$currPos;
1958
1958
  rule$expects(peg$e23);
1959
- if (input.substr(peg$currPos, 21) === peg$c22) {
1959
+ if (input.substr(peg$currPos, 10) === peg$c22) {
1960
1960
  s1 = peg$c22;
1961
- peg$currPos += 21;
1961
+ peg$currPos += 10;
1962
1962
  } else {
1963
1963
  s1 = peg$FAILED;
1964
1964
  }
@@ -1985,7 +1985,7 @@ function peg$parse(input, options) {
1985
1985
  return s0;
1986
1986
  }
1987
1987
 
1988
- function peg$parseconditionBaseArmour() {
1988
+ function peg$parseconditionBaseEnergyShield() {
1989
1989
  var s0, s1, s2, s3;
1990
1990
 
1991
1991
  var rule$expects = function (expected) {
@@ -1994,9 +1994,9 @@ function peg$parse(input, options) {
1994
1994
 
1995
1995
  s0 = peg$currPos;
1996
1996
  rule$expects(peg$e24);
1997
- if (input.substr(peg$currPos, 10) === peg$c23) {
1997
+ if (input.substr(peg$currPos, 16) === peg$c23) {
1998
1998
  s1 = peg$c23;
1999
- peg$currPos += 10;
1999
+ peg$currPos += 16;
2000
2000
  } else {
2001
2001
  s1 = peg$FAILED;
2002
2002
  }
@@ -2023,7 +2023,7 @@ function peg$parse(input, options) {
2023
2023
  return s0;
2024
2024
  }
2025
2025
 
2026
- function peg$parseconditionBaseEnergyShield() {
2026
+ function peg$parseconditionBaseEvasion() {
2027
2027
  var s0, s1, s2, s3;
2028
2028
 
2029
2029
  var rule$expects = function (expected) {
@@ -2032,9 +2032,9 @@ function peg$parse(input, options) {
2032
2032
 
2033
2033
  s0 = peg$currPos;
2034
2034
  rule$expects(peg$e25);
2035
- if (input.substr(peg$currPos, 16) === peg$c24) {
2035
+ if (input.substr(peg$currPos, 11) === peg$c24) {
2036
2036
  s1 = peg$c24;
2037
- peg$currPos += 16;
2037
+ peg$currPos += 11;
2038
2038
  } else {
2039
2039
  s1 = peg$FAILED;
2040
2040
  }
@@ -2061,7 +2061,7 @@ function peg$parse(input, options) {
2061
2061
  return s0;
2062
2062
  }
2063
2063
 
2064
- function peg$parseconditionBaseEvasion() {
2064
+ function peg$parseconditionBaseWard() {
2065
2065
  var s0, s1, s2, s3;
2066
2066
 
2067
2067
  var rule$expects = function (expected) {
@@ -2070,9 +2070,9 @@ function peg$parse(input, options) {
2070
2070
 
2071
2071
  s0 = peg$currPos;
2072
2072
  rule$expects(peg$e26);
2073
- if (input.substr(peg$currPos, 11) === peg$c25) {
2073
+ if (input.substr(peg$currPos, 8) === peg$c25) {
2074
2074
  s1 = peg$c25;
2075
- peg$currPos += 11;
2075
+ peg$currPos += 8;
2076
2076
  } else {
2077
2077
  s1 = peg$FAILED;
2078
2078
  }
@@ -2099,7 +2099,7 @@ function peg$parse(input, options) {
2099
2099
  return s0;
2100
2100
  }
2101
2101
 
2102
- function peg$parseconditionBaseWard() {
2102
+ function peg$parseconditionFracturedItem() {
2103
2103
  var s0, s1, s2, s3;
2104
2104
 
2105
2105
  var rule$expects = function (expected) {
@@ -2108,16 +2108,16 @@ function peg$parse(input, options) {
2108
2108
 
2109
2109
  s0 = peg$currPos;
2110
2110
  rule$expects(peg$e27);
2111
- if (input.substr(peg$currPos, 8) === peg$c26) {
2111
+ if (input.substr(peg$currPos, 13) === peg$c26) {
2112
2112
  s1 = peg$c26;
2113
- peg$currPos += 8;
2113
+ peg$currPos += 13;
2114
2114
  } else {
2115
2115
  s1 = peg$FAILED;
2116
2116
  }
2117
2117
  if (s1 !== peg$FAILED) {
2118
2118
  s2 = peg$parse__();
2119
2119
  if (s2 !== peg$FAILED) {
2120
- s3 = peg$parseconditionValueNumber();
2120
+ s3 = peg$parseboolean();
2121
2121
  if (s3 !== peg$FAILED) {
2122
2122
  peg$savedPos = s0;
2123
2123
  s0 = peg$f5(s1, s3);
@@ -2137,7 +2137,7 @@ function peg$parse(input, options) {
2137
2137
  return s0;
2138
2138
  }
2139
2139
 
2140
- function peg$parseconditionShaperItem() {
2140
+ function peg$parseconditionSynthesisedItem() {
2141
2141
  var s0, s1, s2, s3;
2142
2142
 
2143
2143
  var rule$expects = function (expected) {
@@ -2146,9 +2146,9 @@ function peg$parse(input, options) {
2146
2146
 
2147
2147
  s0 = peg$currPos;
2148
2148
  rule$expects(peg$e28);
2149
- if (input.substr(peg$currPos, 10) === peg$c27) {
2149
+ if (input.substr(peg$currPos, 15) === peg$c27) {
2150
2150
  s1 = peg$c27;
2151
- peg$currPos += 10;
2151
+ peg$currPos += 15;
2152
2152
  } else {
2153
2153
  s1 = peg$FAILED;
2154
2154
  }
@@ -2175,7 +2175,7 @@ function peg$parse(input, options) {
2175
2175
  return s0;
2176
2176
  }
2177
2177
 
2178
- function peg$parseconditionElderItem() {
2178
+ function peg$parseconditionCorrupted() {
2179
2179
  var s0, s1, s2, s3;
2180
2180
 
2181
2181
  var rule$expects = function (expected) {
@@ -2213,7 +2213,7 @@ function peg$parse(input, options) {
2213
2213
  return s0;
2214
2214
  }
2215
2215
 
2216
- function peg$parseconditionFracturedItem() {
2216
+ function peg$parseconditionMirrored() {
2217
2217
  var s0, s1, s2, s3;
2218
2218
 
2219
2219
  var rule$expects = function (expected) {
@@ -2222,9 +2222,9 @@ function peg$parse(input, options) {
2222
2222
 
2223
2223
  s0 = peg$currPos;
2224
2224
  rule$expects(peg$e30);
2225
- if (input.substr(peg$currPos, 13) === peg$c29) {
2225
+ if (input.substr(peg$currPos, 8) === peg$c29) {
2226
2226
  s1 = peg$c29;
2227
- peg$currPos += 13;
2227
+ peg$currPos += 8;
2228
2228
  } else {
2229
2229
  s1 = peg$FAILED;
2230
2230
  }
@@ -2251,7 +2251,7 @@ function peg$parse(input, options) {
2251
2251
  return s0;
2252
2252
  }
2253
2253
 
2254
- function peg$parseconditionSynthesisedItem() {
2254
+ function peg$parseconditionIdentified() {
2255
2255
  var s0, s1, s2, s3;
2256
2256
 
2257
2257
  var rule$expects = function (expected) {
@@ -2260,9 +2260,9 @@ function peg$parse(input, options) {
2260
2260
 
2261
2261
  s0 = peg$currPos;
2262
2262
  rule$expects(peg$e31);
2263
- if (input.substr(peg$currPos, 15) === peg$c30) {
2263
+ if (input.substr(peg$currPos, 10) === peg$c30) {
2264
2264
  s1 = peg$c30;
2265
- peg$currPos += 15;
2265
+ peg$currPos += 10;
2266
2266
  } else {
2267
2267
  s1 = peg$FAILED;
2268
2268
  }
@@ -2289,7 +2289,7 @@ function peg$parse(input, options) {
2289
2289
  return s0;
2290
2290
  }
2291
2291
 
2292
- function peg$parseconditionCorrupted() {
2292
+ function peg$parseconditionScourged() {
2293
2293
  var s0, s1, s2, s3;
2294
2294
 
2295
2295
  var rule$expects = function (expected) {
@@ -2298,9 +2298,9 @@ function peg$parse(input, options) {
2298
2298
 
2299
2299
  s0 = peg$currPos;
2300
2300
  rule$expects(peg$e32);
2301
- if (input.substr(peg$currPos, 9) === peg$c31) {
2301
+ if (input.substr(peg$currPos, 8) === peg$c31) {
2302
2302
  s1 = peg$c31;
2303
- peg$currPos += 9;
2303
+ peg$currPos += 8;
2304
2304
  } else {
2305
2305
  s1 = peg$FAILED;
2306
2306
  }
@@ -2327,7 +2327,7 @@ function peg$parse(input, options) {
2327
2327
  return s0;
2328
2328
  }
2329
2329
 
2330
- function peg$parseconditionMirrored() {
2330
+ function peg$parseconditionShapedMap() {
2331
2331
  var s0, s1, s2, s3;
2332
2332
 
2333
2333
  var rule$expects = function (expected) {
@@ -2336,9 +2336,9 @@ function peg$parse(input, options) {
2336
2336
 
2337
2337
  s0 = peg$currPos;
2338
2338
  rule$expects(peg$e33);
2339
- if (input.substr(peg$currPos, 8) === peg$c32) {
2339
+ if (input.substr(peg$currPos, 9) === peg$c32) {
2340
2340
  s1 = peg$c32;
2341
- peg$currPos += 8;
2341
+ peg$currPos += 9;
2342
2342
  } else {
2343
2343
  s1 = peg$FAILED;
2344
2344
  }
@@ -2365,7 +2365,7 @@ function peg$parse(input, options) {
2365
2365
  return s0;
2366
2366
  }
2367
2367
 
2368
- function peg$parseconditionIdentified() {
2368
+ function peg$parseconditionElderMap() {
2369
2369
  var s0, s1, s2, s3;
2370
2370
 
2371
2371
  var rule$expects = function (expected) {
@@ -2374,9 +2374,9 @@ function peg$parse(input, options) {
2374
2374
 
2375
2375
  s0 = peg$currPos;
2376
2376
  rule$expects(peg$e34);
2377
- if (input.substr(peg$currPos, 10) === peg$c33) {
2377
+ if (input.substr(peg$currPos, 8) === peg$c33) {
2378
2378
  s1 = peg$c33;
2379
- peg$currPos += 10;
2379
+ peg$currPos += 8;
2380
2380
  } else {
2381
2381
  s1 = peg$FAILED;
2382
2382
  }
@@ -2403,7 +2403,7 @@ function peg$parse(input, options) {
2403
2403
  return s0;
2404
2404
  }
2405
2405
 
2406
- function peg$parseconditionScourged() {
2406
+ function peg$parseconditionBlightedMap() {
2407
2407
  var s0, s1, s2, s3;
2408
2408
 
2409
2409
  var rule$expects = function (expected) {
@@ -2412,9 +2412,9 @@ function peg$parse(input, options) {
2412
2412
 
2413
2413
  s0 = peg$currPos;
2414
2414
  rule$expects(peg$e35);
2415
- if (input.substr(peg$currPos, 8) === peg$c34) {
2415
+ if (input.substr(peg$currPos, 11) === peg$c34) {
2416
2416
  s1 = peg$c34;
2417
- peg$currPos += 8;
2417
+ peg$currPos += 11;
2418
2418
  } else {
2419
2419
  s1 = peg$FAILED;
2420
2420
  }
@@ -2441,7 +2441,7 @@ function peg$parse(input, options) {
2441
2441
  return s0;
2442
2442
  }
2443
2443
 
2444
- function peg$parseconditionShapedMap() {
2444
+ function peg$parseconditionUberBlightedMap() {
2445
2445
  var s0, s1, s2, s3;
2446
2446
 
2447
2447
  var rule$expects = function (expected) {
@@ -2450,9 +2450,9 @@ function peg$parse(input, options) {
2450
2450
 
2451
2451
  s0 = peg$currPos;
2452
2452
  rule$expects(peg$e36);
2453
- if (input.substr(peg$currPos, 9) === peg$c35) {
2453
+ if (input.substr(peg$currPos, 15) === peg$c35) {
2454
2454
  s1 = peg$c35;
2455
- peg$currPos += 9;
2455
+ peg$currPos += 15;
2456
2456
  } else {
2457
2457
  s1 = peg$FAILED;
2458
2458
  }
@@ -2479,7 +2479,7 @@ function peg$parse(input, options) {
2479
2479
  return s0;
2480
2480
  }
2481
2481
 
2482
- function peg$parseconditionElderMap() {
2482
+ function peg$parseconditionHeight() {
2483
2483
  var s0, s1, s2, s3;
2484
2484
 
2485
2485
  var rule$expects = function (expected) {
@@ -2488,16 +2488,16 @@ function peg$parse(input, options) {
2488
2488
 
2489
2489
  s0 = peg$currPos;
2490
2490
  rule$expects(peg$e37);
2491
- if (input.substr(peg$currPos, 8) === peg$c36) {
2491
+ if (input.substr(peg$currPos, 6) === peg$c36) {
2492
2492
  s1 = peg$c36;
2493
- peg$currPos += 8;
2493
+ peg$currPos += 6;
2494
2494
  } else {
2495
2495
  s1 = peg$FAILED;
2496
2496
  }
2497
2497
  if (s1 !== peg$FAILED) {
2498
2498
  s2 = peg$parse__();
2499
2499
  if (s2 !== peg$FAILED) {
2500
- s3 = peg$parseboolean();
2500
+ s3 = peg$parseconditionValueNumber();
2501
2501
  if (s3 !== peg$FAILED) {
2502
2502
  peg$savedPos = s0;
2503
2503
  s0 = peg$f5(s1, s3);
@@ -2517,7 +2517,7 @@ function peg$parse(input, options) {
2517
2517
  return s0;
2518
2518
  }
2519
2519
 
2520
- function peg$parseconditionBlightedMap() {
2520
+ function peg$parseconditionWidth() {
2521
2521
  var s0, s1, s2, s3;
2522
2522
 
2523
2523
  var rule$expects = function (expected) {
@@ -2526,16 +2526,16 @@ function peg$parse(input, options) {
2526
2526
 
2527
2527
  s0 = peg$currPos;
2528
2528
  rule$expects(peg$e38);
2529
- if (input.substr(peg$currPos, 11) === peg$c37) {
2529
+ if (input.substr(peg$currPos, 5) === peg$c37) {
2530
2530
  s1 = peg$c37;
2531
- peg$currPos += 11;
2531
+ peg$currPos += 5;
2532
2532
  } else {
2533
2533
  s1 = peg$FAILED;
2534
2534
  }
2535
2535
  if (s1 !== peg$FAILED) {
2536
2536
  s2 = peg$parse__();
2537
2537
  if (s2 !== peg$FAILED) {
2538
- s3 = peg$parseboolean();
2538
+ s3 = peg$parseconditionValueNumber();
2539
2539
  if (s3 !== peg$FAILED) {
2540
2540
  peg$savedPos = s0;
2541
2541
  s0 = peg$f5(s1, s3);
@@ -2555,7 +2555,7 @@ function peg$parse(input, options) {
2555
2555
  return s0;
2556
2556
  }
2557
2557
 
2558
- function peg$parseconditionUberBlightedMap() {
2558
+ function peg$parseconditionCorruptedMods() {
2559
2559
  var s0, s1, s2, s3;
2560
2560
 
2561
2561
  var rule$expects = function (expected) {
@@ -2564,16 +2564,16 @@ function peg$parse(input, options) {
2564
2564
 
2565
2565
  s0 = peg$currPos;
2566
2566
  rule$expects(peg$e39);
2567
- if (input.substr(peg$currPos, 15) === peg$c38) {
2567
+ if (input.substr(peg$currPos, 13) === peg$c38) {
2568
2568
  s1 = peg$c38;
2569
- peg$currPos += 15;
2569
+ peg$currPos += 13;
2570
2570
  } else {
2571
2571
  s1 = peg$FAILED;
2572
2572
  }
2573
2573
  if (s1 !== peg$FAILED) {
2574
2574
  s2 = peg$parse__();
2575
2575
  if (s2 !== peg$FAILED) {
2576
- s3 = peg$parseboolean();
2576
+ s3 = peg$parseconditionValueNumber();
2577
2577
  if (s3 !== peg$FAILED) {
2578
2578
  peg$savedPos = s0;
2579
2579
  s0 = peg$f5(s1, s3);
@@ -2593,7 +2593,7 @@ function peg$parse(input, options) {
2593
2593
  return s0;
2594
2594
  }
2595
2595
 
2596
- function peg$parseconditionHeight() {
2596
+ function peg$parseconditionEnchantmentPassiveNum() {
2597
2597
  var s0, s1, s2, s3;
2598
2598
 
2599
2599
  var rule$expects = function (expected) {
@@ -2602,9 +2602,9 @@ function peg$parse(input, options) {
2602
2602
 
2603
2603
  s0 = peg$currPos;
2604
2604
  rule$expects(peg$e40);
2605
- if (input.substr(peg$currPos, 6) === peg$c39) {
2605
+ if (input.substr(peg$currPos, 21) === peg$c39) {
2606
2606
  s1 = peg$c39;
2607
- peg$currPos += 6;
2607
+ peg$currPos += 21;
2608
2608
  } else {
2609
2609
  s1 = peg$FAILED;
2610
2610
  }
@@ -2631,7 +2631,7 @@ function peg$parse(input, options) {
2631
2631
  return s0;
2632
2632
  }
2633
2633
 
2634
- function peg$parseconditionWidth() {
2634
+ function peg$parseconditionHasExplicitMod() {
2635
2635
  var s0, s1, s2, s3;
2636
2636
 
2637
2637
  var rule$expects = function (expected) {
@@ -2640,16 +2640,16 @@ function peg$parse(input, options) {
2640
2640
 
2641
2641
  s0 = peg$currPos;
2642
2642
  rule$expects(peg$e41);
2643
- if (input.substr(peg$currPos, 5) === peg$c40) {
2643
+ if (input.substr(peg$currPos, 14) === peg$c40) {
2644
2644
  s1 = peg$c40;
2645
- peg$currPos += 5;
2645
+ peg$currPos += 14;
2646
2646
  } else {
2647
2647
  s1 = peg$FAILED;
2648
2648
  }
2649
2649
  if (s1 !== peg$FAILED) {
2650
2650
  s2 = peg$parse__();
2651
2651
  if (s2 !== peg$FAILED) {
2652
- s3 = peg$parseconditionValueNumber();
2652
+ s3 = peg$parseconditionValueNumericAndArray();
2653
2653
  if (s3 !== peg$FAILED) {
2654
2654
  peg$savedPos = s0;
2655
2655
  s0 = peg$f5(s1, s3);
@@ -2669,7 +2669,7 @@ function peg$parse(input, options) {
2669
2669
  return s0;
2670
2670
  }
2671
2671
 
2672
- function peg$parseconditionCorruptedMods() {
2672
+ function peg$parseconditionHasEaterOfWorldsImplicit() {
2673
2673
  var s0, s1, s2, s3;
2674
2674
 
2675
2675
  var rule$expects = function (expected) {
@@ -2678,9 +2678,9 @@ function peg$parse(input, options) {
2678
2678
 
2679
2679
  s0 = peg$currPos;
2680
2680
  rule$expects(peg$e42);
2681
- if (input.substr(peg$currPos, 13) === peg$c41) {
2681
+ if (input.substr(peg$currPos, 24) === peg$c41) {
2682
2682
  s1 = peg$c41;
2683
- peg$currPos += 13;
2683
+ peg$currPos += 24;
2684
2684
  } else {
2685
2685
  s1 = peg$FAILED;
2686
2686
  }
@@ -2707,7 +2707,7 @@ function peg$parse(input, options) {
2707
2707
  return s0;
2708
2708
  }
2709
2709
 
2710
- function peg$parseconditionEnchantmentPassiveNum() {
2710
+ function peg$parseconditionHasSearingExarchImplicit() {
2711
2711
  var s0, s1, s2, s3;
2712
2712
 
2713
2713
  var rule$expects = function (expected) {
@@ -2716,9 +2716,9 @@ function peg$parse(input, options) {
2716
2716
 
2717
2717
  s0 = peg$currPos;
2718
2718
  rule$expects(peg$e43);
2719
- if (input.substr(peg$currPos, 21) === peg$c42) {
2719
+ if (input.substr(peg$currPos, 24) === peg$c42) {
2720
2720
  s1 = peg$c42;
2721
- peg$currPos += 21;
2721
+ peg$currPos += 24;
2722
2722
  } else {
2723
2723
  s1 = peg$FAILED;
2724
2724
  }
@@ -2745,7 +2745,7 @@ function peg$parse(input, options) {
2745
2745
  return s0;
2746
2746
  }
2747
2747
 
2748
- function peg$parseconditionHasExplicitMod() {
2748
+ function peg$parseconditionAnyEnchantment() {
2749
2749
  var s0, s1, s2, s3;
2750
2750
 
2751
2751
  var rule$expects = function (expected) {
@@ -2763,7 +2763,7 @@ function peg$parse(input, options) {
2763
2763
  if (s1 !== peg$FAILED) {
2764
2764
  s2 = peg$parse__();
2765
2765
  if (s2 !== peg$FAILED) {
2766
- s3 = peg$parseconditionValueNumericAndArray();
2766
+ s3 = peg$parseboolean();
2767
2767
  if (s3 !== peg$FAILED) {
2768
2768
  peg$savedPos = s0;
2769
2769
  s0 = peg$f5(s1, s3);
@@ -2783,7 +2783,7 @@ function peg$parse(input, options) {
2783
2783
  return s0;
2784
2784
  }
2785
2785
 
2786
- function peg$parseconditionAnyEnchantment() {
2786
+ function peg$parseconditionHasEnchantment() {
2787
2787
  var s0, s1, s2, s3;
2788
2788
 
2789
2789
  var rule$expects = function (expected) {
@@ -2801,7 +2801,7 @@ function peg$parse(input, options) {
2801
2801
  if (s1 !== peg$FAILED) {
2802
2802
  s2 = peg$parse__();
2803
2803
  if (s2 !== peg$FAILED) {
2804
- s3 = peg$parseboolean();
2804
+ s3 = peg$parseconditionValueNumericAndArray();
2805
2805
  if (s3 !== peg$FAILED) {
2806
2806
  peg$savedPos = s0;
2807
2807
  s0 = peg$f5(s1, s3);
@@ -2821,7 +2821,7 @@ function peg$parse(input, options) {
2821
2821
  return s0;
2822
2822
  }
2823
2823
 
2824
- function peg$parseconditionHasEnchantment() {
2824
+ function peg$parseconditionHasInfluence() {
2825
2825
  var s0, s1, s2, s3;
2826
2826
 
2827
2827
  var rule$expects = function (expected) {
@@ -2830,16 +2830,16 @@ function peg$parse(input, options) {
2830
2830
 
2831
2831
  s0 = peg$currPos;
2832
2832
  rule$expects(peg$e46);
2833
- if (input.substr(peg$currPos, 14) === peg$c45) {
2833
+ if (input.substr(peg$currPos, 12) === peg$c45) {
2834
2834
  s1 = peg$c45;
2835
- peg$currPos += 14;
2835
+ peg$currPos += 12;
2836
2836
  } else {
2837
2837
  s1 = peg$FAILED;
2838
2838
  }
2839
2839
  if (s1 !== peg$FAILED) {
2840
2840
  s2 = peg$parse__();
2841
2841
  if (s2 !== peg$FAILED) {
2842
- s3 = peg$parseconditionValueNumericAndArray();
2842
+ s3 = peg$parseconditionValueArrayOrNone();
2843
2843
  if (s3 !== peg$FAILED) {
2844
2844
  peg$savedPos = s0;
2845
2845
  s0 = peg$f5(s1, s3);
@@ -2859,7 +2859,7 @@ function peg$parse(input, options) {
2859
2859
  return s0;
2860
2860
  }
2861
2861
 
2862
- function peg$parseconditionHasInfluence() {
2862
+ function peg$parseconditionEnchantmentPassiveNode() {
2863
2863
  var s0, s1, s2, s3;
2864
2864
 
2865
2865
  var rule$expects = function (expected) {
@@ -2868,16 +2868,16 @@ function peg$parse(input, options) {
2868
2868
 
2869
2869
  s0 = peg$currPos;
2870
2870
  rule$expects(peg$e47);
2871
- if (input.substr(peg$currPos, 12) === peg$c46) {
2871
+ if (input.substr(peg$currPos, 22) === peg$c46) {
2872
2872
  s1 = peg$c46;
2873
- peg$currPos += 12;
2873
+ peg$currPos += 22;
2874
2874
  } else {
2875
2875
  s1 = peg$FAILED;
2876
2876
  }
2877
2877
  if (s1 !== peg$FAILED) {
2878
2878
  s2 = peg$parse__();
2879
2879
  if (s2 !== peg$FAILED) {
2880
- s3 = peg$parseconditionValueArrayOrNone();
2880
+ s3 = peg$parseconditionValueArray();
2881
2881
  if (s3 !== peg$FAILED) {
2882
2882
  peg$savedPos = s0;
2883
2883
  s0 = peg$f5(s1, s3);
@@ -2897,7 +2897,7 @@ function peg$parse(input, options) {
2897
2897
  return s0;
2898
2898
  }
2899
2899
 
2900
- function peg$parseconditionEnchantmentPassiveNode() {
2900
+ function peg$parseconditionAlternateQuality() {
2901
2901
  var s0, s1, s2, s3;
2902
2902
 
2903
2903
  var rule$expects = function (expected) {
@@ -2906,16 +2906,16 @@ function peg$parse(input, options) {
2906
2906
 
2907
2907
  s0 = peg$currPos;
2908
2908
  rule$expects(peg$e48);
2909
- if (input.substr(peg$currPos, 22) === peg$c47) {
2909
+ if (input.substr(peg$currPos, 16) === peg$c47) {
2910
2910
  s1 = peg$c47;
2911
- peg$currPos += 22;
2911
+ peg$currPos += 16;
2912
2912
  } else {
2913
2913
  s1 = peg$FAILED;
2914
2914
  }
2915
2915
  if (s1 !== peg$FAILED) {
2916
2916
  s2 = peg$parse__();
2917
2917
  if (s2 !== peg$FAILED) {
2918
- s3 = peg$parseconditionValueArray();
2918
+ s3 = peg$parseboolean();
2919
2919
  if (s3 !== peg$FAILED) {
2920
2920
  peg$savedPos = s0;
2921
2921
  s0 = peg$f5(s1, s3);
@@ -2935,7 +2935,7 @@ function peg$parse(input, options) {
2935
2935
  return s0;
2936
2936
  }
2937
2937
 
2938
- function peg$parseconditionAlternateQuality() {
2938
+ function peg$parseconditionReplica() {
2939
2939
  var s0, s1, s2, s3;
2940
2940
 
2941
2941
  var rule$expects = function (expected) {
@@ -2944,9 +2944,9 @@ function peg$parse(input, options) {
2944
2944
 
2945
2945
  s0 = peg$currPos;
2946
2946
  rule$expects(peg$e49);
2947
- if (input.substr(peg$currPos, 16) === peg$c48) {
2947
+ if (input.substr(peg$currPos, 7) === peg$c48) {
2948
2948
  s1 = peg$c48;
2949
- peg$currPos += 16;
2949
+ peg$currPos += 7;
2950
2950
  } else {
2951
2951
  s1 = peg$FAILED;
2952
2952
  }
@@ -2973,7 +2973,7 @@ function peg$parse(input, options) {
2973
2973
  return s0;
2974
2974
  }
2975
2975
 
2976
- function peg$parseconditionReplica() {
2976
+ function peg$parseconditionArchnemesisMod() {
2977
2977
  var s0, s1, s2, s3;
2978
2978
 
2979
2979
  var rule$expects = function (expected) {
@@ -2982,16 +2982,16 @@ function peg$parse(input, options) {
2982
2982
 
2983
2983
  s0 = peg$currPos;
2984
2984
  rule$expects(peg$e50);
2985
- if (input.substr(peg$currPos, 7) === peg$c49) {
2985
+ if (input.substr(peg$currPos, 14) === peg$c49) {
2986
2986
  s1 = peg$c49;
2987
- peg$currPos += 7;
2987
+ peg$currPos += 14;
2988
2988
  } else {
2989
2989
  s1 = peg$FAILED;
2990
2990
  }
2991
2991
  if (s1 !== peg$FAILED) {
2992
2992
  s2 = peg$parse__();
2993
2993
  if (s2 !== peg$FAILED) {
2994
- s3 = peg$parseboolean();
2994
+ s3 = peg$parseconditionValueArray();
2995
2995
  if (s3 !== peg$FAILED) {
2996
2996
  peg$savedPos = s0;
2997
2997
  s0 = peg$f5(s1, s3);