feat(players): NPC disposition types and launch-with-players session tokens
Add Hostile/Neutral/Friendly ring types with session-only inactive overrides on control, plus launch-with-players flow and live player tokens on the map. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -47,7 +47,7 @@ async function seedProjectWithNpcAndPlacement(
|
||||
const npcUpsert = await invokeInRenderer<{ project: Project }>(page, 'project.upsertNpc', {
|
||||
name: `Guard ${Date.now()}`,
|
||||
filePath: sampleImagePath,
|
||||
ringColor: '#c9a227',
|
||||
disposition: 'neutral',
|
||||
imageOffset: { x: 0, y: 0 },
|
||||
});
|
||||
const npc = npcUpsert.project.npcs[npcUpsert.project.npcs.length - 1]!;
|
||||
@@ -63,6 +63,7 @@ async function seedProjectWithNpcAndPlacement(
|
||||
nx: 0.35,
|
||||
ny: 0.4,
|
||||
sizeN: 0.12,
|
||||
disposition: 'neutral',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user