If a player says "Inspect the rock," and then for their next move "pick it up," it'd be cool to retain the fact that they were talking about the rock previously and replace "it" with "rock". Possible solution:
Perhaps a new player state property - last_item_referenced. This should probably only be retained for 1 move unless they do reference it with "it"?
Lilt currently accounts for "pick up rock" but not "pick rock up," which is what would be generated by replacing "it" with "rock" in "pick it up." :\ This may be a rare case, though, since most other conversions would be fine: "take it" => "take rock", "drop it" => "drop rock"...
If a player says "Inspect the rock," and then for their next move "pick it up," it'd be cool to retain the fact that they were talking about the rock previously and replace "it" with "rock". Possible solution:
last_item_referenced
. This should probably only be retained for 1 move unless they do reference it with "it"?