fixed # 新增药水机制

This commit is contained in:
2026-11-23 23:45:37 +08:00
parent f955716c97
commit 0eeba640ae
45 changed files with 1053 additions and 235 deletions
+2 -1
View File
@@ -4,8 +4,9 @@ const crypto = require('node:crypto');
const { pathToFileURL } = require('node:url');
(async () => {
const root = path.resolve(__dirname, '..');
const { getSts2Atlas } = await import('./sts2-atlas.js');
const source = getSts2Atlas('power_atlas.sprites');
const { statusIconNames } = await import(pathToFileURL(path.join(root, 'ui/hud/status-model.js')).href);
const source = path.join(root, 'assets/sts2/Godot_Atlas_Sprites_v0.111.0/images/atlases/power_atlas.sprites');
const output = path.join(root, 'assets/status');
fs.mkdirSync(output, {recursive:true});
const entries = [], missing = [];