Twine Version: 2.3.15
Story Format: SugarCube
I had a great time system working here a little bit ago, one that would simply cycle through $dayPart each time I used a gametime if statement. That gametime if statement still works, the number goes up by one each time it’s called up, but now for whatever reason it’s not translating the numerical value to the day specified:
Whenever I ask the StoryCaptions passage to print $gameTime it prints the number instead of what that number should mean (1-morning, 2-evening, etc.)
I know there is something small I’m doing wrong, but I can’t for the life of me figure it out. Any help would be greatly appreciated!
//this part is in the StoryInit passage.// <<set setup.dayPart = ["Morning", "Afternoon", "Evening", "Night"]>> <<set $gameTime = "2">> //this part is in the StoryCaption passage.// <<print 'Time of day: $gameTime'>> //it just says Time of day: 2//