Daily Bonus




This script provides a simple “daily bonus” mechanic, allowing players to receive bonus rewards once a day. It assumes that you can get a bonus on a new day, but you can write your conditions to use different periods if you want.


It is intended for offline games and uses the player’s system time to reward bonuses and to determine whether rewards can be rewarded.


In order to provide developers with more control over the rewards, script calls are provided. It is up to the developer to determine how to set it up for their game.


Get it at Hime Works!
lol I was literally just scripting this feature ^_^
It seems you magically answer questions I ask in my head. =P

Edit:

I figured I would ask. Could the player possibly cheat if they switch their computer's clock?
if it uses the computers time to check the day then yes they could cheat.

Edit:

I looked, it does, they could. answer = yes.
Yes, that is documented in the script in the notes section.


But I don't see that as an issue.
i love the idea of daily things is there any way to kinda morph this into a daily quest? can only get the quest once a day and wont reset till 12 am the next day?
That's pretty much how it works.
i must not be getting it anyway u can show me an example of how i would set up a quest with this ?..... 

edit..

let me mess around with it my self  the time script i was using was messing it up i think ..... i took that out and the example you gave in the main post started working so 😀 hopefully i can figure it out i think its better that way anyways 😀  ill post later if i fail lol...

edit 2..

ok i hate that if you have a saved game ........that a new script wont work lmao ..... im dumb ok well i got it to work even changed my date to see if it would regive me the quest and it did 😀 i have 2 items from the same quest REALLY happy hahah thanks so much for this script your amazing and all that 😀

Original thread: https://forums.rpgmakerweb.com/threads/daily-bonus.25085/