You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to get a quick tutorial on .twg and .twl files? Either in this issue, or preferably as an addition to the documentation? Some details that would be welcome are:
The basic syntax
A how-to for creating a new game domain and/or adding some simple objects and actions
Commands that need to be run in order to (re)parse twg and twl files.
As a motivation for this issue: I have been evaluating the cooking domain in MarcCote/TextWorld:human_study and there appears to be a bug in that domain where prepare meal does not actually change the underlying game facts (and the last_action, etc. of the game state are evaluated to None) even though the meal ends up in the inventory and one can win the game. I can't figure out how to update the twl files in order to fix that problem. (I think meal.twl is the culprit, but running tw-make after updating the file does not seem to be changing anything)
The text was updated successfully, but these errors were encountered:
Hi @banerjs, we are actually in the middle of adding documentation about that. See PR #186. The documentation is still in pretty rough shape, feel free to comment on that PR directly.
Would it be possible to get a quick tutorial on
.twg
and.twl
files? Either in this issue, or preferably as an addition to the documentation? Some details that would be welcome are:twg
andtwl
files.As a motivation for this issue: I have been evaluating the cooking domain in MarcCote/TextWorld:human_study and there appears to be a bug in that domain where
prepare meal
does not actually change the underlying game facts (and thelast_action
, etc. of the game state are evaluated toNone
) even though the meal ends up in the inventory and one can win the game. I can't figure out how to update thetwl
files in order to fix that problem. (I thinkmeal.twl
is the culprit, but runningtw-make
after updating the file does not seem to be changing anything)The text was updated successfully, but these errors were encountered: