tools: name players through player.setname, and the character groups and four fault classes (#23)

This commit is contained in:
2026-11-15 12:01:30 +01:00
parent f134534c6c
commit c4b97ec16c
10 changed files with 405 additions and 132 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ async function setup(farWalls, nearWalls = []) {
for (const w of nearWalls) await addWall(w)
for (const w of farWalls) await addWall(w)
const player = await createPlayer(gm)
await namePlayer(stateDir, player.id, 'Prober')
await namePlayer(s.origin, player.key, 'Prober')
const tok = await gm.request({ t: 'token.create', scene, kind: 'pc', pos: START,
descriptive_name: 'prober', actual_name: 'Prober',
controller: player.id, flags: { vision: true } })