Well I don't really want to repeat myself, but you can read in my Post-Mortem about how I built a system for my 'Choose your own Adventure'-Game which lets me expand the stories pretty effortlessly. If you have any questions, please ask. Also @dzamani a link to the game you are talking about would be great!
https://andidebob.itch.io/your-story/devlog/93788/making-of-your-story
Here you go!
https://itch.io/jam/gmtk-2019/rate/462077
I will read your postmortem, thanks!