tools: name players through player.setname, and the character groups and four fault classes (#23)
This commit is contained in:
@@ -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 } })
|
||||
|
||||
Reference in New Issue
Block a user