As I've gotten older, my patience for sandbox games, whether RPGM or Ren'Py or whatever, has diminished drastically. Twine is probably the least objectionable for those types of games.
Of course, if a system simply doesn't work for a game, you could write your own, like that dev who made Total Seduction(?) and Lust Warlock. Think he wrote the entire game engine for it. Or the Kronos Time Titan dev, who did the same.
Not really a fan of Unity or Unreal, since my usual machine is a Surface Pro, and sucks hot air after a few minutes with any unity/unreal game, if they even run ok.