Hi all!
I'm trying to trigger an ending from dialogue (I test the door, and, bizarrely, it opens this time.), but not sure how to do it.
Context: the player needs to have an item to be able to open a locked door that they were previously able to use, which then will prompt the 'I test the door' dialogue, then should end. Currently, with the end I have added, it triggers without needing the item. Would I need to do a modified version of the code below? or change something in the ending code?
thanks!