Chimerror Productions

Quoll Work Thread, 2024-11-18 #2 - 2024-11-18 14:53

Tags: blog gamedev inform7 interactive fiction programming quoll testing text adventures writing

The tests have finished running after about exactly two hours, and I have figured out why I wrote my Farewell Responses with that pattern, and it actually has to do with the Node-Termination Responses!

When an NPC is in a closed conversation node, there are Node-Termination Responses that run when the Playerr commands Ada to SAY GOODBYE or travel away. In most cases, these responses prevent the action from occurring, but early on in the Zeroth Tutorial before the Playerr and Ada have decided if they want the tutorial or just to get right to the exercise, I actually do let Ada wander off from it.

But this means that both the Node-Termination Response and the Farewell Response run:

> nw
"Now don't y'all forget about picking between the TUTORIAL, a fully skunktaur-guided tour of Chronomancy, and just getting the EXERCISE!" Glitch says, as I walk off...

"Ah, back to it, it seems. Bye-bye! You know where to look if you have more questions or want to chat more." Glitch says, focusing back on other concerns.

The Time-Cursor
The black void of the Time-Cursor stretches out around me. In this room, time in the current time chunk has temporarily stopped, allowing me to possibly go IN to the Reckoning Room within Funge Space to begin coding, DOWN to accept the current changes to the reality and advance to the next time chunk, or UP to restart the current chunk of time.

I can also go SOUTHEAST to Redmond Living Room and return to the surrounding reality, restarting time.

Unless, of course, I prevent the Farewell Response from writing anything by checking for conversed-this-turn first, which was exactly what I feared might be an anti-pattern. It seems unlikely that I will have future Node-Termination Responses that allow the Playerr to do this, but it’s not exactly an anti-pattern, as much as working around my non-standard use of the Node-Termination Responses.

What would probably be best to do is modify how things work so Node-Termination Responses are not followed up by Farewell Responses if the action continues, but that feels like a lot of work to massage Eric Eve’s code for what feels like a rare occurrence. Thus, I am accepting the current pattern. This means that I can just limit setting conversed-this-turn on explicit topic listings. Which I wanted to test, so I am going to make that change and then push the car back up the hill to run them all again.

Which is perfect because it’s time for therapy!

Jaycie “chimerror” Mitchell