Store item actor ids with display-name snapshots and nickname carrier display
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"createdBy": "user-id",
|
||||
"createdByName": "username",
|
||||
"updatedBy": "user-id",
|
||||
"updatedByName": "username",
|
||||
"createdAt": 1735689600000,
|
||||
"updatedAt": 1735689600000,
|
||||
"version": 1,
|
||||
@@ -25,7 +27,8 @@
|
||||
- `useSound`: optional client-played one-shot sound when item `use` succeeds; global item field and not user-editable in V1.
|
||||
- `emitSound`: optional continuously-looping spatial sound emitted from the item on the grid; global item field and not user-editable in V1.
|
||||
- `capabilities`, `useSound`, and `emitSound` are derived from global item-type definitions at runtime (not stored per-instance in persisted state).
|
||||
- `updatedBy` tracks the user account that last changed item state.
|
||||
- `createdBy` / `updatedBy` are stable user IDs.
|
||||
- `createdByName` / `updatedByName` are display-name snapshots used for inspect/readout text.
|
||||
- `useCooldownMs`: global per item type (`radio_station=1000`, `dice=1000`, `wheel=4000`, `clock=1000`, `widget=1000`, `piano=1000`), not per-instance editable.
|
||||
- `emitRange`: global spatial range default per item type (`radio_station=10`, `dice=15`, `wheel=15`, `clock=10`, `widget=15`, `piano=15`).
|
||||
- `radio_station` can override this per instance via `params.emitRange` (`5..20`).
|
||||
@@ -41,7 +44,9 @@
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"createdBy": "user-id",
|
||||
"createdByName": "username",
|
||||
"updatedBy": "user-id",
|
||||
"updatedByName": "username",
|
||||
"createdAt": 1735689600000,
|
||||
"updatedAt": 1735689600000,
|
||||
"version": 1,
|
||||
|
||||
Reference in New Issue
Block a user