Pelle Nilsson
47a663e014
Added example gamebook to post to BGG.
...
Showing only the simplest of markup features, that should be enough
to do a paragraph-driven boardgame.
2013-06-25 23:18:54 +02:00
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
9280be8e38
Disabling everything after enabled auto link.
...
This means that if forced to follow instructions to turn to
some section, nothing else later in the current section will
have an effect (eg counters or collections), which should
be what the player expects.
2013-06-18 23:40:27 +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
fcf41b9869
Option to only include sections with specific tag.
2013-06-16 23:43:45 +02:00
Pelle Nilsson
3a75168d02
Split out html gamebook scripts (most of them) and style.
2013-06-16 22:12:53 +02:00
Pelle Nilsson
1fac366e19
Gamebook id to allow saved games from different games in browser.
...
Default id is basename of file without extension.
Override id by setting book config, as seen in format.gamebook.
2013-06-16 21:54:18 +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
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
54e03105e7
Default templates. Added plain text output.
...
Made default section template constisting of sectionheader and sectionbody.
Improved Makefile with more dependencies to rebuild examples when needed.
2013-06-10 22:15:54 +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
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
d886b26210
ff
2013-06-08 20:24:03 +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
ecf8a28384
Items examples grammar in text.
2013-06-08 15:57:21 +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
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
84243fafa8
Examples structure. New examples. Verification stub. Tags parsing.
2013-06-04 22:36:09 +02:00