Payday day
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- DragonKnight
- Regular
- Posts: 51
- Joined: Sun Nov 12, 2017 10:16 am
- Projects: Taboo Hearts
- Contact:
Payday day
I need a code that monitors the day. For example: I get paid every 7 day, I need a code that monitors and does that automatically. I know I asking alot.
Currently working on Taboo Hearts
Currently working on Forbidden
Currently working on Forbidden
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Payday day
This depends highly on how your game advances 'days'
Sharing some code is necessary.
Sharing some code is necessary.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- DragonKnight
- Regular
- Posts: 51
- Joined: Sun Nov 12, 2017 10:16 am
- Projects: Taboo Hearts
- Contact:
Re: Payday day
Code: Select all
"The next day"
$ day_gone_by +=1
"Day = %(day_gone_by)d"
Currently working on Taboo Hearts
Currently working on Forbidden
Currently working on Forbidden
-
- Regular
- Posts: 78
- Joined: Thu Feb 08, 2018 7:57 am
- Contact:
Re: Payday day
Code: Select all
if day_gone_by % 7 == 0:
"Today is payday."
- DragonKnight
- Regular
- Posts: 51
- Joined: Sun Nov 12, 2017 10:16 am
- Projects: Taboo Hearts
- Contact:
Who is online
Users browsing this forum: Google [Bot]