Release Healer Man 0.1.59
This commit is contained in:
1 parent
11934a3979
commit
ab1434a3b8
44 files changed
+1242
-103
No files matched your search
@@ -3,12 +3,15 @@ const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const out = path.resolve('playtest-artifacts/bite-sized-spawns');
|
||||
const out = path.resolve(process.env.BITE_SIZED_PLAYTEST_DIR || 'playtest-artifacts/bite-sized-spawns');
|
||||
fs.mkdirSync(out, { recursive: true });
|
||||
const locations = [
|
||||
const defaultLocations = [
|
||||
{ id: 'bite-sized-wailing-caverns', name: 'wailing' },
|
||||
{ id: 'bite-sized-utgarde-pinnacle-skadi', name: 'utgarde' },
|
||||
];
|
||||
const locations = process.env.BITE_SIZED_PLAYTEST_IDS
|
||||
? process.env.BITE_SIZED_PLAYTEST_IDS.split(',').map((id) => ({ id, name: id }))
|
||||
: defaultLocations;
|
||||
|
||||
async function gameState(page) {
|
||||
return page.evaluate(async () => {
|
||||
|
||||
@@ -25,6 +25,7 @@ const files = {
|
||||
objectStruct: path.join(sourceRoot, "SourceCodeVS2019", "Libraries", "Union", "RoleData", "ObjectStruct.h"),
|
||||
};
|
||||
const outputFile = path.join(projectRoot, "src", "game", "romPlayerCatalog.generated.json");
|
||||
const growthOutputFile = path.join(projectRoot, "src", "game", "romBaseStatGrowth.generated.json");
|
||||
const auditFile = path.join(scriptDirectory, "snapshots", "runewaker-player-skill-audit.json");
|
||||
const interfaceFdb = path.join(resourceRoot, "fdb", "interface.fdb");
|
||||
const iconOutputDirectory = path.join(projectRoot, "public", "assets", "ui", "rom-spells");
|
||||
@@ -598,6 +599,7 @@ await mkdir(path.dirname(outputFile), { recursive: true });
|
||||
await mkdir(path.dirname(auditFile), { recursive: true });
|
||||
await Promise.all([
|
||||
writeFile(outputFile, `${JSON.stringify(catalog)}\n`),
|
||||
writeFile(growthOutputFile, `${JSON.stringify(catalog.baseStatGrowth)}\n`),
|
||||
writeFile(auditFile, `${JSON.stringify(audit, null, 2)}\n`),
|
||||
]);
|
||||
console.log(`Generated ${ordinarySkills.length} ordinary families and ${eliteSkills.length} ordered-pair elite skills.`);
|
||||
|
||||
Reference in new issue
Block a user