ownership: player keeps own status and records; housekeeping rings-only
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<!-- GENERATED by tool/memory.mjs render — do not edit by hand. -->
|
||||
<!-- The player's own current state, maintained via ((status key: value)) in OOC. -->
|
||||
<!-- Stances are feelings; facts live in the rings. GM overrides are rare and journaled. -->
|
||||
|
||||
# Status
|
||||
|
||||
(nothing set — fresh start)
|
||||
@@ -29,12 +29,21 @@ CREATE TABLE IF NOT EXISTS records (
|
||||
created TEXT NOT NULL
|
||||
);
|
||||
|
||||
-- the player's own current state: mood, outfit, stances toward people.
|
||||
-- state, not memory — no history, no decay, updated in place.
|
||||
-- written by the player (((status key: value))); GM overrides are rare and journaled.
|
||||
CREATE TABLE IF NOT EXISTS status (
|
||||
key TEXT PRIMARY KEY,
|
||||
value TEXT NOT NULL,
|
||||
updated TEXT NOT NULL
|
||||
);
|
||||
|
||||
-- append-only audit journal; nothing here is ever updated or deleted.
|
||||
-- target is 'e<id>' for entries, 'r<id>' for records.
|
||||
-- target is 'e<id>' for entries, 'r<id>' for records, 's:<key>' for status.
|
||||
CREATE TABLE IF NOT EXISTS events (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
window TEXT NOT NULL,
|
||||
op TEXT NOT NULL CHECK (op IN ('insert', 'touch', 'promote', 'demote', 'reword', 'delete', 'evict', 'revive', 'record', 'archive', 'unarchive')),
|
||||
op TEXT NOT NULL CHECK (op IN ('insert', 'touch', 'promote', 'demote', 'reword', 'delete', 'evict', 'revive', 'record', 'archive', 'unarchive', 'amend', 'discard', 'status')),
|
||||
target TEXT NOT NULL,
|
||||
reason TEXT NOT NULL DEFAULT ''
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user