I have just recently revisited Quest for years and I had been having a lot of trouble with creating a text adventure. Since creating a gamebook is seemingly easier I have 2 questions regarding adding things from text adventures into a gamebook:
Anything helps, thank you!
Text adventures do not have pages, it have rooms, it is of course possible to change or hide the word "room" into pages, but I find this a weird practice, also I do not know how, so reply again if you want someone else to teach you how
Solution for 1.
Create an object, name it apple, add a verb "eat",
MoveObject (player, room1)
Upon reaching room1, at enter room script, type
msg ("You are poisoned and your body seems to have shrunk greatly")
Solution for 2.
For gamebook, turn all page type into script+text, so you can start interacting with money, heath and score
on page 1, type
game.money = 5
game.health = 5
game.score = 5
If player buys a roller coaster, go to page 2 and on that page type
game.money = game.money - 5000
msg ("Money "+game.money)
Additionally, you want to reward or punish the player, you have to customize the following code
on the same page, at page 2, type
if (game.money<0){
msg ("You have bankrupted")
}
There is no stop game function in gamebook, so you simply tell the player
msg ("The end")
Do not add new destination pages to make this a true ending, or perhaps, you want the player to restart the game,
then simply add a page named "restart", move the player to page1, the player's money, health and score will reset to 5 as per that page's code