Sleeping until morning using Mog TimeSystem, need help

● ARCHIVED · READ-ONLY
Started by Snarkyfork 5 posts View original ↗
  1. I am trying to setup an inn that lets you sleep until morning and/or night using the Moghunter TimeSystem plugin. There are event switches for morning and night and plugin commands for forwarding time 1 day, I'm just not sure how to set it all up.
  2. Can you explain a bit more of exactly what you want to do so I can give you the best answer possible?

    Do you want the character to sleep for a specific number of hours or to wake up at a very specific time depending on whether they sleep during the day or night?

    Also, can you please link the plugin that you are using?

    Thank you.
  3. Untitled-1.png Here is the plugin: https://atelierrgss.wordpress.com/rmv-time-system/

    I am more or less trying to set it up to work like the inn's in dragon quest IX where you can choose to sleep until morning or night. All I need is a simple example (like just sleeping until dawn) and I can take it from there. The Plugin has a "script" that runs that forwards the number of days by one and that works fine but there is a control switch that affects what time of day it is (morning, noon, evening, night, etc) and when I add the control switch (to sleep till 6am) to the sleep option at the inn it doesn't work properly and just causes all of the lights that are timed to go off at dawn to turn off, otherwise leaving the clock the same.

    Edit: I am looking through the Mog_TimeSystem.js script and what I am trying to do might not be possible (fast forwarding to a specific hour rather than just forwarding time by a set number of hours) but a new game starts at a specific hour by default (noon - 12pm) and you can change that in the plugin parameters and the .js file itself so it seems like there should be some way of doing it.
  4. @Snarkyfork I would need to take more time to look at the plugin, which I am unable to do right now. Maybe I can get to it later today.

    Can you not use:
    Code:
    $gameSystem.set_hour (x)

    On the page you linked, this is a plugin command to set an absolute value.

    If this is the case, you would just use a selection at the inn asking what time the player wishes to sleep until, and then change the date to that value.
  5. Hey that worked and was what I was looking for... I've had too much coffee and not enough sleep. Thanks!