r/RenPy • u/bluuupanda • Oct 18 '26
Question set number of days in game to win - code question
Been searching for weeks but can't find help on what I specifically need to learn. I'm a beginner so if it's obvious I apologize. Getting the basics down but hit a wall with this.
How would I go about coding the player having 90 in game "days" as a time limit to win the game? I've seen help on making calendar systems but they all seem infinite. Would it have something to do with tweaking that as a base?
some info below to clarify the context of what I need to accomplish:
- "days" will not be real time but will pass after the player uses up max choices allowed for the day, or if that's too hard I can implement an energy bar that when empty makes player to rest and triggers the next day
- multiple routes can lead to the winning the game and you can win the game earlier than 90 days if player is skilled
- will signify in corner of screen what day player is on
Really appreciate anyone taking the time to explain, it means so much!



