Chimerror Productions

Quoll Work Thread, 2024-12-09 #3 - 2024-12-09 21:04

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

And that issue is fixed! I can go back to what I was working on, but I do think explaining why it happened may be fun!

Basically, my assumption had been that trying to inscribe (or expunge) in the Reckoning Room would have been caught by this clause in my Before inscribing rule:

if the location is not in Funge Space:
    instead say "I can only inscribe sigils in Funge Space.";

(I have removed some taffification Text Substitutions in the code blocks in this post just so it’s easier to read.)

Funge Space in the code is a Region, basically a way to group Rooms together, but in general when it’s referred to in the text, I am referring specifically to the Alpha-Sigil and Dynamic Rooms that are named “Funge Space Cell (X, Y)”. However, the Funge Space Region also includes the Reckoning Room! No doubt I did this because I figured I wanted to be able to write rules that applied in all of the Funge Space Region and wanted to include the Reckoning Room.

I could move it out to a different Region, but it was easy enough to add a specific clause to catch it:

otherwise if the location is Reckoning Room:
    instead say "While the Reckoning Room is technically in Funge Space, I can't inscribe sigils here.";

Most of the effort went into fixing my tests, which was good because I also realized that I had never made a specific test of trying to inscribe or expunge in the Between the Funge Cells Room, which worked fine. The other part was expanding the taff-speak test for these responses, and then adjusting the tests for the RNG pull changes that introduced.

At least it was an easy fix!

Jaycie “chimerror” Mitchell