Pelle Nilsson
116ca6fad1
Include templates from a template.
...
Should make it much easier to override specific parts of default templates.
2013-06-10 21:43:03 +02:00
Pelle Nilsson
18c76ce0b0
Xor (ex-haselse) and Auto modifiers on secrion references.
2013-06-10 21:21:13 +02:00
Pelle Nilsson
ec7a054d42
haselse hack to enable or disable one link the opposite of the previous one
2013-06-10 19:13:45 +02:00
Pelle Nilsson
2d9ee26818
todo
2013-06-09 01:04:02 +02:00
Pelle Nilsson
98b2583f68
Inventory and codewords now both generic collections.
...
Some new code to handle tags with arguments.
2013-06-09 00:55:24 +02:00
Pelle Nilsson
d10177efd6
Fixed bugs in importing and exporting map file with sections not in gamebook.
2013-06-08 20:50:08 +02:00
Pelle Nilsson
d886b26210
ff
2013-06-08 20:24:03 +02:00
Pelle Nilsson
9cb51eddae
Allow player to follow a link if not having a specific codeword.
2013-06-08 20:18:05 +02:00
Pelle Nilsson
4d1728cda8
Allow player to follow a link if not carrying a specific item.
2013-06-08 20:13:30 +02:00
Pelle Nilsson
af2a459cc9
Items and codewords.
...
Gamebooks are now quite playable in HTML version. Planning to
redesign inventory and codewords to be handled the same way, to allow
adding other things that behave in a similar way to a gamebook (eg
skills or spells). Also some obvious things are missing like being
able to check if NOT having an item or codeword, or preventing a player
from finding the same item twice (if redirected back to a section where
it can be found after dropping it).
2013-06-07 23:18:33 +02:00
Pelle Nilsson
ddf6ed3046
Codewords set in HTML.
...
Feel bad about how copy-pasted codewords are from items.
Ideally the same code would handle both. Not now though.
2013-06-07 22:03:28 +02:00
Pelle Nilsson
ac0b806c73
Can pick up items in HTML version. First stubs for HTML Javascript.
...
Ugly hack warning. Too tired to design.
2013-06-07 21:41:52 +02:00
Pelle Nilsson
1bf91169c5
Codewords and items.
...
Need to think more about design and code is not pretty.
2013-06-07 00:14:06 +02:00
Pelle Nilsson
f723ee0a9c
Text format brackets.
...
Switched to text mark-up even more similar to org-mode, also more
similar to typical wiki mark-up, removing python-style format from
sections (but not from the templates).
2013-06-05 00:19:57 +02:00
Pelle Nilsson
dd7b1281ca
todo
2013-06-04 22:39:46 +02:00
Pelle Nilsson
84243fafa8
Examples structure. New examples. Verification stub. Tags parsing.
2013-06-04 22:36:09 +02:00
Pelle Nilsson
5e187d3252
Improved LaTeX references.
...
Includes some ugly hacks like the empty sections to increase counter.
2013-06-04 22:32:03 +02:00
Pelle Nilsson
ad1bbe65ae
LaTeX with cross-references.
...
Seems to work, but following links in PDF brings you to the top
of the section below the heading, sometimes meaning that the
number is not visible on screen. Also section headings could
perhaps have better layout with less empty space above and below.
2013-06-04 00:57:45 +02:00
Pelle Nilsson
8a4a3401b4
Flag -t to add custom template dirs to override default templates.
2013-06-04 00:22:54 +02:00
Pelle Nilsson
8e1ac6353d
Export and import JSON mapping of section numbers.
...
Except if flag -M is given.
2013-06-03 23:46:11 +02:00
Pelle Nilsson
c17d00872b
Cleaned up output and templates handling a bit.
2013-06-03 22:19:06 +02:00
Pelle Nilsson
2dfd2dca24
todo
2013-06-03 22:08:07 +02:00
Pelle Nilsson
5d42472385
Use term section instead of paragraph.
...
Because it will become confusing later when there is support
for sections split up in several paragraphs otherwise.
2013-06-03 21:57:55 +02:00
Pelle Nilsson
bdc101a6db
Added simple HTML output support.
2013-05-29 00:01:17 +02:00
Pelle Nilsson
0bd449d1b2
Basic RTF output added.
2013-05-28 07:02:47 +02:00
Pelle Nilsson
3b551f74e7
Todo list updated and in better format.
2013-05-27 23:40:21 +02:00
Pelle Nilsson
4986b40cf0
Initial basic version of gamebook formatter.
...
Reused old paragraphs.py and test_paragraphs.py.
Implemented very basic output for Graphviz DOT and LaTeX files.
Basic plain-text debug output.
2013-05-27 23:33:36 +02:00