This commit is contained in:
2026-04-27 22:50:18 +08:00
parent ded6f6ee2a
commit b6c6640548
77 changed files with 5240 additions and 833 deletions

View File

@@ -1,5 +1,6 @@
import { resolveCustomWorldCampScene } from '../services/customWorldCamp';
import { buildCustomCampSceneName } from '../services/customWorldPresentation';
import { resolveCustomWorldRoleIdReferences } from '../services/customWorldRoleReferences';
import {
buildFallbackActorNarrativeProfile,
normalizeActorNarrativeProfile,
@@ -406,9 +407,11 @@ function collectSceneActNpcIdsForScene(
}
chapter.acts.forEach((act) => {
pushNpcId(act.primaryNpcId);
pushNpcId(act.oppositeNpcId);
act.encounterNpcIds.forEach(pushNpcId);
resolveCustomWorldRoleIdReferences(profile, [
act.primaryNpcId,
act.oppositeNpcId,
...act.encounterNpcIds,
]).forEach(pushNpcId);
});
});