2013-06-24 02:14:30 +03:00
|
|
|
* TODO [52/75] [69%]
|
2013-05-28 00:33:36 +03:00
|
|
|
- [X] Debug output
|
|
|
|
- [X] DOT output
|
2013-05-28 00:40:21 +03:00
|
|
|
- [X] LaTeX output
|
2013-05-29 01:01:17 +03:00
|
|
|
- [X] RTF output
|
|
|
|
- [X] HTML output
|
2013-06-03 23:19:06 +03:00
|
|
|
- [X] Split out template hanlding into separate class from output
|
|
|
|
- [X] Inject Output dependencies
|
2013-06-04 00:46:11 +03:00
|
|
|
- [X] Save section-number mapping and reuse automatically
|
2013-06-04 01:22:54 +03:00
|
|
|
- [X] Add support for custom document templates.
|
2013-05-28 00:40:21 +03:00
|
|
|
Fixed names and/or command-line options.
|
2013-06-04 01:57:45 +03:00
|
|
|
- [X] Add section links in LaTeX output.
|
2013-06-04 23:32:03 +03:00
|
|
|
- [X] Prettier LaTeX output
|
|
|
|
Look at how some existing gamebooks are formatted.
|
2013-06-07 01:14:06 +03:00
|
|
|
- [X] Parse wiki-style tags used to mark up sections
|
|
|
|
- [X] New text formatting style for section references
|
2013-06-07 22:41:52 +03:00
|
|
|
- [X] Inventory pick up items
|
2013-06-07 23:03:28 +03:00
|
|
|
- [X] Codewords set
|
2013-06-08 00:18:33 +03:00
|
|
|
- [X] Check if has inventory item
|
|
|
|
- [X] Check if has codeword
|
|
|
|
- [X] Remove item from inventory (forced by instructions)
|
2013-06-08 21:13:30 +03:00
|
|
|
- [X] Enable link if not having an item
|
2013-06-08 21:18:05 +03:00
|
|
|
- [X] Enable link if not having a codeword
|
2013-06-08 21:24:03 +03:00
|
|
|
- [X] Make sure dropped items can not be picked up again
|
2013-06-08 21:50:08 +03:00
|
|
|
- [X] Fix problem with map file from other book sometimes crashing formatter
|
|
|
|
- [X] Keys from formatted book should be added to map file, not replace it
|
2013-06-09 01:55:24 +03:00
|
|
|
- [X] Make inventory and codewords generic
|
|
|
|
They are the same, sort of, and it might be good to be able to
|
|
|
|
add other similar entities as well, like skills or spells or whatever.
|
2013-06-10 20:13:45 +03:00
|
|
|
- [X] Otherwise/else handling for has.
|
2013-06-10 22:21:13 +03:00
|
|
|
- [X] Redesign otherwise/else to use xor tag on section reference.
|
|
|
|
- [X] Disable all links after finding an auto link (that is enabled).
|
2013-06-10 23:50:06 +03:00
|
|
|
- [X] Default templates. (templates/default?)
|
|
|
|
- [X] Book option to set title
|
|
|
|
- [X] Book option to set author
|
2013-06-11 00:06:37 +03:00
|
|
|
- [X] Book option to set max section number to use
|
2013-06-11 01:02:19 +03:00
|
|
|
- [X] Quote strings to not break formatting.
|
2013-06-10 22:43:03 +03:00
|
|
|
- [X] Include other templates from a template.
|
2013-06-11 22:59:39 +03:00
|
|
|
- [X] Template for book introduction (including rules etc)
|
2013-06-09 01:55:24 +03:00
|
|
|
Sections with some markup (has number 0?) are added as chapters
|
|
|
|
of introduction, otherwise formatted identical to other sections.
|
2013-06-11 22:59:39 +03:00
|
|
|
- [X] Inserting images
|
|
|
|
- [X] HTML hide intro sections with link to display again
|
|
|
|
- [X] Only accept specific characters in section names
|
2013-06-11 01:02:19 +03:00
|
|
|
eg [a-z][a-z_0-9]+
|
2013-06-12 01:16:21 +03:00
|
|
|
- [X] Random pick of link to follow from a section.
|
2013-06-14 00:07:36 +03:00
|
|
|
- [X] Possibility to make predictable random numbers and shuffling for testing
|
2013-06-14 00:21:34 +03:00
|
|
|
- [X] Test generate examples and compare to expected output in all formats
|
2013-06-16 22:18:28 +03:00
|
|
|
- [X] Unit tests (finally...)
|
|
|
|
- [X] Save game (ie player) state
|
|
|
|
- [X] Load game (ie player) state
|
2013-06-18 21:38:32 +03:00
|
|
|
- [X] Flag to select what tag(s) to include (eg for demo/preview/short...)
|
2013-06-15 00:36:59 +03:00
|
|
|
Allow sections with same name as long as only one is included.
|
|
|
|
Add book config for what section to use for references to excluded sections
|
|
|
|
(eg links to outside of demo version can lead to section explaining that)
|
2013-06-18 23:21:29 +03:00
|
|
|
- [X] Counters (life, money, whatever) create and set
|
2013-06-09 01:55:24 +03:00
|
|
|
count tag to declare new counter, text in tag is display name
|
|
|
|
optional argument sets the starting value of the tag
|
2013-06-09 02:04:02 +03:00
|
|
|
display somewhere on page (in HTML output)
|
2013-06-18 23:21:29 +03:00
|
|
|
- [X] Counters increase/decrease
|
2013-06-18 23:41:50 +03:00
|
|
|
- [X] Counters check
|
2013-06-18 23:59:13 +03:00
|
|
|
- [X] Make sure HTML output works with javascript disabled
|
2013-06-14 01:24:33 +03:00
|
|
|
and in inferior browsers
|
2013-06-24 00:58:48 +03:00
|
|
|
- [X] Make sure counters start at 0 (not 1).
|
|
|
|
- [X] Remove the counter names from counter-tags output (and templates).
|
2013-06-24 02:14:30 +03:00
|
|
|
- [X] Buy (optionally decrease a counter to add something to a collection)
|
2013-06-19 01:09:16 +03:00
|
|
|
buy tag to specify what can be bought, eg [buy item]sword[/buy]
|
|
|
|
followed by cost tag to specify what it will cost, eg [cost gold]3[/cost]
|
2013-06-24 02:14:30 +03:00
|
|
|
Implemented by adding cost to the old found tag (put cost tag after it).
|
|
|
|
Might reconsider and make explicit buy tag for clarity?
|
2013-06-11 01:09:02 +03:00
|
|
|
- [ ] Sell (optionally increase a counter to drop something from a collection)
|
2013-06-19 01:09:16 +03:00
|
|
|
sell tag to specify what can be bought, eg [sell item]sword[/sell]
|
|
|
|
followed by cost tag to specify what it will cost, eg [cost gold]2[/cost]
|
2013-06-24 02:14:30 +03:00
|
|
|
Might want to wait with this and add normal drop function first?
|
|
|
|
- [ ] Trade decrease on counter to increase another counter.
|
2013-06-19 01:09:16 +03:00
|
|
|
- [ ] Pick a specific number of things from those found in a(n intro) section
|
|
|
|
Used to pick up one or more of something found, or before starting.
|
|
|
|
Create counter and set to how many are allowed to be picked.
|
|
|
|
Add buy (and cost) tags for what can be taken.
|
|
|
|
Need to make sure it is rendered in a good way (might need more tags).
|
|
|
|
Set max of the counter used to 0 and never allow navigation while
|
|
|
|
some counter is above its max.
|
|
|
|
Without setting the max player can decide to pick up fewer (or none) which
|
|
|
|
might of course also be ok at times.
|
|
|
|
This will also work for picking eg starting skills.
|
2013-06-15 00:36:59 +03:00
|
|
|
- [ ] Subtract from counter when following link (implies has at least that)
|
2013-06-19 01:09:16 +03:00
|
|
|
This is the cost tag again, when it immediately follows a reference.
|
2013-06-15 00:36:59 +03:00
|
|
|
- [ ] Add keyword when following link
|
2013-06-19 01:09:16 +03:00
|
|
|
This is a new tag that follows a reference similar to a cost tag.
|
|
|
|
- [ ] Use points to buy values for counters
|
|
|
|
Eg to buy starting values for some attributes in introsection.
|
|
|
|
Create a counter in that introsection, set to some value.
|
|
|
|
Use cost tag following inc tag to set price for increasing a counter.
|
|
|
|
Set max for points to 0.
|
|
|
|
Do not allow navigation until all points are spent (ie never allows
|
|
|
|
following links while a counter is above its max value).
|
|
|
|
The same mechanism can of course be used in-game at any section to
|
|
|
|
allow the player to buy increases in different counters.
|
|
|
|
- [ ] Tag to indicate HTML counter not to be visible outside of one section.
|
2013-06-16 22:18:28 +03:00
|
|
|
- [X] Javascript tests running in nodejs (no GUI)
|
2013-06-11 01:09:02 +03:00
|
|
|
The big scripts in html templates are split out into separate files
|
|
|
|
already (script.html and endscript.html). It should be possible to
|
|
|
|
test those from nodejs?
|
|
|
|
- [ ] Javascript GUI tests running in a browser
|
|
|
|
Preferably headless (in nodejs?). Run tests on gamebook html example(s).
|
2013-06-14 00:07:36 +03:00
|
|
|
- [ ] Combat
|
|
|
|
Tag to mark up the link to use to trigger next round.
|
|
|
|
Tag to mark up the enemy and its values.
|
|
|
|
Fixed set of combat abilities handled by javascript
|
|
|
|
(some way to configure ability names, but in that case javascript
|
|
|
|
for combat, in a separate file, must be overridden)
|
2013-06-10 22:21:13 +03:00
|
|
|
- [ ] Macros for input(quests etc etc). Generate one or more sections.
|
|
|
|
- [ ] Macros that can add content to sections (pre or post).
|
2013-06-09 02:04:02 +03:00
|
|
|
- [ ] Some way to insert character sheet in book introduction
|
2013-06-14 00:07:36 +03:00
|
|
|
- [ ] Some way to insert optional dice at bottom of pages for LaTeX
|
2013-06-09 02:04:02 +03:00
|
|
|
- [ ] Some way to insert optional random numbers table at end of book
|
2013-06-11 01:02:19 +03:00
|
|
|
- [ ] Defensive removal of any weird unicode not handled by quoting.
|
|
|
|
- [ ] Somewhat user-friendly error messages
|
2013-06-11 22:59:39 +03:00
|
|
|
- [ ] More formatting possibilities in sections
|
|
|
|
Look at existing gamebooks to get ideas.
|
2013-06-03 23:08:07 +03:00
|
|
|
- [ ] Document Gamebook format
|
2013-06-14 00:07:36 +03:00
|
|
|
- Basic gamebook (static, nothing about magic needed for dynamic; tutorial)
|
|
|
|
- Advanced (more complex layout options, but still static)
|
|
|
|
- Dynamic (markup needed to make playable (HTML) version)
|
|
|
|
- Standard output formats reference
|
|
|
|
- Customization (make new output formats or override existing)
|
2013-06-21 01:00:10 +03:00
|
|
|
- [ ] HTML with javascript active, do not make new URLs (that break history)
|
2013-06-07 22:41:52 +03:00
|
|
|
- [ ] HTML CSS
|
2013-05-28 00:40:21 +03:00
|
|
|
- [ ] Higher level text-language for Gamebooks
|
2013-06-11 22:59:39 +03:00
|
|
|
- [ ] BGG forum output (.bgg)
|
2013-06-16 23:34:59 +03:00
|
|
|
- [ ] Verify gamebook
|
|
|
|
- [ ] Dummy and fake sections (handle properly when verifying)
|
2013-06-11 22:59:39 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|