My IFComp 2019 entry. Release 3 is finished. Release 4 will be a maintenance release adding to the scoring-based storyline. Parent of Quite Queer Night Near.
the found-rhyme rules are a table name-based rulebook.
a room has a table name called rhyme-table. the rhyme-table of a room is usually (x).
this is the rhyme by room rule:
let rtn be rhyme-table of location of playr;
if rtn is empty, continue the action;
repeat running through rtn:
if (valid topic) ... (say what you need) (the rule succeeds)
the rhyme by object rules are a rulebook applying to a thing.
This part may be trickier, to use objects to go through things.
repeat with x running through touchable things:
if mistake-table of x is not empty-table:
abide by the mistake-checker rules for x;
the found-rhyme rules are a table name-based rulebook.
a room has a table name called rhyme-table. the rhyme-table of a room is usually (x).
this is the rhyme by room rule: let rtn be rhyme-table of location of playr; if rtn is empty, continue the action; repeat running through rtn: if (valid topic) ... (say what you need) (the rule succeeds)
the rhyme by object rules are a rulebook applying to a thing.
This part may be trickier, to use objects to go through things.
repeat with x running through touchable things: if mistake-table of x is not empty-table: abide by the mistake-checker rules for x;