[projectaon] Re: Flowcharts

  • From: Jonathan Blake <jonathan.blake@xxxxxxxxxxxxxx>
  • To: projectaon@xxxxxxxxxxxxx
  • Date: Mon, 12 Nov 2012 11:59:45 -0800

On Sun, Nov 11, 2012 at 10:15 AM, David KubeÄka <davidkubecka@xxxxxxxxx> wrote:
>
> 1) There is some inconsistency about what XML tag is used for 'death
> paragraphs' - places in sections where Lone Wolf dies. Sometimes it is tag
> <p> and sometimes <choice>. Morever above mentioned sections with riddles
> usually (but not always) also use <choice> tag. That makes handling these
> exceptional sections quite hard to handle authomatically. I therefore
> suggest that there would be separate tag for each of these cases and its
> usage would be consistent throughout all books. Namely: <p> for normal text,
> <choice> only for text which references another section, <death> only for
> LW's deaths and <riddle> for various riddles, locks etc. The HTML form of
> the last three tags could be the same as it is now. That would make the
> whole design slightly cleaner as well as help me (or anyone else) parsing
> the source files.

I like your suggestions. That makes a lot of sense. I can add those
elements to the DTD and XSLT stylesheets quickly enough, but would
need someone else to handle implementing them in the XML source
documents.

So here's what I see to add:

<death> on the last or death paragraph of a section that leads nowhere.

<riddle idref="sectXXX"> on a the paragraph that tells you to find the
numbered section corresponding to the answer to the riddle/puzzle.

Thoughts?

> That was the issue which causes me most problems during my work. Others are
> not so serious and some of them can be solved quite easily.
> 2) In book 9 you can find Vial of Blue Pills and if you examine it closely
> the text on section 29 tells you "Record both doses of Sabito on your <a
> idref="action">Action Chart</a> as a single Backpack Item." But later on you
> are asked "If you have a Vial of Blue Pills, ...". I think this could be
> unified to mention Vial of Blue Pills on sect.29 as well.

I'm not clear on what this means for your program. Is this just an
issue for someone reading the chart?

Your program may help us also enhance the XML source files that may
help you and might eventually help anyone writing an automated game.
In the XML, we could add some metadata about the choices like this:

<choice idref="sectXXX">
 <requires>
  <item item-id="sabito" quantity="1"/>
 </requires>
 ...
</choice>

In the section where you can pick up the item:

<item item-id="sabito" action="add" type="backpack" quantity="2">Sabito</item>

Just something that's been kicked around for a while but we haven't
really had time to implement.

--
Jon

~~~~~~
Manage your subscription at http://www.freelists.org/list/projectaon


Other related posts: