Getting around to finalising the paper for my thesis, which naturally means i’m instead procrastinating by adding polish on my game, instead of writing down documentation and doing “work”.
Now, i vaguely understand the ability to iterate through a table in inform, as well as the declaration of new actions. What i don’t see how to merge, is creating a new action, namely praying, and then iterating through the table of divinities and finally delivering the prayer line.
Prayingtox is an action applying to one thing. Understand "pray to [something]" as prayingtox. Carry out prayingtox: if the topic understood is a topic listed in the Table of Prayerlines: say "You take a moment to recall your mother's teachings. [line break] [line entry]"; otherwise: say "You don't remember a prayer for that divinity." Understand "pray" as a mistake ("You murmur a small prayer to a minor divinity").
Now the table of prayerlines is the typical, Table Decleration, Subject, response, with subject being “god” and response being “line”.
This is most likely included somewhere, but i can’t fathom where since i closed all of my working tabs as soon as i hit the deadline for the springthing… Which naturally, i came to regret a short month later.