From cffb2e9eb57199d437e244397ab2b4fe544ac370 Mon Sep 17 00:00:00 2001 From: dozens Date: Mon, 5 Sep 2022 11:58:14 -0600 Subject: [PATCH] episode 4 --- README.md | 4 + doc/database.md | 37 +++ doc/engine.md | 13 + doc/feed.md | 2 +- ed/journalitem.ed | 5 +- justfile | 4 + src/00004-pinky.md | 65 +++++ src/00004.md | 29 -- src/about.md | 41 ++- src/index.md | 1 + src/journal.draft | 7 +- src/journal.md | 59 ++++ templates/blogitem.rec.template | 4 +- templates/journalitem.rec.template | 6 + www/00004-pinky.html | 194 +++++++++++++ www/00004.html | 183 ------------ www/about.html | 39 ++- www/episodes.xml | 435 ++++++++++++----------------- www/index.html | 1 + www/journal.html | 42 +++ www/journal.xml | 122 ++++++++ 21 files changed, 793 insertions(+), 500 deletions(-) create mode 100644 doc/database.md create mode 100644 doc/engine.md create mode 100644 src/00004-pinky.md delete mode 100644 src/00004.md create mode 100644 www/00004-pinky.html delete mode 100644 www/00004.html diff --git a/README.md b/README.md index 4aebb06..746cabd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # brighter worlds +http://tilde.town/~dozens/clericthief/index.html + +## about + i have an urge to play some Brighter Worlds https://awkwardturtle.itch.io/brighter-worlds diff --git a/doc/database.md b/doc/database.md new file mode 100644 index 0000000..2b058f7 --- /dev/null +++ b/doc/database.md @@ -0,0 +1,37 @@ +# Database + +## Situation + +One thing that a good game master emulator / oracle / solo engine will do is add complications to a scene. + +This often looks something like "An NPC suddenly acts!" or "A plot thread advances / closes." + +This makes for unexpected and interesting situations. + +And it necessitates keeping a list of NPCs and threads. + +## Task + +I needed to create a database. + +A plain text file is probably mostly okay, but I want to be able to easily select a random entry, and to update entries with notes, etc. Maybe have a 'status' column for 'missing, active, dead' etc. + +## Action + +So of course I made some recfiles. + +Check them out in `/db`. + +## Results + +I can quite easily select a random NPC now. + +``` +recsel -P name -m 1 db/npc.rec +``` + +I would like to write a script to quickly append a note to a record. One nice feature of records is that you can have repeated fields. That is, it's perfectly fine to have many `note:` fields. When querying, you'll just get them all as a list. So updating via appending new `note` fields ought to be a cinch. + +In the meantime, sometimes my playing/writing is figuring out the tangled web of motivations. And a lot of that discovery comes from just opening up my recfile in an editor and jamming. + +Then I can go get my narrative on afterwards. diff --git a/doc/engine.md b/doc/engine.md new file mode 100644 index 0000000..64effd2 --- /dev/null +++ b/doc/engine.md @@ -0,0 +1,13 @@ +# game engine + +I'm using the One Page Solo Engine + + + +What I did was download the plain text version and turn all of the table into, you guessed it, recfile records. + +It's a little messy. But it works. + +See the whole thing over here: + + diff --git a/doc/feed.md b/doc/feed.md index cb423e1..6243455 100644 --- a/doc/feed.md +++ b/doc/feed.md @@ -60,7 +60,7 @@ updated: 2022-09-01 ed commands: - `g/BEGIN/ka` - find 'BEGIN' and make a bookmark `a` -- `g/END/kb` - find 'END' and make a bookmark `a` +- `g/END/kb` - find 'END' and make a bookmark `b` - `1,'ad` - delete eveything from the 1st line up through bookmark a - `'b,$d` - delete from 'b to the end of the file diff --git a/ed/journalitem.ed b/ed/journalitem.ed index 5355932..1c1004e 100644 --- a/ed/journalitem.ed +++ b/ed/journalitem.ed @@ -3,12 +3,11 @@ g/BEGIN/ka g/END/kb 1,'ad 'b,$d -g/^$/d g/^##/+s/^/note: / v/^note/s/^/+ / %s/+ ##/##/ -%s/^##