cortico-world-extra-actions 0.3.7 → 0.3.8
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/package.json +1 -1
- package/src/writer.js +2 -0
package/package.json
CHANGED
package/src/writer.js
CHANGED
|
@@ -553,6 +553,8 @@ export function inspect({ packDir, libraryDir, catalog }) {
|
|
|
553
553
|
if (!libraryDir || !existsSync(libraryDir)) problems.push(`动作库目录不存在:${libraryDir}`);
|
|
554
554
|
const missing = [];
|
|
555
555
|
for (const a of catalog) {
|
|
556
|
+
// 身体状态段(idle/walk/drag/turn)本来就没有触发词,它们不是"可加的动作",跳过
|
|
557
|
+
if (!a.word) continue;
|
|
556
558
|
if (actionProblem(a)) { missing.push(a.id); continue; }
|
|
557
559
|
const dir = join(libraryDir || '', 'actions', a.category, a.id);
|
|
558
560
|
if (!existsSync(dir)) missing.push(a.id);
|