Closed vishaljain3991 closed 5 years ago
I'm not sure if that's the case here but it might be that something else in the world is changing (e.g. NPCs). If that's the case you wouldn't necessarily see any difference in the output of the look command. I may try to combine world_changed() with other clues like the output of look and inventory. That said it wouldn't be bulletproof but i think there's nothing much else we can do at the moment.
@MarcCote hmm yeah I glanced through the code and there doesn't seem to be anything that could be changed with code. I think the world keeps changing (NPCs) even though the output of look
and inventory
remains the same. This might be this game's quirk! :(
Sorry for late reply. I've pushed an update the world change detection for Reverb that should fix this problem.
@vishaljain3991 - I believe this issue has been addressed. Please reopen if it's still a problem.
I was trying to use
env.world_changed()
for the gameReverberations
. But, it returnsTrue
everytime even when the command really didn't lead to state change. Sample script:Output:
Is it an issue with the game or code? I assumed that the code would work for all the supported games in the suite.