Objects in Gamebooks

drednort
08 Oct 2015, 22:01
Hi,

I've only just started using Quest. Years ago, I used to write 'choose your own adventure' style gamebooks for fun and I have a bunch of them I want to convert, but I'm wondering if Quest has the ability built into it to give a player an object, and then later on test whether or not they have that object.

For example, in one of my gamebooks, quite a few things that happen later in the book depend on whether or not the character put on their glasses early in the game. When I wrote the book, I had a lot of branches that read "If you have your glasses turn to page 44, if you don't have your glasses turn to page 53". I could simply replicate that, but it occurs to me that technology might actually allow me to simply set some sort of flag, or assign some sort of object, that would handle that all automatically.

Note, I am using Gamebook mode specifically - I may move onto more advanced IF text adventure style games later on, but my immediate priority is to work on my gamebooks.

Thanks for any help people can offer.

HegemonKhan
09 Oct 2015, 04:50
unfortunately, in the Gamebook, there's only these Objects:

game
player
page (the pages)

So you can't create any normal object Objects like an 'npc' or a 'table', all you got is the 'game' and 'player' Objects, to give Attributes to, and the Scripting only with the 'page' Objects ( Page Type: [script] or [text~page + script ~ whatever] ), and also the 'game' Object's 'start' Script ( http://docs.textadventures.co.uk/quest/ ... ation.html ).

Pixie did make a hybrid text adventure + gamebook (a text adventure, having all of its features, that feels like a game book):

viewtopic.php?f=18&t=4772

-------

otherwise, unfortunately, the gamebook is just more limited than the text adventure.

Pertex
09 Oct 2015, 06:39
Sure you can do it with attributes. Here is an example game file