1
0
Fork 0
mirror of https://github.com/Oreolek/gamebookformat.git synced 2024-06-17 07:30:43 +03:00
Commit graph

47 commits

Author SHA1 Message Date
Pelle Nilsson f1d2f933ba Cost tag that sets a price on something found. 2013-06-24 01:14:30 +02:00
Pelle Nilsson 17257b7970 Removed counter names from html and default templates.
It didn't work for writing some things, even though often correct.
2013-06-24 00:00:00 +02:00
Pelle Nilsson 834dd92358 Todo entries for some things needed for wh13. 2013-06-21 00:00:10 +02:00
Pelle Nilsson 123617ea75 todo 2013-06-19 00:09:16 +02:00
Pelle Nilsson 9f9e613d4d HTML output now playable with JavaScript disabled or missing js file. 2013-06-18 22:59:13 +02:00
Pelle Nilsson 25fb3ec60c Checking counters to enable or disable HTML links. 2013-06-18 22:41:50 +02:00
Pelle Nilsson 4cfcc4888f Counters. 2013-06-18 22:21:40 +02:00
Pelle Nilsson e404e877ac Testing and fixing include only tag feature. 2013-06-18 20:38:32 +02:00
Pelle Nilsson b14a676a31 todo 2013-06-16 22:34:59 +02:00
Pelle Nilsson 1d9ed7d7b7 Save and restore HTML game. 2013-06-16 21:18:28 +02:00
Pelle Nilsson 01b7cc63f9 todo 2013-06-14 23:36:59 +02:00
Pelle Nilsson 155c0ab2f3 Fixed some problems with make clean and expectedcheck. 2013-06-14 00:24:33 +02:00
Pelle Nilsson ca4b8389a8 Checking generated examples against saved expected outputs. 2013-06-13 23:21:34 +02:00
Pelle Nilsson 9831aae42a Optional seed to get predictable shuffling of sections (for tests). 2013-06-13 23:07:36 +02:00
Pelle Nilsson df76c64e7f Random link selection. Stylesheet fixes for links. Some fixes with hiding/showing. 2013-06-12 00:16:21 +02:00
Pelle Nilsson f60a650598 More formatting options. 2013-06-11 21:59:39 +02:00
Pelle Nilsson bd4631553d todo 2013-06-11 00:09:02 +02:00
Pelle Nilsson 0c0a3f7afd Basic quoting of different output formats.
Need to be improved and also add strict filtering later.
2013-06-11 00:02:29 +02:00
Pelle Nilsson 02f6459acf Book config option for max section number to use.
Not sure how useful it is since you can always force one section to have the
max number you want instead.
Anyway also added filling up with dummy sections to make shuffled numbers
on sections in the correct range from 1 to max.
2013-06-10 23:06:37 +02:00
Pelle Nilsson 3421ba7aaa Gamebook configuration (title and author for now). 2013-06-10 22:50:06 +02:00
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