[projectaon] Re: Flowcharts

  • From: Chris Neilson <crusty.chris@xxxxxxxxx>
  • To: projectaon@xxxxxxxxxxxxx
  • Date: Tue, 13 Nov 2012 09:55:15 +1300


On 13/11/12 08:59, Jonathan Blake wrote:
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.

the only issue i could potentially see here is if you can fail an adventure without dying (eg running out of time).
perhaps <adventure_fail> or something more generic than "death"?
admittedly this is a little nit-picky :)

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

Thoughts?

Seems like a solid idea (unless you can get to a riddle answer from two different sections - can you have two idrefs?)

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?

I believe the issue is that the items refer to the same thing but are referred to with different names. So in one section you get item A but later you need item B to get to a particular section. I human is likely able to detect they are the same thing, but an automated SVG-generator sees them as different items (because the text doesnt match exactly).

Personally, I would tend to agree with this request anyway (specifically i would want to standardize on either "blue pills" or "sabito" depending on whichever made more sense). I mean in one section its telling you to write "sabito" on your action chart and the next its asking if you have "blue pills" written there - which technically, you do not.


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




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


Other related posts: