The Bloo Guide has a lot of links for you to help you choose your engine as well as other things.
There is no engine that allows you to make that kind of game right out the gate, except maybe Adrift, Adventure Creator and Quest, but they are really outdated engines for the most part. Not that it matters much if all you want to make is a text-based game.
More recent are Twine and Renpy, which give you a default interface if you don't want to bother with that, and let you tweak it relatively easily. Unity and Godot give you more flexibility for your interface and what gameplay mechanics you can actually create, but they require more coding than the previous ones to make it work.