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

16 commits

Author SHA1 Message Date
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 18c76ce0b0 Xor (ex-haselse) and Auto modifiers on secrion references. 2013-06-10 21:21:13 +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 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 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 8a4a3401b4 Flag -t to add custom template dirs to override default templates. 2013-06-04 00:22:54 +02:00
Pelle Nilsson 18f313666e Do not crash when there are gaps in section numbering. 2013-06-03 23:45:31 +02:00
Pelle Nilsson c17d00872b Cleaned up output and templates handling a bit. 2013-06-03 22:19:06 +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 84bf6baea5 Renamed templates directory to templates, because that is what it contains. 2013-06-03 21:48:01 +02:00
Pelle Nilsson 707d5692cb Switched from JSON to simpler format.
Code is a bit of a mess at the moment. Might have to generate some JSON
later anyway to make it easier to make playable game in browser.
2013-05-30 00:18:05 +02:00
Pelle Nilsson f01eb0a3f3 Fixed bugs in DOT and RTF output. 2013-05-29 00:00:30 +02:00
Pelle Nilsson f0ad6ea094 Halfway through refactoring output formats.
The idea now is that only simple plain-text template files are used
for all formats, rather than having a Python class for each one.
At least for the currently supported formats this seems to work very well.
Need to clean up and remove all the reduntant class definitions sometime.
2013-05-28 23:31:09 +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