Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Cookie Cutter MZ - Day/Night System

A project template for RPG Maker MZ. Copy/paste it into your own project to utilize a custom evented day/night system! · By Caz

Adding and Subtracting Time

A topic by adeerinnara created Jun 07, 2023 Views: 120 Replies: 2
Viewing posts 1 to 3

Hello!

Thank you so much for this plug-in! I'm running into a bit of trouble when I set events to move time forward. Currently I have a tent that allows characters to rest for up to 12 hours. When the time goes beyond hour 24, it just sorta adds to that. The result is they'll wake up to hour 32:00 of the same day. Below is what I have in the event editor.

Ideally, when I have them rest past midnight, the clock would reset to the appropriate time and the next day would begin. Any help would be appreciated! I'm definitely missing something, but I'm not sure what!


Developer

Hey there! 

You should be able to set a conditional branch that checks if the new Hours variable goes over 24. If it does, remove -24 from the variable and it should be the correct  time. Hope that helps! :D 

That did the trick! I also copy/pasted everything regarding the progression of days/weeks/season in Priscilla's event. Everything works great. Thank you so much!