So I am trying to fiddle around with Hybrid Choices by AW Freyr in order to improve my NPC interactions. The source text I have written seems to do pretty much what I want it to do, but as I play through it, I realize that there’s ways upon which it can be improved, I just can’t figure out what they are specifically. I was wondering if someone might be willing to take a look at what I have currently and can help me with pointing out what might be confusing for a player or what could use some changing.
Here is what I have at the moment:
"npc interactions" Include Hybrid Choices by Aw Freyr. Include Basic Screen Effects by Emily Short. Talking to is an action applying to one visible thing. Understand "talk to [someone]" as talking to. The current interlocutor is a person that varies. A person has an object called the recent page. The recent page is usually nothing. Carry out talking to a person (called the guy): now the current interlocutor is the guy; switch to cyoa at the recent page of the guy. Before selecting an end-page page: now the recent page of the current interlocutor is the current page. A page-toggle rule: populate choice list with LeaveConvo. [populate choice list with unread choices.] LeaveConvo is an end-page page. The cdesc is "[italic type]End Conversation[roman type]". choice-priority rule for LeaveConvo: rule succeeds with result 200. Instead of talking to Aerataehd: switch to cyoa at Aera1. Aera1 is a page. The description of Aera1 is "Hey bud, how's it going?" Aera2a is a page. The cdesc is "Fine." The description is "Well that's good. As for me, I'm not so fine." It is for Aera1. It flips to Aera3. Aera2b is a page. The cdesc is "Great!" The description is "Awesome! As for me, I've been in better shape." It is for Aera1. It flips to Aera3. Aera2c is a page. The cdesc is "Meh." The description is "Ah, well, I'm sorry to hear that. I'm not doin' so hot, either." It is for Aera1. It flips to Aera3. Aera3 is a page. The description is "Oh man, I should NOT have gone on that last quest." Aera4 is a page. The cdesc is "Who are you?" It is for Aera3 and Aera5. The description is "'The name's [aerataehd],' he says, 'but you can call me AERA. Everyone else does, since my full name is too hard to spell.' And with that, he gives a sly little nod to some invisible wall." Aera5 is a page. The cdesc is "What quest?" It is for Aera3 and Aera4. It is cancelled by Aera6. The description is "'The Journey to Slay the Gods. In case you didn't read the intro, the gods used to be pretty chill, all taking good care of us humans and whatnot, but over time they've let the power go to their heads. Now they've become greedy and selfish, and must be stopped." A page-output rule for Aera5: now the player is carrying the shield; say "You have gained [shield]!" Aera6 is a page. The cdesc is "How do I stop them?" It is for Aera5 and Aera7. The description is "Well, to defeat the gods, you'll have to get stronger first. Fight some battles, help some people, solve some puzzles. You know, that sort of thing. Then, when you're ready, find the Canyx and she can take you to the Ivory Tower where the gods live. You'll have to tame her first, though. Here, take my shield to get you started." A person can be AeraInformedQuest. A page-toggle rule for Aera6: now the player is AeraInformedQuest. Aera7 is a page. The cdesc is "Can I help you somehow?" It is for Aera5 and Aera6. The description is "Yeah, you could, actually. There's this girl, Mantroche. Find her, and show her that you know me. Then she'll come help me." A person can be AeraInformedMantro. A page-toggle rule for Aera7: now the player is AeraInformedMantro. Living Forest is a room. Place is east of Living Forest. The SHIELD is a thing. The printed name of the shield is "AERATAEHD'S SHIELD". AERATAEHD is a man in Living Forest. Understand "aera" as Aerataehd. Aerataehd carries the shield. The recent page of Aerataehd is Aera1.
One thing I know I want to change (but I can’t seem to figure out an appropriate way to do it) is that I want a choice to remain available until the player chooses it. So for example, if the player chooses to first ask “What quest?” and then follows through with the thread about the quest, the choice “Who are you?” will remain available until the point it’s chosen. Although maybe this is asking too much, considering if the player asks “Who are you?” in the middle of the quest thread (as opposed to at the end), the choices could get really muddled, especially in similar but more complicated scenarios. This is the first time I’ve ever tried actual NPC interaction, so it’s quite possible I’m way in over my head here.
[Title updated by Mod]